[Serusers] Fail Over Route

Suraj Kumar suraj_1998 at hotmail.com
Thu Oct 12 15:52:02 CEST 2006


Hi All,

Any one does have done the failover route using the append_Branch ?

I was trying to send the calls to a different route if the primary gateway 
is down.
Here is what I had in my config, but not sure why the uri parameter is not 
accepted in the append_branch function as mentione below.


If I use a constant instead, it workd fine!


Thanks in advance for any suggestions.
Regards,
Sudhir

**********************************************************

failure_route[1] {
log (1, "*******************Failure route ********************");


        if (status=~"[5-6]0[0-9]") {
        rewritehostport ("207.160.xxx.xxx:5060");

       append_branch(uri);
#       append_branch("sip:33715619000116 at 207.160.xxx.xxx:5060");

        t_relay();
       break;
    };
}

**********************************************************

_________________________________________________________________
Try the new Live Search today!  
http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM=WLMTAG




More information about the sr-users mailing list