[asterisk-dev] Asterisk modules in C++
Moises Silva
moises.silva at gmail.com
Sun May 9 03:46:51 CDT 2010
Moving from AGI to FastAGI will improve performance, as said before, because
no more forking is needed. Although arguable, I find hard to justify moving
to an Asterisk app for performance reasons, most of the time I'd say such
movement would be justified when more granularity and control over the
Asterisk API's is needed ( like calling constantly ast_read() to process
audio and control frames).
Moises Silva
Senior Software Engineer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3
Canada
t. 1 905 474 1990 x 128 | e. moy at sangoma.com
On Sun, May 9, 2010 at 1:59 AM, Deepesh D <deep.d2010 at gmail.com> wrote:
> Performance is the main reason for switching from AGI to module. Will
> a FastAGI running on the same server as asterisk give me improved
> performance?
>
> Are there any docs/examples/frameworks of FastAGI in C++?
>
> On Sun, May 9, 2010 at 1:49 AM, Donny Kavanagh <donnyk at gmail.com> wrote:
> > Consider FastAGI, I presume one of your issues is that agi spawns one
> > process per call, however if you took the FastAGI approach, you would
> bolt a
> > socket layer onto your app and then asterisk will connect via tcp. This
> > would probably give you the best of both worlds, your app is now
> > multi-threaded only one process required, but you still keep everything
> > separate from asterisk and don't have to learn how to write an asterisk
> > module.
> >
> > Donny
> >
> > On Sat, May 8, 2010 at 2:11 PM, Deepesh D <deep.d2010 at gmail.com> wrote:
> >>
> >> Hello,
> >>
> >> Is it possible to write asterisk modules in C++. I am using an AGI
> >> application written in C++ and would like to convert it to an asterisk
> >> module.
> >>
> >> Thanks
> >>
> >> --
> >> _____________________________________________________________________
> >> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >>
> >> asterisk-dev mailing list
> >> To UNSUBSCRIBE or update options visit:
> >> http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
> >
> > --
> > _____________________________________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > asterisk-dev mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100509/59b5989c/attachment-0001.htm
More information about the asterisk-dev
mailing list