<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Tilghman Lesher wrote:
<blockquote cite="mid:200911291822.57678.tlesher@digium.com" type="cite">
  <pre wrap="">On Sunday 29 November 2009 17:03:04 Leif Neland wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:mthayeb@gmail.com">mthayeb@gmail.com</a> skrev:
    </pre>
    <blockquote type="cite">
      <pre wrap="">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
      </pre>
    </blockquote>
    <pre wrap="">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
    </pre>
  </blockquote>
  <pre wrap=""><!---->
There is no maximum.  However, if you have a typo in there somewhere, the
entire file will fail to load.

  </pre>
</blockquote>
Not sure that is correct.<br>
I added some garbage, and while I got warnings, the rest of the users
loaded correctly<br>
&nbsp;WARNING[79673]: config.c:1124 process_text_line: No '=' (equal sign)
in line 104 of /usr/local/etc/asterisk/sip.conf<br>
&nbsp;WARNING[79673]: chan_sip.c:22771 reload_config: Unknown type
'friendly' for '36949608' in sip.conf<br>
<br>
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.<br>
<br>
Leif<br>
<br>
</body>
</html>