[Asterisk-Dev] specification for exten => lines anywhere ?

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue May 17 15:01:09 MST 2005


On Tuesday 17 May 2005 13:24, Luigi Rizzo wrote:
> is there a specification anywhere for the acceptable syntax of
>
> 	exten => ....
>
> lines in config files ?
>
> I am trying to figure out from the code in pbx/pbx_config.c
> but it is tricky. And the current parser does a lot of things
> that are not exactly intuitive, such as arbitrarily dropping
> text (both whitespace and non-whitespace), not checking
> for values out of range, etc. (see description below).
>
> So, is there a specification anywhere that we can include
> in a comment in the parser and compare the code against ?

There's a vim syntax file on the Wiki.

-- 
Tilghman



More information about the asterisk-dev mailing list