[Serusers] Backup GW
Amozurrutia Jesus
jamozurrutia at mcmtelecom.com.mx
Mon Dec 20 21:02:12 CET 2004
You can set the timeout with the timer parameters for the TM module:
modparam("tm", "retr_timer1p1", 1)
modparam("tm", "retr_timer1p2", 2)
modparam("tm", "retr_timer1p3", 4)
modparam("tm", "retr_timer2", 4)
modparam("tm", "fr_timer", 18)
modparam("tm", "fr_inv_timer", 60)
check http://www.iptel.org/ser/doc/modules/html/tm.html
<http://www.iptel.org/ser/doc/modules/html/tm.html> for details.
Regards,
Jesus
-----Original Message-----
From: Vitor Brasileiro [mailto:vitorbrasileiromail at yahoo.com.br]
Sent: Sábado, 18 de Diciembre de 2004 12:58 p.m.
To: Amozurrutia Jesus; serusers at lists.iptel.org
Subject: Re: [Serusers] Backup GW
Thank u Jesus, it worked.
Now, I have another question. How I set the failure timeout. It's taking too
much tike to send to the secondary GW.
Vitor Brasileiro
----- Original Message -----
From: Amozurrutia Jesus <mailto:jamozurrutia at mcmtelecom.com.mx>
To: Vitor Brasileiro <mailto:vitorbrasileiromail at yahoo.com.br> ;
serusers at lists.iptel.org <mailto:serusers at lists.iptel.org>
Sent: Friday, December 17, 2004 10:38 PM
Subject: RE: [Serusers] Backup GW
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 at yahoo.com.br]
Sent: Viernes, 17 de Diciembre de 2004 06:27 p.m.
To: serusers at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20041220/132ed257/attachment.htm>
More information about the sr-users
mailing list