[OpenSIPS-Users] Printing $si in failure route

John Nash john.nash778 at gmail.com
Fri Jan 9 14:16:45 CET 2015


OK got the point. May be I should save some avp at the time of outgoing
requests and then check for that in failure route.

On Fri, Jan 9, 2015 at 6:29 PM, Răzvan Crainea <razvan at opensips.org> wrote:

>  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 Solutionswww.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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> 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/1e51e8ad/attachment.htm>


More information about the Users mailing list