[Freeswitch-users] mod_curl or mod_httapi
Michael Giagnocavo
mgg at giagnocavo.net
Wed Mar 9 19:57:20 MSK 2016
mod_curl is perhaps a misleading name (the fact it uses curl internally is irrelevant). It’s better to think of it as mod_load_config_by_http. If you’re executing Lua code just perform the HTTP request directly from Lua, using Lua libraries and Lua code, then set variables, from Lua code.
-Michael
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of John Nash
Sent: Wednesday, 9 March, 2016 9:06
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] mod_curl or mod_httapi
well as per documentation mod_curl looks straight forward, what do you mean by "Just call the http url yourself from your lua script then"?
On Wed, Mar 9, 2016 at 7:53 PM, Brian West <brian at freeswitch.org<mailto:brian at freeswitch.org>> wrote:
Those things aren't even alike, they solve different problems. Just call the http url yourself from your lua script then.
On Wed, Mar 9, 2016 at 6:23 AM, John Nash <john.nash778 at gmail.com<mailto:john.nash778 at gmail.com>> wrote:
I need to call an http URL with some Post parameters from lua script and set some channel variables based on response data received. Which module will be best from performance point of view?
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Brian West
brian at freeswitch.org<mailto:brian at freeswitch.org>
[http://billing.freeswitch.org/templates/default/img/whmcslogo.png]
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here<https://freeswitch.org/jira>! | Reddit: /r/freeswitch<https://www.reddit.com/r/freeswitch>
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160309/c07af80a/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list