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@207.160.xxx.xxx:5060");
t_relay(); break; }; }
**********************************************************
_________________________________________________________________ Try the new Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM...
append_branch() only supports constants in 0.9.x g-)
Suraj Kumar wrote:
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@207.160.xxx.xxx:5060");
t_relay(); break;
}; }
Try the new Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&FORM...
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers