I'm using something like this:
###################################################################### # Route to main Gateway ###################################################################### route[1] { rewritehost("Main.Gateway.IP.Address"); t_on_failure("1"); t_relay(); }
###################################################################### # Route to secondary Mex. PSTN Gateway ###################################################################### failure_route[1] { log(1,"Main Gw failed or is busy. Trying secondary.\n"); rewritehost("Second.Gateway.IP.Address"); append_branch(); t_relay(); }
Call will be routed to the second gateway if the first gateway is busy or down. Does anybody know a method for load balancong?
Regards, Jesus
-----Original Message----- From: Vitor Brasileiro [mailto:vitorbrasileiromail@yahoo.com.br] Sent: Viernes, 17 de Diciembre de 2004 06:27 p.m. To: serusers@lists.iptel.org Subject: [Serusers] Backup GW
Hi list,
My SER sends to a specific GW all the external calls, but I intend to have a secondary (backup) GW to terminate those calls would't be completed for some reason. Does nbody knows how?
Thanks, Vitor Brasileiro.