[Freeswitch-users] set_zombie_exec

Shaka Dow shakad at gtt.co.gy
Mon Sep 3 21:59:42 MSD 2012


Dear FreeSWITCH users,

I have a very simple python script that is called by an extension when
dialed. But despite all my attempts on resolving the issue, even after
trying various versions (1.2.1 and the latest GIT clone) I still keep
receiving the following messages at the console when I hangup the call while
playback is being executed:

 

2012-09-03 12:00:24.706709 [DEBUG] switch_core_session.c:2357
sofia/internal/1000 at 192.168.0.121 Channel is hungup and application
'playback' does not have the zombie_exec flag

 

I tried setting the zombie_exec flag but that did not help either. This
problem seems to also occur when I use Lua.

 

Here is my extension:

 

   <extension name="test1_1">

      <condition field="destination_number" expression="^1000$">

                <action application="set_zombie_exec"/>

                <action application="python" data="test1"/>

      </condition>

    </extension>

 

Here is the python script:

 

import freeswitch

 

def handler(session, args):

    session.answer()

    session.execute("set_zombie_exec")

    session.sleep(1000)

    session.execute("playback","test1/welcome.wav")

    session.hangup()

 

 

PLEASE HELP!!!!

 

Kind regards.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120903/2c4bb0d5/attachment.html 


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