<div dir="ltr">I think you need to call <span style="font-size:12.8px">"bgsystem" data = "</span><b><font size="4">php </font></b><span style="font-size:12.8px">/opt/scripts/push_handler.php ${uuid} ${sip_contact_user} ${host}"/></span><div><span style="font-size:12.8px">and pake sure tha PHP executable is in your path.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 9, 2017 at 2:45 PM, Dave Horton <span dir="ltr"><<a href="mailto:daveh@beachdognet.com" target="_blank">daveh@beachdognet.com</a>></span> wrote:<br><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>
<br>
 <action application="bgsystem" data = "/opt/scripts/push_handler.php ${uuid} ${sip_contact_user} ${host}"/><br>
<br>
each time that command gets executed I see another defunct freeswitch process created:<br>
<br>
root@cor03-san:/usr/local/<wbr>freeswitch/log# ps -ef | grep freeswitch<br>
root 23010 1 2 06:37 ? 00:00:25 /usr/local/freeswitch/bin/<wbr>freeswitch -nc -nonat<br>
root 23209 23010 0 06:44 ? 00:00:00 [freeswitch] <defunct><br>
root 23242 23010 0 06:45 ? 00:00:00 [freeswitch] <defunct><br>
root 23300 23010 0 06:48 ? 00:00:00 [freeswitch] <defunct><br>
<br>
I tried changing 'bgsystem' to 'system' and reloaded the dialplan, but it continued to drop defunct processes.<br>
<br>
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>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Guillermo Ruiz Camauer<br></div>
</div>