[Asterisk-Dev] Basically a C AGI app.

Michael Giagnocavo mgg-digium at atrevido.net
Thu Feb 10 09:42:40 MST 2005


That's really cool. But how does that allow asterisk to load the module?
Also, how does that solve any of the problems of dealing with C, and the
Asterisk C API?

-Michael

________________________________________
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Christopher
Dobbs
Sent: Thursday, February 10, 2005 10:05 AM
To: Asterisk Developers Mailing List
Subject: Re: [Asterisk-Dev] Basically a C AGI app.

Check out Tiny CC,
It can compile yor C program on the fly.

Sortof like scripting in C.
http://fabrice.bellard.free.fr/tcc/

I have used for this on a few ocasions. exicution speed of C, 
Instant changes like a scripting language.

--
Christopher Dobbs

Michael Giagnocavo wrote: 
Oh, there's one more thing to consider: The C API apparently has zero
compatibility standards. This means that any of your apps are subject to
breaking at any point with no warning :). At least with AGI, there's more
effort to ensure everything keeps working.

-Michael

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Robert Spielmann
Sent: Thursday, February 10, 2005 3:10 AM
To: taintedham-mailinglists at yahoo.com; Asterisk Developers Mailing List
Subject: Re: [Asterisk-Dev] Basically a C AGI app.

On Wed, 9 Feb 2005 21:49:31 -0800 (PST)
<taintedham-mailinglists at yahoo.com> wrote:

  
Hi,

I've been using Asterisk for some time now.  I've been
developing custom applications using Perl and PHP AGI
scripts.

I'm a C programmer by heart.  I would really like to
create the same functionality in C code.  Basically
create my own C app but at a high level like AGI.
    

Do you want to:

a) write an additional application module for Asterisk
or
b) do AGI through a program written in C instead of Perl?

Case b) is quite simple, case a) is a little harder because the Asterisk
sourcecode is not that well documented at the moment. Anyways, you can
look at the sources of applications like Goto etc. to get a feeling for
it.

Cheers
Robert

  






More information about the asterisk-dev mailing list