Depending on what you wish to do this is a way of forwarding the failure to
another host. Make sure this is the failure route you are declaring within
your subroute

failure_route[1] { if (t_was_cancelled()) { exit; } #
(t_check_status("477|401|403")) {
rewritehostport("ip:port");
t_relay();
exit; }
On Jun 3, 2015 11:27 PM, "Podrigal, Aron" <[email protected]> wrote:

> Hi,
>
> When I receive a 407 / 401 / 403 response from my carrier, I want to
> handle that as a failure and trigger the failure route without fowarding
> the 40x reply upstream. How would I do that?
>
> --
> Aron Podrigal
> -
> //Be happy :-)
>
> _______________________________________________
> 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

Reply via email to