[Freeswitch-users] Transfer out of lua script on fax detection - novice user

Anthony Cosgrove acosgrov at gmail.com
Tue Jan 10 16:50:01 MSK 2012


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 at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120110/96be955a/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list