Do no use forward(), just rewritehost and afterwards t_on_failure and t_relay.
Samuel.
2006/12/29, liu york <york(a)goldentek.biz>iz>:
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(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users