<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><tt>Hi, John!<br>
<br>
In failure_route[] you process the request. Therefore the $si is
the IP address of the request, not the reply.<br>
If you want to print the IP address of the replies, you have to
print them in onreply_route[].<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
On 01/09/2015 02:26 PM, John Nash wrote:<br>
</div>
<blockquote
cite="mid:CAA4rGPzdEiWh1g0jePCezU_oB_Jmgsjjx=dNPfkf=gxiABXd0A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>I just noticed something odd when I print $si to know
source IP of failed responses (In failure route) I think its
not printing correct address (It works as expected in main
routing block).<br>
<br>
</div>
May be its something wrong I am doing which resulted this I just
thought I will check with others. <br>
</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>