[OpenSIPS-Users] New module: registrant
Ovidiu Sas
osas at voipembedded.com
Fri Mar 11 17:10:24 CET 2011
Each AOR should be checked once during a timer interval.
When the timer interval is configured, an internal timer interval is
computed by dividing the configured timer interval over the number of
hash tables.
For large number of hash tables and a small timer interval, more then
one hash tables needs to be checked (this is not implemented yet).
For example, if you have a hash_size set to 3 it means that you have 8
hash tables.
If the timer interval is set to 15, then the internal timer will be
set to 1 second (15/8=1) and every second a hash table will be checked
(in round robin order).
For a large number of registrations, it is better to use a hash_size
that will lead to very few AORs inside the same hash table.
Hash-es are computed over AOR.
Regards,
Ovidiu Sas
On Fri, Mar 11, 2011 at 12:17 AM, Andrew Pogrebennyk
<andrew.pogrebennyk at portaone.com> wrote:
> Ovidiu,
> great news! This is exactly what I've been looking for. But I'm not sure,
> does timer_interval affect the distribution of registration load in time or
> it affects only re-register? In what units if the hash_size given, do you
> have any examples e.g. how big hash_size we need to distribute in time (a
> few seconds apart) 10, 100 and 1000 registrations?
> Thank you.
>
> On 11.03.2011 07:13, Ovidiu Sas wrote:
>>
>> Hello all,
>>
>> There is a new module available for opensips: registrant.
>> This module allows opensips to register itself on a remote registrar
>> server.
>> For more info, check the README file:
>> http://www.opensips.org/html/docs/modules/devel/registrant.html
>>
>>
>> Regards,
>> Ovidiu Sas
>
> --
> Sincerely,
> Andrew Pogrebennyk
>
More information about the Users
mailing list