[Serusers] failure route

Paul Hazlett javarockx at gmail.com
Thu Oct 6 23:28:29 CEST 2005


In the failure route you need to call append_branch() after you change
the R-URI. Once you do this you should be able to just call t_relay().

Regards,
Paul

On 10/6/05, Jason Mohler <jmohler at dcivoice.com> wrote:
> Is there anyone that can help me with my following syntax?  I am
> basically trying to have all calls come in from an IP and if that IP
> fails for some reason,  it will roll to another IP.
>
> if (src_ip== xxx.xxx.xxx.xxx){
>     t_on_failure("1");
>     rewritehost("xxx.xxx.xxx.xxx");
> };
>
> route[1]{
>     rewritehost("xxx.xxx.xxx.xxx");
>     break;
>     t_relay();
> };
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>




More information about the sr-users mailing list