[Freeswitch-users] curl zombie_exec
Mai Duy Quang
quang at telepro.me
Fri Apr 24 10:39:22 UTC 2020
Hi,
I call curl in lua script but has this error, been googling all day long but no hope. Any have fix for that?
Channel is hungup and application curl does not have the zombie_exec flag.
my lua code:
-- to allow curl after the call
session:execute("set_zombie_exec");
freeswitch.consoleLog("notice", "[curl][ring groups][missed] " .. missed_call_data .. " ");
session:execute("curl", missed_call_data .. " phone=" .. caller_id_number .. "&target=" .. ring_group_name);
curl_response_code = session:getVariable("curl_response_code")
curl_response = session:getVariable("curl_response_data”)
Many thanks,
Johnathan Mai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200424/0bd65505/attachment.html>
More information about the FreeSWITCH-users
mailing list