custom data publishing module
Hi, I am working on developing a very simple custom mod that needs to push out data to an external HTTP service, similar to the way curl works. Does anyone have experience in writing a Freeswitch mod that pushes out data to an external HTTP server and can give me a hand? I am hoping to learn from any sample code that demonstrate how to use the lib available within Freeswitch to do that. The HTTP service that receives the data is the same one that handles the mod_curl requests. Therefore, I believe there must be functions/methods that I can invoke to send out data to. Thanks in advance for your help. JB
We use the actual curl library so if you look in the FS code for anything with curl in the file name then look inside that file for functions that start with curl you may get an idea. You can also visit curl site and check their dev docs and sample code. On Sun, Oct 26, 2008 at 11:23 AM, Juan Backson <juanbackson@gmail.com>wrote:
Hi,
I am working on developing a very simple custom mod that needs to push out data to an external HTTP service, similar to the way curl works. Does anyone have experience in writing a Freeswitch mod that pushes out data to an external HTTP server and can give me a hand? I am hoping to learn from any sample code that demonstrate how to use the lib available within Freeswitch to do that. The HTTP service that receives the data is the same one that handles the mod_curl requests. Therefore, I believe there must be functions/methods that I can invoke to send out data to.
Thanks in advance for your help.
JB
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (2)
-
Anthony Minessale
-
Juan Backson