<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Jehudi,</div><div><br></div><div>I just went through this exercise. You will need to invoke set_zombie_exec from either the xml or while in your Lua script. Take a look at the wiki page - <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_set_zombie_exec">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_set_zombie_exec</a></div><div><br></div><div><br></div><div>Anthony C. </div><br><div><div>On Jan 10, 2012, at 3:53 AM, Jehudi Maes wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I am having trouble with fax detection while executing a lua script: I am setting the fax detection in the dialplan:<div><br></div><div><action application="tone_detect" data="fax 1100 r +3000 transfer 'fax XML public' 1"/></div>
<div><br></div><div>and continue by executing a script:</div><div><br></div><div><action application="lua" data="laczenAMS.lua"/></div><div><br></div><div>when a fax is detected (this works fine) during the execution of the script, the script exits and the call is hangup. How can I avoid the hangup and continue with the fax receiving ?</div>
<div><br></div><div>Kind regards,</div><div><br></div><div>Jehudi</div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></body></html>