I have lua 'background' script that wake up every few seconds, and check to perform specific task, one of it to established call.Calls are then initiated then transfer to some extension in dialplan. The scripts has been running and works as expected.But after session ended(hangup), channels is not released and can be seen using cli "show channels". and trying to kill such channel result in "-ERR No Such Channel!"This seems being reported before, but I can't seems to find any resolution.Following simple script could replicate the issues :freeswitch> luarun SimpleDialer.lua=================== SimpleDialer.lualocal threadName = "SimpleDialer"
while true dofreeswitch.consoleLog("info", threadName.." ticking\n")-- task run herelocal new_session = freeswitch.Session('sofia/gateway/vox/+15088888888')new_session:transfer("echo", "XML", "default")freeswitch.msleep(60000)end============= dialplan entry<extension name="echo"><condition field="destination_number" expression="^echo$"><action application="echo" data=""/></condition></extension>
_________________________________________________________________________
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