There are a number of frameworks available, check google and <a href="http://voip-info.org" target="_blank">voip-info.org</a> 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.<br>
<br>Donny<br>
<br><div class="gmail_quote">On Sun, May 9, 2010 at 1:59 AM, Deepesh D <span dir="ltr"><<a href="mailto:deep.d2010@gmail.com" target="_blank">deep.d2010@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Performance is the main reason for switching from AGI to module. Will<br>
a FastAGI running on the same server as asterisk give me improved<br>
performance?<br>
<br>
Are there any docs/examples/frameworks of FastAGI in C++?<br>
<div><div></div><div><br>
On Sun, May 9, 2010 at 1:49 AM, Donny Kavanagh <<a href="mailto:donnyk@gmail.com" target="_blank">donnyk@gmail.com</a>> wrote:<br>
> Consider FastAGI, I presume one of your issues is that agi spawns one<br>
> process per call, however if you took the FastAGI approach, you would bolt a<br>
> socket layer onto your app and then asterisk will connect via tcp. This<br>
> would probably give you the best of both worlds, your app is now<br>
> multi-threaded only one process required, but you still keep everything<br>
> separate from asterisk and don't have to learn how to write an asterisk<br>
> module.<br>
><br>
> Donny<br>
><br>
> On Sat, May 8, 2010 at 2:11 PM, Deepesh D <<a href="mailto:deep.d2010@gmail.com" target="_blank">deep.d2010@gmail.com</a>> wrote:<br>
>><br>
>> Hello,<br>
>><br>
>> Is it possible to write asterisk modules in C++. I am using an AGI<br>
>> application written in C++ and would like to convert it to an asterisk<br>
>> module.<br>
>><br>
>> Thanks<br>
>><br>
>> --<br>
>> _____________________________________________________________________<br>
>> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
>><br>
>> asterisk-dev mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
><br>
><br>
> --<br>
> _____________________________________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
><br>
> asterisk-dev mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
><br>
<br>
</div></div>--<br>
<div><div></div><div>_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br>
</div></div></blockquote></div><br>