[asterisk-dev] (not so) new format for zapata.conf

Russell Bryant russell at digium.com
Wed Jan 17 09:35:33 MST 2007


Tzafrir Cohen wrote:
>> You can
>> differentiate them by using 'channel =>' in [channels], and 'channel ='
>> in named blocks.
> 
> Hmmm.. is it possible at all? After parsing I only get key and value,
> right? I don't think I'd like to break the current semantics all over
> Asterisk that '=' and '=>' are equivalent.

Yeah, you only have a key and value,  but you also know what context of 
the configuration you are currently traversing.  So, you're either 
looking in the special "channels" context, or one of the ones that a 
user introduced using this new format.


More information about the asterisk-dev mailing list