[asterisk-dev] Parsing in Asterisk

Matthew Nicholson mnicholson at digium.com
Tue Mar 13 16:26:06 MST 2007


Tilghman Lesher wrote:
>
> [...]
>
> This leads me to my first conclusion:  we need to remove the transparent
> translation, preferring the comma as our argument delimiter.  I am aware
> that this is a significant change and it will require a flag day,
> because all applications currently parse on the pipe character.
> However, I believe that this is necessary to allow Asterisk dialplans to
> become more complex without sacrificing readability.
> 
> [...]

Personally, I like the '|' better than the ','.  Mostly because that is
what I am used to using, but it seems that dropping the ',' would be
easier on Asterisk applications than dropping the '|' would be.  I also
find dialplans using the '|' easier to read (although ', ' as can be
commonly found in C is also easy to read, but currently apps will use
that ' ' instead of ignoring it).

-- 
Matthew Nicholson
Digium


More information about the asterisk-dev mailing list