[asterisk-dev] Asterisk modules in C++

Donny Kavanagh donnyk at gmail.com
Sun May 9 18:46:17 CDT 2010


There are a number of frameworks available, check google and voip-info.org
That said, as mentioned by others FastAGI is a great solution, but it may
not be the solution for you, you need to determine your performance
bottleneck, are queries returning slow?  If thats the case FastAGI won't
help.  However there are situations where it will, you need to investigate
just a little more and find your performance bottleneck to come up with the
right solution for you.

Donny

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/61c5b85e/attachment-0001.htm 


More information about the asterisk-dev mailing list