Porting C AGI from Asterisk to Freeswitch
I have several agi's written in C which I would like to port to Freeswitch. What is the best approach? Buld it as a freeswitch module? Thanks, Valter
Yes, building a module is the best way if you want to keep your code in C <snip>
Hi, you could write an application for the outbound event socket mode and call that application from the dialplan using "socket". Take a look here: http://wiki.freeswitch.org/wiki/Mod_event_socket and here: http://wiki.freeswitch.org/wiki/Event_socket_outbound That's the way i've done similar stuff. This makes small amount of overhead and is more like the asterisk's FastAGI approach instead of the normal AGI but this was for me the better solution + debugging is very easy. Soeren On 26.08.2013 15:56, Valter Nogueira wrote:
I have several agi's written in C which I would like to port to Freeswitch.
What is the best approach? Buld it as a freeswitch module?
-- AereA NetworX UG (haftungsbeschränkt) Im Camisch 8 07768 Kahla Geschäftsführerin: Franziska Sprenger Handelsregister: Jena B504724 E-Mail: info@aerea.de Web: http://www.aerea.de Fon: +49 (0) 36424 760823 Fax: +49 (0) 36651 1390009
participants (3)
-
Sören Sprenger
-
Valter Nogueira
-
Vik Killa