[Asterisk-Dev] Dialplan syntax changes.. Option: work on a
radically different design..
snacktime
snacktime at gmail.com
Thu May 19 18:13:09 MST 2005
On 5/18/05, Edwin Groothuis <edwin at mavetju.org> wrote:
> On Wed, May 18, 2005 at 12:58:31PM -0400, alex at pilosoft.com 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
More information about the asterisk-dev
mailing list