[asterisk-users] Max how many users in sip.conf

Leif Neland leifn at neland.dk
Mon Nov 30 04:07:23 CST 2009


Tilghman Lesher wrote:
> On Sunday 29 November 2009 17:03:04 Leif Neland wrote:
>   
>> mthayeb at gmail.com skrev:
>>     
>>> Anyone know how many users i can record in sip.conf. (NO..NO i am not
>>> discussing the simultaneous sip calls).
>>> I tried with 50k users in sip.conf, but the sip module didn't reload.
>>> tried with few hundred of users and it works.  any idea what is the
>>> limit in sip.conf
>>>       
>> Try a binary search
>> in 15 tries you have the exact value.
>>
>> Start with 32768 entries.
>> If it works, add 32768/2 =16384.
>> If not, subtract 16384, giving 16384.
>>
>> Continue, adding/subtracting
>> 8192,4096.2048,1024,512,256,128,64,32,16.8,4,2,1
>>     
>
> There is no maximum.  However, if you have a typo in there somewhere, the
> entire file will fail to load.
>
>   
Not sure that is correct.
I added some garbage, and while I got warnings, the rest of the users 
loaded correctly
 WARNING[79673]: config.c:1124 process_text_line: No '=' (equal sign) in 
line 104 of /usr/local/etc/asterisk/sip.conf
 WARNING[79673]: chan_sip.c:22771 reload_config: Unknown type 'friendly' 
for '36949608' in sip.conf

Line numbers on all errors would be nice, but perhaps the second line is 
syntactly correct, and is parsed by config.c, but when chan_sip tries to 
use it, and see it gives no meaning, it does not know where the info 
came from in the first place.

Leif

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091130/b7046825/attachment-0001.htm 


More information about the asterisk-users mailing list