[sr-dev] Dispatcher "maxload" attribute

Olle E. Johansson oej at edvina.net
Sat Dec 13 08:02:39 CET 2014


On 12 Dec 2014, at 10:49, Daniel-Constantin Mierla <miconda at gmail.com> wrote:

> 
> On 11/12/14 16:29, Ovidiu Sas wrote:
>> Also 'weight' attribute is not fully documented.  There are missing
>> examples and details about how it works.
>> IIRC, the sum of all weights must be 100, otherwise strange things happens.
> 
> Can you give some examples of such strange things, because otherwise it
> is impossible to guess where to look for.
THe weight option is really not documented well. Maybe we should start
with documenting how it works. The source code has no comments and no
explanations. It does some randomizing and other cool stuff to perform its
magic - but can we please get an explanation?

/O
> 
> Daniel
> 
>> 
>> On Thu, Dec 11, 2014 at 10:18 AM, Olle E. Johansson <oej at edvina.net> wrote:
>>> On 11 Dec 2014, at 16:15, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
>>> 
>>>> Hello,
>>>> 
>>>> it is supposed to be the upper limit for call load distribution -- if
>>>> number of active calls gets to it, no new call should be sent there. If
>>>> not implemented, then I forgot about it.
>>> I think there's a risc that your latest statement is true. If so, this is a gentle
>>> reminder ;-)
>>> 
>>> /O
>>>> Cheers,
>>>> Daniel
>>>> 
>>>> On 11/12/14 15:41, Olle E. Johansson wrote:
>>>>> Hi!
>>>>> 
>>>>> In the source code for dispatcher there is parsing of a predefined attribute called "maxload".
>>>>> 
>>>>> It's not documented and I don't see it used anywhere in the source code. Only in output of
>>>>> attributes and debug code.
>>>>> 
>>>>> Anyone that knows more? Can we remove this unused attribute or is it planned for future glory?
>>>>> 
>>>>> /O
>>>>> _______________________________________________
>>>>> sr-dev mailing list
>>>>> sr-dev at lists.sip-router.org
>>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>>>> --
>>>> Daniel-Constantin Mierla
>>>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>>>> 
>>>> 
>>>> _______________________________________________
>>>> sr-dev mailing list
>>>> sr-dev at lists.sip-router.org
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>>> 
>>> _______________________________________________
>>> sr-dev mailing list
>>> sr-dev at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>> 
>> 
> 
> -- 
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> 
> 
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev




More information about the sr-dev mailing list