[OpenSIPS-Users] Drop SIP 407 / 401 / 403 reply
Tito Cumpen
tito at xsvoce.com
Thu Jun 4 05:38:24 CEST 2015
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" <aronp at guaranteedplus.com> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150603/429d238d/attachment.htm>
More information about the Users
mailing list