[Serusers] Loadbalancing for interco

Michal Matyska michal at iptel.org
Thu Sep 13 20:19:57 CEST 2007


Latest SER should fallback to other known destinations if the first does
not reply within timer B/F based on multiple SRV and/or A/AAA records.
If not, please open bug on tracker.iptel.org :-)

Michal

On Thu, 2007-09-13 at 11:15 -0700, Jai Rangi wrote:
> This is very elegant, 
> However we are using lcr module for load distribution. The advantage
> is that if one server is not available/busy then ser will send call to
> another. 
> 
> -Jai
> www.bingotelecom.com
> 
> 
> On 9/13/07, Michal Matyska <michal at iptel.org> wrote:
>         This BIND zone file should do the job. Requests relayed to
>         abc.com
>         should go 60% to gw1 and 40% to gw2.
>         
>         
>         $TTL    86400
>         $ORIGIN abc.com.
>         @               IN SOA   ns.abc.com root (
>                                                 1               ;
>         serial 
>                                                 1H              ;
>         refresh
>                                                 10M             ;
>         retry
>                                                 1W              ;
>         expiry
>                                                 1D )            ;
>         minimum 
>         
>         ; service               rr      pri     weight  port    target
>         _sip._udp               SRV     10      60      5060    gw1
>                                 SRV     10      40      5060    gw2
>         
>         gw1    A       192.168.1.1
>         gw2    A       192.168.1.2
>         
>         
>         On Thu, 2007-09-13 at 17:54 +0200, inge wrote:
>         > Hi,
>         >
>         > Can we used DNS SRV for outgoing call ? Can you show me an
>         example ? 
>         >
>         > Thanks.
>         >
>         > Sincerly,
>         >
>         > Adrien .L
>         >
>         > Le jeudi 13 septembre 2007 à 10:16 -0400, Michal Matyska a
>         écrit :
>         > > Hi,
>         > >
>         > > in SER 2.0 you can use DNS system with properly configured
>         SRV records 
>         > > to achieve load balancing with non-equal distribution.
>         > >
>         > > Michal
>         > >
>         > > On Thu, 2007-09-13 at 11:02 +0200, inge wrote:
>         > > > Hi all,
>         > > >
>         > > > Is there a way to have something like a loadbalancing on
>         SER for
>         > > > outgoing calls ?
>         > > >
>         > > > I want to distribute the calls between two gateways.
>         Ideally, with a
>         > > > coefficient (ie. 60% for the first and 40% for the
>         second).
>         > > >
>         > > > Thanks for your support.
>         > > >
>         > > > Adrien .L
>         > > >
>         > > > _______________________________________________ 
>         > > > Serusers mailing list
>         > > > Serusers at lists.iptel.org
>         > > > http://lists.iptel.org/mailman/listinfo/serusers
>         > >
>         
>         _______________________________________________
>         Serusers mailing list
>         Serusers at lists.iptel.org
>         http://lists.iptel.org/mailman/listinfo/serusers
> 




More information about the sr-users mailing list