[asterisk-users] Asterisk ports

Steve Edwards asterisk.org at sedwards.com
Thu Dec 2 19:06:56 CST 2010


On Thu, 2 Dec 2010, Gary Kuznitz  wrote:

> You get extra points today.  I think you found where the problem is. It 
> found /etc/asterisk/sip.conf Warning parse error: No category context 
> for line 1 of /etc/asterisk/sip.conf Unable to load config sip.conf.
>
> This is what is in sip.conf.
> [authentication]
>
> [general]
> context = default
> allowoverlap = no
> bindport = 5060
> bindaddr = 0.0.0.0
> srvlookup = yes
> limitonpeers = yes
> allow = all
> allowguest=yes

Running out of clues here :)

I can load the above fine in my 1.2 instance. Any chance the file was 
edited on Windows and needs to be 'unixfied?'

What does 'hexdump -C sip.conf' look like?

Does commenting (';') out line 1 change anything?

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list