[OpenSIPS-Users] Dispacher and Drouting question

Volkan Oransoy voransoy at gmail.com
Mon Oct 13 18:43:00 CEST 2014


Thank you Bogdan,

Setting $rd did the job.

Regards,

2014-10-13 10:25 GMT+03:00 Bogdan-Andrei Iancu <bogdan at opensips.org>:

>  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 Developerhttp://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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20141013/357a105a/attachment.htm>


More information about the Users mailing list