Am 17.12.2010 14:19, schrieb Ricardo Martinez:
Hello. I’m trying to obtain the source IP address from a reply message.
AFAIK the failure_route is executed in the context of the request. If you want to analyze a reply you have to do it in a reply_route.
regards Klaus
This is part of the configuration file : failure_route[1] { if (t_was_cancelled()) { xlog("L_INFO", "[$ci] $rm:$ru t_was_cancelled in failure_route\n"); exit; } if ( ($T_rpl($si) != "10.0.0.4") || ($T_rpl($si) != "10.0.0.3") ) { if ( t_check_status("48[0-9]") ) { xlog("L_INFO","[$ci] 48X Received\n"); exit; } } … But it seems not to be working. Is there a way to do what I want? Thanks in advance, Regards, Ricardo.- ** _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users