<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><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 class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 10.10.2014 14:33, Volkan Oransoy wrote:<br>
</div>
<blockquote
cite="mid:CAM_EGOFeO7GKyiGyLXrz6CUSAbayk_YLYiJuHM7U1acYzM-MKw@mail.gmail.com"
type="cite">
<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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>