<div dir="ltr">But is this working yet? I see it is in the tree (1.3.2) but didn't compile, I haven't tried, but will it?<br><br>David<br><br><div class="gmail_quote">On Fri, Aug 29, 2008 at 6:08 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Angel,<br>
<div class="Ih2E3d"><br>
Angel Carpintero wrote:<br>
> El vie, 29-08-2008 a las 10:39 +0300, Bogdan-Andrei Iancu escribió:<br>
><br>
>> Hi,<br>
>><br>
>> Following some discussions on the #opensips IRC channel about the LCR<br>
>> module, I will like to push the topic further.<br>
>><br>
>><br>
>> First, what is the status with the LCR module:<br>
>><br>
>> 1) technical limitations<br>
>> a) linear search through rules - quite slow<br>
>> b) cannot handle large numbers of rules - limited number (in C<br>
>> code) of rules and gateways<br>
>> c) no inbound processing (only outbound)<br>
>> d) difficult to enhanced as it has a bit twisted design - the<br>
>> module was originally designed for DB-only search and later caching was<br>
>> added<br>
>><br>
><br>
> Bogdan , i'm agree about LCR limitations ... so as i already told you i<br>
> moved my setup to carrierroute , although failover with load balance is<br>
> not good enough on carrierroute.<br>
><br>
><br>
</div>This is another topic that needs to be discussed - there are modules<br>
that share almost 70% of functionality - like lcr and carrierroute - the<br>
idea will be to merge all of them at the end.<br>
<div class="Ih2E3d">>> 2) management issues - there is no maintainer for the module, so<br>
>> development for this module may stale.<br>
>><br>
>><br>
>><br>
>> Solution:<br>
>><br>
>> We have a similar module (named Dynamic Routing - drouting) that<br>
>> provides the same LCR functionality (based on rules and GW) and even more.<br>
>> Technical adds:<br>
>><br>
><br>
> droute module looks that was introduced ( maybe by error in<br>
> openser-1.3.2 )<br>
><br>
> <a href="http://www.kamailio.net/pub/kamailio/1.3.2/src/" target="_blank">http://www.kamailio.net/pub/kamailio/1.3.2/src/</a><br>
><br>
> is the same drouting module are you talking about ?<br>
><br>
><br>
</div>yes, that was my bad!! :D - when i generated the package for openser<br>
1.3.2, I forgot to remove the module from my SVN tree :P.....<br>
<div class="Ih2E3d">>> - internal data organized as a search tree - very fast to search<br>
>> through ( O(log(n)) instead of O(n) )<br>
>> - unlimited number of rules and gateways (running on a production<br>
>> setup with 200K rules and with no search penalties)<br>
>> - rule matching may include time intervals and recurrence (when the<br>
>> rule is valid)<br>
>> - a rule may point to set of GWs to be used for (1) sequential<br>
>> selection, (2) random selection , (3) weight selection<br>
>> - inbound processing - prefix and strip for calls originated by the GWs<br>
>><br>
>><br>
><br>
> Looks good !<br>
><br>
> What about adding new rules in realtime ? ( carrierroute is pretty slow<br>
> to reload routes "cr reload" ).<br>
><br>
</div>Drouting is taking ~3 seconds to reload 200K of rules.<br>
<div class="Ih2E3d">><br>
>> This module is almost 3 years old and stable - it is what we use in our<br>
>> production setups.<br>
>> Also, the module already has a nice web interface for provisioning (it<br>
>> will released in the next month, along with an OpenSIPs Control Panel<br>
>> Web interface)<br>
>> Of course, we (Voice System) will take care and maintain the module. We<br>
>> will also reduce our burn of maintaining the module privately ;)<br>
>><br>
>><br>
>> So, the idea is to replace the LCR module with the DRouting module to:<br>
>> 1) technical advantages<br>
>> 2) maintenance advantages<br>
>><br>
>><br>
>><br>
>> I will like to know the opinion of this (if you find it a good or bad<br>
>> idea), especially from the people using LCR module. Of course I will<br>
>> prepare a more details documentation of this module for a better<br>
>> understanding.<br>
>><br>
><br>
> I'm excited with this "new" module , so you have my support to do some<br>
> testing and give some ideas.<br>
><br>
</div>The module is really stable - the feedback is more about functionality,<br>
but first I need to post the detailed description.<br>
<div><div></div><div class="Wj3C7c"><br>
Regards,<br>
Bogdan<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>