Thank you Bogdan,

Setting $rd did the job.

Regards,

2014-10-13 10:25 GMT+03:00 Bogdan-Andrei Iancu <bog...@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@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to