I also agree on using a scripting language for the dialplan, but as you said, 
a high level API is needed to be able to do so. 

Lua (http://www.lua.org) would be a nice candidate for this. It is designed to 
be embedded into other programs, it's lightweight, fast and very easy to 
learn.


On Thursday 19 May 2005 22:13, snacktime wrote:
> On 5/18/05, Edwin Groothuis <[EMAIL PROTECTED]> wrote:
> > On Wed, May 18, 2005 at 12:58:31PM -0400, [EMAIL PROTECTED] wrote:
> > > On Wed, 18 May 2005, Tilghman Lesher wrote:
> > > Obviously. However, whoever is going to be implementing new (C-ish or
> > > perl-ish or whatever-ish) dialplan should think about bigger picture
> > > and consider against reinventing the wheel.
> >
> > As somebody who has implemented (one time as a patch, one time from
> > scratch) embedded scripting language in a MUD (Multi User Dungeon,
> > an hack-and-slash game on the internet), I would like to share my
> > experiences:
> >
> >                Don't reinvent the wheel again.
> >
> > Take a language and interpreter which is already there and has shown
> > it works.
>
> Amen.
>
> I really don't know how much would be involved in doing something like
> this, but what about just creating C functions to all of the
> functionality available in the dialplan?  With a published API I would
> think it would be fairly easy to write modules in other languages that
> bind to those functions.  For example in Perl using XS.
>
> Plus that would be hugely popular.  People always like to use what
> they already know.
>
> Chris
> _______________________________________________
> Asterisk-Dev mailing list
> [email protected]
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev

-- 
Juan Jose Comellas
([EMAIL PROTECTED])
_______________________________________________
Asterisk-Dev mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to