[Asterisk-Dev] CVS Head-- Dialplan disappeared! -- RESOLUTION
James Golovich
james at wwnet.net
Mon Jun 27 15:53:27 MST 2005
On Mon, 27 Jun 2005, Steve Murphy wrote:
> Here I answer my question:
>
> QUESTION_ If there's a syntax error in the extensions.conf file, won't
> it tell you?
>
> ANSWER: No!
There should be some kind of message printed in the logs, but sometimes
its not exactly obvious. The message you probably got was "No category
context for line X of extensions.conf"
I uncovered the fact that it drops everything when working on a memory
leak related to config parsing. There needs to be a decision made about
how we handle these cases. Do we assume that if theres a bad line that
the whole file is junk? Should we just ignore invalid lines? Maybe
process everything up to the error and ignore the rest?
I'm not sure what the right answer is.
James
More information about the asterisk-dev
mailing list