[Asterisk-Users] Bug in asterisk "static" realtime?
Olle E Johansson
oej at edvina.net
Tue Jun 20 04:42:20 MST 2006
20 jun 2006 kl. 13.33 skrev Andrea Spadaccini:
> Hi folks,
> I used the ast2sql.pl script (found on www.voip-info.org) to put into
> the database a simple sip.conf. Among other entries, you could find:
>
> [general]
> context=sip-in ;incoming sip calls
>
> Well, the script put the comment into the database entry, and asterisk
> started complaining about a 'sip-in ;incoming sip calls' context not
> found in extensions.conf.
>
> IMHO the comments should be stripped off by asterisk itself!!
> It should be easy to modify the script, but the problem would remain.
>
> Should it be filed as an Asterisk bug?
A semicolon in realtime separates multiple values, it is *not* used as a
comment. So you should fix your script.
regards,
/Olle
---
* Olle E. Johansson - oej at edvina.net
* Asterisk Training http://edvina.net/training/
More information about the asterisk-users
mailing list