Gilles
2010-Jun-21 12:48 UTC
[asterisk-users] [AGI] What scripting language for embedded hardware?
Hello I'm learning how to work with Asterisk on an embedded system (MMU-less Blackfin processor, 64MB RAM and 256MB NAND), and was wondering what people use as scripting language to handle calls through the dialplan and AGI, considering the hardware limitations? Ideally, I'd rather use a rich language like PHP or Python, but can those be fit with even their common modules into such small hardware? I'm also thinking of Lua and modules, provided they can be included in the buildroot. Thank you for any feedback.
Gordon Henderson
2010-Jun-21 13:06 UTC
[asterisk-users] [AGI] What scripting language for embedded hardware?
On Mon, 21 Jun 2010, Gilles wrote:> Hello > > I'm learning how to work with Asterisk on an embedded system (MMU-less > Blackfin processor, 64MB RAM and 256MB NAND), and was wondering what > people use as scripting language to handle calls through the dialplan > and AGI, considering the hardware limitations? > > Ideally, I'd rather use a rich language like PHP or Python, but can > those be fit with even their common modules into such small hardware? > I'm also thinking of Lua and modules, provided they can be included in > the buildroot. > > Thank you for any feedback.You could always type asterisk blackfin into google and see what it suggests. Here, I'll save you the effort: http://www.rowetel.com/ucasterisk/ They use micro Perl. Gordon
Steve Edwards
2010-Jun-21 13:14 UTC
[asterisk-users] [AGI] What scripting language for embedded hardware?
On Mon, 21 Jun 2010, Gilles wrote:> I'm learning how to work with Asterisk on an embedded system (MMU-less > Blackfin processor, 64MB RAM and 256MB NAND), and was wondering what > people use as scripting language to handle calls through the dialplan > and AGI, considering the hardware limitations?I'm a big fan of compiled languages like C. You can execute XXX AGIs written in C in the time it takes to load an interpreter and parse a script. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
Motiejus Jakštys
2010-Jun-21 14:25 UTC
[asterisk-users] [AGI] What scripting language for embedded hardware?
If you can install python or PHP in that machine (in means of storage), you are free to run it there. 64 RAM is really enough to run python, so you have to just try if it suits in the application. If it takes too slow to initialize - try to find some embedded versions. openwrt, for instance, has one, that means it's possible to run python on wrt54gl (16 MB RAM, 200MHz MIPS), so your platform should be really possible. On Mon, Jun 21, 2010 at 3:48 PM, Gilles <codecomplete at free.fr> wrote:> Hello > > I'm learning how to work with Asterisk on an embedded system (MMU-less > Blackfin processor, 64MB RAM and 256MB NAND), and was wondering what > people use as scripting language to handle calls through the dialplan > and AGI, considering the hardware limitations? > > Ideally, I'd rather use a rich language like PHP or Python, but can > those be fit with even their common modules into such small hardware? > I'm also thinking of Lua and modules, provided they can be included in > the buildroot. > > Thank you for any feedback. > > > -- > _____________________________________________________________________ > -- 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 >