[Asterisk-Dev] CVS Head-- Dialplan disappeared! -- RESOLUTION
Brian West
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.
/b
---
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,
>> 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
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list