[OpenSER-Users] srv load-balancing

Klaus Darilion klaus.mailinglists at pernau.at
Thu Jun 5 14:59:07 CEST 2008



Bogdan-Andrei Iancu schrieb:
> Hi Stanisław,
> 
> OpenSER it is not ignoring the weights - the received records are 
> ordered by weight. The tricky question is about records with the same 
> weight - which to be used? openser is right now using the first returned 
> by the DNS server.

AFAIK bind returns the records in random order. Thus, using bind as name 
server would be a workaround.

regars
klaus

> 
> Regards,
> Bogdan
> 
> Stanisław Pitucha wrote:
>> ----- "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
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.openser.org
>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>
>>   
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list