[Serusers] Failure Route only on certain response codes

Alex Mack amack at fhm.edu
Wed May 25 15:08:07 CEST 2005


Hi!

Try something like

if (status =~ "486")
    {
    }
else
    {
    };

in your failure_route block.

Alex Mack


Martin Koenig schrieb:

> Hello all,
>
> is it possible to limit the scale of t_on_failure / failure_route[x] 
> to certain SIP response codes?
>
> In the concrete example, I would like to exclude certain Response 
> Codes (mainly 486) from trying at a second location.
>
> With best regards,
> Martin
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>




More information about the sr-users mailing list