[OpenSER-Users] srv load-balancing

Stanisław Pitucha stanis at gradwell.net
Fri May 2 16:17:17 CEST 2008


----- "Sajith T S" <sajith at gmail.com> wrote:
> stanis at zimbra-1.gradwell.net wrote:
> 
> > and got 6 calls on asterisk-2 and none on asterisk-1. If I change
> > the order, all calls go to the first host on the list. Shouldn't
> > openser do load-balancing in this scenario? I don't use any options
> > in t_relay().
> 
> You should use openser dispatcher module for this.

Yes... I've just noticed in http://www.openser.org/pipermail/users/2007-October/013660.html that openser basically decided to go against SRV RFC and ignores weights. (RFC says that clients should sort and select from list of servers, not servers as B.A.I. suggested if I understood that correctly)

Anyways - about dispatcher: I couldn't find any description about it's behavior with call transfers / taking over. I understand that while I'm using callid-based hash there will be no problems with REFER, because call-id stays the same and each leg will go to the same server.
But what about INVITE + Replaces: ? I don't really see a way for it to work just with hashing. Has anyone tested this / has solution?

PS. sorry Sajith, I replied to you before by mistake

Thanks,
Stan




More information about the Users mailing list