[asterisk-users] Fast AGI library/support for C & C++
James Cloos
cloos at jhcloos.com
Tue Jan 29 16:42:39 CST 2013
>>>>> "AJS" == A J Stiles <asterisk_list at earthshod.co.uk> writes:
>> Please let us know how to write FastAGI using C/C++.
AJS> You don't need it! C, being a compiled language, doesn't suffer from
AJS> interpreter overheads and therefore doesn't require such bodgery.
You can also use inetd(8) or xinetd(8) to handle the tcp side of things;
it can call your AGI app whenever asterisk makes the tcp connection, and
keep it open for future calls.
Then, just use stdin and stdout as you would for a normal AGI app.
-JimC
--
James Cloos <cloos at jhcloos.com> OpenPGP: 1024D/ED7DAEA6
More information about the asterisk-users
mailing list