yes,the failure route works,but the client phone still receive 408 messeage. I try to use if(t_check_status(408|483)) drop; at failure route ,but faild :(
======= 2006-12-29 16:28:57 您在来信中写道:=======
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
= = = = = = = = = = = = = = = = = = = =
致 礼!
york york@goldentek.biz 2006-12-30