<div dir="ltr">you have to patch mod_curl do to that like below. please make a pr if it works for you.<div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;line-height:18px;white-space:pre"><div>    <span style="color:rgb(220,220,170)">SWITCH_ADD_APP</span>(app_interface, <span style="color:rgb(206,145,120)">"curl"</span>, <span style="color:rgb(206,145,120)">"Perform a http request"</span>, <span style="color:rgb(206,145,120)">"Perform a http request"</span>,</div><div>                   curl_app_function, SYNTAX, SAF_SUPPORT_NOMEDIA | SAF_ROUTING_EXEC | SAF_ZOMBIE_EXEC);</div></div></div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;line-height:18px;white-space:pre"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 28, 2020 at 4:07 AM Mai Duy Quang <<a href="mailto:quang@telepro.me">quang@telepro.me</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi,<div><br></div><div>I call curl in lua script but has this error, been googling all day long but no hope. Any have fix for that?</div><div><br></div><div><font color="#e32400">Channel is hungup and application curl does not have the zombie_exec flag.</font></div><div><font color="#e32400"><br></font></div><div><span>my lua code:</span></div><div><div><span><span style="white-space:pre-wrap">                             </span>-- to allow curl after the call</span></div><div><span><span style="white-space:pre-wrap">                         </span>session:execute("set_zombie_exec");</span></div><div><span><br></span></div><div><span><span style="white-space:pre-wrap">                         </span>freeswitch.consoleLog("notice", "[curl][ring groups][missed]  " .. missed_call_data .. "  ");</span></div><div><span><br></span></div><div><span><span style="white-space:pre-wrap">                         </span>session:execute("curl", missed_call_data .. " phone=" .. caller_id_number .. "&target=" .. ring_group_name);</span></div><div><span><span style="white-space:pre-wrap">                          </span>curl_response_code = session:getVariable("curl_response_code")</span></div><div><span style="white-space:pre-wrap">                            </span><span>curl_response      = session:getVariable("curl_response_data”)</span></div></div><div><span><br></span></div><div><span><br></span></div><div><span>Many thanks,</span></div><div><span>Johnathan Mai</span></div></div>_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">About: <a href="http://about.me/dujinfang" target="_blank">http://about.me/dujinfang</a><br>Blog: <a href="http://www.dujinfang.com" target="_blank">http://www.dujinfang.com</a><br>Proj:  <a href="http://www.freeswitch.org.cn" target="_blank">http://www.freeswitch.org.cn</a></div>