[asterisk-users] Why write your dialplan using Lua?

José Pablo Méndez Soto auxcri at gmail.com
Fri Jan 6 13:33:07 CST 2012


I wouldn't jump to a whole different language just to have an elegant
script plan. There must be another reason why Lua is being so widely
implemented than elegance and execution performance.

Anyone?

 *José Pablo Méndez
*********


On Fri, Jan 6, 2012 at 1:12 PM, Steve Edwards <asterisk.org at sedwards.com>wrote:

> On Fri, 6 Jan 2012, José Pablo Méndez Soto wrote:
>
>  My question is, what is the benefit of using Lua?
>>
>
> I've never used Lua, but I also have a curiosity about it.
>
> A couple of years ago, I wrote my first dialplan in AEL. Some bits were
> clumsy, minor syntax errors caused major parts of my dialplan to disappear,
> and I discovered a bunch of bugs*.
>
> But, many parts were elegant. Bits that would have been an ugly mess in
> 'plain dialplan' seemed obvious and clear.
>
> I would expect a similar experience with Lua. Kind of an opposite '1984**'
> experience.
>
> If you take the jump, please post your experiences.
>
> *) This was in 1.2 so there was no benefit in reporting the bugs.
>
> **) In Orwell's 1984, the 'scope' of language was reduced to eliminate the
> ability to express subversive thoughts.
>
> --
> Thanks in advance,
> ------------------------------**------------------------------**
> -------------
> Steve Edwards       sedwards at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120106/212495c0/attachment.htm>


More information about the asterisk-users mailing list