Please could someone advise good manual for using lua for asterisk dialplan. There is not much docu about it. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110218/42642787/attachment.htm>
The only specific you need to do in extensions.lua is create a table to put your extensions in like, Extension{ } Else all will be LUA code and all asterisk applications can be called as app.application_name. Regards, Faisal Hanif From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Borin Sent: Friday, February 18, 2011 4:33 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] lua -asterisk manual Please could someone advise good manual for using lua for asterisk dialplan. There is not much docu about it. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110218/997eb02d/attachment.htm>
Pls could you share some lua config which contains mysql quires On Fri, Feb 18, 2011 at 3:38 PM, Faisal Hanif <faisal at vopium.com> wrote:> The only specific you need to do in extensions.lua is create a table to put > your extensions in like, > > > > Extension{ > > > > > > } > > > > Else all will be LUA code and all asterisk applications can be called as > app.application_name. > > > > Regards, > > > > Faisal Hanif > > > > *From:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *On Behalf Of *Borin > *Sent:* Friday, February 18, 2011 4:33 PM > *To:* asterisk-users at lists.digium.com > *Subject:* [asterisk-users] lua -asterisk manual > > > > Please could someone advise good manual for using lua for asterisk > dialplan. There is not much docu about it. > > -- > _____________________________________________________________________ > -- 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/20110218/cd39351b/attachment.htm>
Hi again Could anybody pls share some thoughts about dialplan in lua? I mean some say it works faster...I have tested my dialplan with pbx_config (extensions.conf) , then with ael. Dialplan is not very complex (just some selects in mysql, then based on select some if, then...etc) I think it is just easier to use some script language to program it. Does anyone know any drawbacks for using lua? Does it work stable with asterisk? And for example why lua and not just ael? Ael seams also being convenient. On Fri, Feb 18, 2011 at 3:51 PM, Borin <katerin.borin at gmail.com> wrote:> Pls could you share some lua config which contains mysql quires > > On Fri, Feb 18, 2011 at 3:38 PM, Faisal Hanif <faisal at vopium.com> wrote: > >> The only specific you need to do in extensions.lua is create a table to >> put your extensions in like, >> >> >> >> Extension{ >> >> >> >> >> >> } >> >> >> >> Else all will be LUA code and all asterisk applications can be called as >> app.application_name. >> >> >> >> Regards, >> >> >> >> Faisal Hanif >> >> >> >> *From:* asterisk-users-bounces at lists.digium.com [mailto: >> asterisk-users-bounces at lists.digium.com] *On Behalf Of *Borin >> *Sent:* Friday, February 18, 2011 4:33 PM >> *To:* asterisk-users at lists.digium.com >> *Subject:* [asterisk-users] lua -asterisk manual >> >> >> >> Please could someone advise good manual for using lua for asterisk >> dialplan. There is not much docu about it. >> >> -- >> _____________________________________________________________________ >> -- 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/20110222/be617f2e/attachment.htm>