[Freeswitch-users] cURL response code from API

Oleg Stolyar olegstolyar at gmail.com
Fri Apr 17 05:21:58 MSD 2015


Hello,

if I use in Lua

resp = api:execute("curl", some_url)

where can I get the curl response code?

If I use session:execute("curl", some_url), the code will be in the
curl_response_code session variable, but where can I get it if I use
api:execute?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150416/dbdcce62/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list