[Asterisk-Dev] CVS Head-- Dialplan disappeared! -- RESOLUTION
brian.west at mac.com
Mon Jun 27 17:26:50 MST 2005
Their should but if the first line in the config is botched up..
because the same can happen in any conf file.. it will not load it.
Anakin: “You’re either with me, or you’re my enemy.”
Obi-Wan: “Only a Sith could be an absolutist.”
On Jun 27, 2005, at 5:53 PM, James Golovich wrote:
> 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,
>> it tell you?
>> ANSWER: No!
> There should be some kind of message printed in the logs, but
> its not exactly obvious. The message you probably got was "No
> 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
> how we handle these cases. Do we assume that if theres a bad line
> 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.
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> To UNSUBSCRIBE or update options visit:
More information about the asterisk-dev