[OpenSIPS-Users] Printing $si in failure route
    Răzvan Crainea 
    razvan at opensips.org
       
    Fri Jan  9 13:59:29 CET 2015
    
    
  
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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150109/f2a1c3cd/attachment.htm>
    
    
More information about the Users
mailing list