[OpenSIPS-Users] Dispacher and Drouting question

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Oct 13 09:25:16 CEST 2014


Hello Volkan,

The drouting module sets the GW directly into RURI, so you can get its 
IP from $rd.
The dispatcher module, depending on the function you use ( xx_dst() or 
xxx_domain() ) the GW may be set either in $dd, either in $rd.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 10.10.2014 14:33, Volkan Oransoy wrote:
> Hi,
>
> I am working on a special load balancing setup. For specific  $rU 
> values, I want to keep choosen gateway and use cached value for next 
> time. So that, for each destination, there will be a specific gateway. 
> But I failed at getting the chosen gw to an avp. I am trying to get 
> it, just before relay with $du but it returns null. How can load 
> chosen gw to an avp with dispacher and drouting?
>
> Thanks,
>
> /Volkan
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141013/35d822a0/attachment.htm>


More information about the Users mailing list