<div dir="ltr"><div><div><div>Dear JimC,<br><br></div>Thanks for your comment, but if possible then could you please give some reference link or example of the using the same what you have suggested.<br><br></div>Thanks in Advance,<br>
</div>Kashyap<br><div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 30, 2013 at 4:12 AM, James Cloos <span dir="ltr"><<a href="mailto:cloos@jhcloos.com" target="_blank">cloos@jhcloos.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">>>>>> "AJS" == A J Stiles <<a href="mailto:asterisk_list@earthshod.co.uk">asterisk_list@earthshod.co.uk</a>> writes:<br>
<br>
>> Please let us know how to write FastAGI using C/C++.<br>
<br>
</div>AJS> You don't need it! C, being a compiled language, doesn't suffer from<br>
AJS> interpreter overheads and therefore doesn't require such bodgery.<br>
<br>
You can also use inetd(8) or xinetd(8) to handle the tcp side of things;<br>
it can call your AGI app whenever asterisk makes the tcp connection, and<br>
keep it open for future calls.<br>
<br>
Then, just use stdin and stdout as you would for a normal AGI app.<br>
<br>
-JimC<br>
<span class="HOEnZb"><font color="#888888">--<br>
James Cloos <<a href="mailto:cloos@jhcloos.com">cloos@jhcloos.com</a>> OpenPGP: 1024D/ED7DAEA6<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>