Hi, John!

In failure_route[] you process the request. Therefore the $si is the IP address of the request, not the reply. If you want to print the IP address of the replies, you have to print them in onreply_route[].

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 01/09/2015 02:26 PM, John Nash wrote:
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).

May be its something wrong I am doing which resulted this I just thought I will check with others.


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to