[OpenSIPS-Users] LCR, getting ID of the gateway

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Mar 9 10:25:59 CET 2010


Hi,

Just to be sure everybody talk about the same - the Dynamic Routing 
(drouting) module does support the GW attr feature, while the old LCR 
module does not.

So, as Brett said, the Drouting module automatically loads (from GW 
definition) the attr field whenever the GW is selected for usage.

Regards,
Bogdan

Brett Nemeroff wrote:
> I put the gwid of the gateway I into the attr col in dr_routing, then 
> add that column into the acc table. That meets the needs you described
>
> -Brett
>
>
>
>
> On Mar 6, 2010, at 6:04 AM, Oleg Burlacu <olegburlacu at gmail.com 
> <mailto:olegburlacu at gmail.com>> wrote:
>
>> The routing decision in based on prefix and preference.
>> But the idea is to put into accouning also the gateway id, not only 
>> the ip/port/transport combination (because there can be identical 
>> ip/port/transport).
>> I think already to assign multiple ip aliases on the gateway, 
>> and route the calls to different ips of the same gw. But it is not 
>> flexible.
>>  
>>  
>>
>>
>>  
>> On Sat, Mar 6, 2010 at 1:36 PM, Brett Nemeroff <brett at nemeroff.com 
>> <mailto:brett at nemeroff.com>> wrote:
>>
>>     What then would you like to make the routing decision based on?
>>
>>
>>     On Sat, Mar 6, 2010 at 2:34 AM, Oleg Burlacu
>>     <olegburlacu at gmail.com <mailto:olegburlacu at gmail.com>> wrote:
>>
>>         Hi all,
>>          
>>         Is there a method of getting inside the opensips config
>>         script one custom value for the gateway to which the call is
>>         routed? Not IP, port, transport - because they are identical
>>         in my situation.
>>          
>>          
>>         Thanks,
>>         Oleg
>>          
>>
>>         _______________________________________________
>>         Users mailing list
>>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list