[Serusers] Backup GW

Vitor Brasileiro vitorbrasileiromail at yahoo.com.br
Sat Dec 18 19:58:21 CET 2004


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 
  To: Vitor Brasileiro ; 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/20041218/bb7bc093/attachment.htm>


More information about the sr-users mailing list