<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Well, the script actually does execute, so I don’t think that is the issue.<div class=""><br class=""></div><div class=""><br class=""><div><div class="">On Aug 9, 2017, at 5:06 PM, Guillermo Ruiz Camauer <<a href="mailto:grcamauer@gmail.com" class="">grcamauer@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I think you need to call <span style="font-size:12.8px" class="">"bgsystem" data = "</span><b class=""><font size="4" class="">php </font></b><span style="font-size:12.8px" class="">/opt/scripts/push_handler.php ${uuid} ${sip_contact_user} ${host}"/></span><div class=""><span style="font-size:12.8px" class="">and pake sure tha PHP executable is in your path.</span></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Aug 9, 2017 at 2:45 PM, Dave Horton <span dir="ltr" class=""><<a href="mailto:daveh@beachdognet.com" target="_blank" class="">daveh@beachdognet.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have the following action in my dialplan:<br class="">
<br class="">
 <action application="bgsystem" data = "/opt/scripts/push_handler.php ${uuid} ${sip_contact_user} ${host}"/><br class="">
<br class="">
each time that command gets executed I see another defunct freeswitch process created:<br class="">
<br class="">
root@cor03-san:/usr/local/<wbr class="">freeswitch/log# ps -ef | grep freeswitch<br class="">
root 23010 1 2 06:37 ? 00:00:25 /usr/local/freeswitch/bin/<wbr class="">freeswitch -nc -nonat<br class="">
root 23209 23010 0 06:44 ? 00:00:00 [freeswitch] <defunct><br class="">
root 23242 23010 0 06:45 ? 00:00:00 [freeswitch] <defunct><br class="">
root 23300 23010 0 06:48 ? 00:00:00 [freeswitch] <defunct><br class="">
<br class="">
I tried changing 'bgsystem' to 'system' and reloaded the dialplan, but it continued to drop defunct processes.<br class="">
<br class="">
I’ve entered Jira FS-10572 as it seems like this is a bug, but I am wondering if there is a workaround of some kind?<br class="">
______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature">Guillermo Ruiz Camauer<br class=""></div>
</div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services:<br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></div><br class=""></div></body></html>