<div dir="ltr">Thank you Bogdan,<div><br></div><div>Setting $rd did the job.</div><div><br></div><div>Regards,</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-13 10:25 GMT+03:00 Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div><tt>Hello Volkan,<br>
<br>
The drouting module sets the GW directly into RURI, so you can
get its IP from $rd.<br>
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.<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
On 10.10.2014 14:33, Volkan Oransoy wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi,
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>/Volkan</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>