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 <[email protected]> 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 > [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 > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
