On Sun, 28 Jun 2015, Ludovic Gasc wrote:

It's interesting because from my point of view, I prefer to use '=>', because, to me, '=' is for config files. The dialplan is a programming language, not a config file.

The only language I'm familiar with (I'm primarily a 'c' guy) that uses '=>' is PHP. In PHP, '=>' is used with associative arrays.

I tend to think of a dialplan as a group of one dimensional linear arrays with the name of the array being the context concatenated with the exten so for me, a simple assignment makes sense.

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwa...@sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to