[OpenSIPS-Users] uac_registrant preferences

Alexander Mustafin mustafin.aleksandr at gmail.com
Tue Mar 15 13:09:12 CET 2016


Hi there!

Perhaps I don’t understand logic of this module, but I have strange problem:

version: opensips 1.11.6-tls (x86_64/linux)

I have 223 entries in my db. Previously, preferences of module was like these:
modparam("uac_registrant", "hash_size", 2)
modparam("uac_registrant", "db_url", "SQL_URL")
modparam("uac_registrant", "table_name", "REGISTRANT_TABLE")
modparam("uac_registrant", "timer_interval", 100)

All works fine, but I had awful CPU load, almost 100%. Then, I changed it to

modparam("uac_registrant", "hash_size", 5)
modparam("uac_registrant", "db_url", "SQL_URL")
modparam("uac_registrant", "table_name", "REGISTRANT_TABLE")
modparam("uac_registrant", "timer_interval", 640)

Processor feels good now, but I experience problem with registrations:
opensipsctl fifo reg_list |grep AOR|wc -l
166

Opensips shows only 166 entries in memory, so, I have no idea where is my other registrations.

How to tie hash_size, timer_interval and value in expiry column?  And why I see this information for some of my numbers, where registration_t_out less than last_register_sent:

state:: REGISTERED_STATE
       last_register_sent:: Tue Mar 15 06:25:38 2016
       registration_t_out:: Tue Mar 15 06:18:57 2016
       registrar:: sip:s <sip:s>ome.registrar
       binding:: sip:77777777777 at 89.88.87.866:5070 <sip:77777777777 at 89.88.87.866:5070>


Thanks in advance!

Best regards,
Alexander Mustafin
mustafin.aleksandr at gmail.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160315/642e83bd/attachment.htm>


More information about the Users mailing list