[SR-Users] Match ip source of response into failure_route
inge
inge at legos.fr
Fri Jun 4 15:30:11 CEST 2010
Hi all,
I try to do something like this on my failure_route[1] :
if (t_check_status("503")) {
if (ip_src==A.B.C.D) {
...
}
}
The goal, is to prevent a 503 from a PSTN gateway and try another one
for terminating the call.
But, I realize that "src_ip" is the IP source of SIP Request.
What could be a possible way to match IP source of the 503 responses ?
Regards,
Adrien L.
More information about the sr-users
mailing list