Jehudi,

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 - http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_set_zombie_exec


Anthony C. 

On Jan 10, 2012, at 3:53 AM, Jehudi Maes wrote:

I am having trouble with fax detection while executing a lua script: I am setting the fax detection in the dialplan:

<action application="tone_detect" data="fax 1100 r +3000 transfer 'fax XML public' 1"/>

and continue by executing a script:

<action application="lua" data="laczenAMS.lua"/>

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 ?

Kind regards,

Jehudi
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org