Andrea Spadaccini
2006-Jun-20 04:33 UTC
[Asterisk-Users] Bug in asterisk "static" realtime?
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? -- Andrea Spadaccini Multimedia Technologies Institute s.r.l.
Olle E Johansson
2006-Jun-20 04:42 UTC
[Asterisk-Users] Bug in asterisk "static" realtime?
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@edvina.net * Asterisk Training http://edvina.net/training/