Hi Even,
Inside failure route, you can use t_check_status("regexp") to verify the response code:
if (t_check_status("4[0-9][0-9]")) { ... .. }
Best regards, Marian
Evan Borgstrom wrote:
Has anyone found a way to selectively respond to failures using failure_route's? For instance I want to only run the actions in the failure_route if the code that triggered the failure route is certain 400 or 500 error codes. Since the sip msg passed into the failure_route is the initial message that triggered the failure (usually the INVITE) using methods from the textops module don't work.
Thanks, Evan
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers