[Freeswitch-users] CURL from Lua Script
Don Hawkins
hawkins at hawkinsegroup.com
Thu Aug 4 23:51:51 MSD 2016
root at debian:/usr/share/freeswitch/scripts# vi test.lua
api = freeswitch.API();
api:execute("curl", "http://myurl.com/test3.php post name1=value1")
Snatched the code straight from the the example shown at the URL below. FS
does execute the script but never reaches my URL with the POST request. Did
I miss something?
https://freeswitch.org/confluence/display/FREESWITCH/mod_curl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160804/fd6f1626/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list