hi all
I try to build failure route to another backup b2bua or pstn gw,it seems can work after timeout ,but unfortunate,the openser send a 408 messeage to phone before failure route.,config like that,have any general config to failover or loadbalance for me.Many many thx.
route[4] {
log(1, "b2bua"); rewritehost("192.168.1.204"); forward("192.168.1.204:80"); t_on_failure("2"); t_relay(); }
failure_route[2] { log(1, "b2bua"); rewritehost("192.168.1.226"); forward("192.168.1.226:5060"); t_relay(); }
Do no use forward(), just rewritehost and afterwards t_on_failure and t_relay.
Samuel.
2006/12/29, liu york york@goldentek.biz:
hi all
I try to build failure route to another backup b2bua or pstn gw,it seems can work after timeout ,but unfortunate,the openser send a 408 messeage to phone before failure route.,config like that,have any general config to failover or loadbalance for me.Many many thx.
route[4] {
log(1, "b2bua"); rewritehost("192.168.1.204");
---> #forward("192.168.1.204:80");
t_on_failure("2"); t_relay(); }
failure_route[2] { log(1, "b2bua"); rewritehost("192.168.1.226");
---> #forward("192.168.1.226:5060");
t_relay();
}
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users