Re: [asterisk-users] [AGI] What scripting language for embedded hardware?

2010-06-22 Thread Gilles
On Mon, 21 Jun 2010 16:10:12 +, Edwin Quijada
listas_quij...@hotmail.com wrote:
Uhmmm.. remember for each channel you run perl or php interpreter so with that 
amount of memory maybe this can be a problem.
 For that kind of project I'd use C or java as fastagi protocol

Thanks Edwin. In my case, the hardware will only handle one or two
channels at a time (SOHO user), so it's OK if the interpreter takes
about 2-3MB, especially if it can be launched once to handle AGI
scripts for each channel.

As a middle-of-the-road solution, I'm thinking Lua, as an easier to
use solution than C while keeping things tidy.

-- 
_
-- 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


[asterisk-users] [AGI] What scripting language for embedded hardware?

2010-06-21 Thread Gilles
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


Re: [asterisk-users] [AGI] What scripting language for embedded hardware?

2010-06-21 Thread Gordon Henderson
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

-- 
_
-- 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


Re: [asterisk-users] [AGI] What scripting language for embedded hardware?

2010-06-21 Thread Steve Edwards
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   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


Re: [asterisk-users] [AGI] What scripting language for embedded hardware?

2010-06-21 Thread Gilles
On Mon, 21 Jun 2010 14:06:22 +0100 (BST), Gordon Henderson
gordon+aster...@drogon.net wrote:
You could always type

   asterisk blackfin

into google and see what it suggests.

Here, I'll save you the effort:

Thanks but I already know this (uCasterisk is deprecated). And can't
stand Perl ;-)

-- 
_
-- 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


Re: [asterisk-users] [AGI] What scripting language for embedded hardware?

2010-06-21 Thread Danny Nicholas
Even though I'm a PERL Weenie, I'll second this suggestion because you have
to have gcc present for PERL or Micro PERL.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steve Edwards
Sent: Monday, June 21, 2010 8:14 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [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   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


-- 
_
-- 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


Re: [asterisk-users] [AGI] What scripting language for embedded hardware?

2010-06-21 Thread Motiejus Jakštys
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 codecompl...@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


-- 
_
-- 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

Re: [asterisk-users] [AGI] What scripting language for embedded hardware?

2010-06-21 Thread Gilles
On Mon, 21 Jun 2010 17:25:09 +0300, Motiejus Jakštys
desired@gmail.com wrote:
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.

Thanks for the tip. I'll check how it's done in OpenWrt.


-- 
_
-- 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


Re: [asterisk-users] [AGI] What scripting language for embedded hardware?

2010-06-21 Thread Philipp von Klitzing
Hey Gilles,

for whatever reason your messages appear twice twice on this list.

Philipp


-- 
_
-- 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


Re: [asterisk-users] [AGI] What scripting language for embedded hardware?

2010-06-21 Thread Edwin Quijada

Uhmmm.. remember for each channel you run perl or php interpreter so with that 
amount of memory maybe this can be a problem. For that kind of project I'd use 
C or java as fastagi protocol

 
 From: desired@gmail.com
 Date: Mon, 21 Jun 2010 17:25:09 +0300
 To: asterisk-users@lists.digium.com
 Subject: Re: [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 codecompl...@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
 
 
 -- 
 _
 -- 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
  
_

-- 
_
-- 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