Nice graphic, btw. :) What are you trying to do with this channel after the caller hangs up? If this is some sort of post processing then you need to call python from an api_hangup_hook <http://wiki.freeswitch.org/wiki/Variable_api_hangup_hook>. -MC On Mon, Sep 10, 2012 at 3:06 PM, Julio Saldivar <cabildo@gmail.com> wrote:
Hello, I am trying to record a conversation, and then pass it to a script, but it generates out the following error when the caller ends the call:
09.10.2012 18:47:07.651845 [DEBUG] switch_core_session.c: 2149 sofia/internal/3119 @ 192.168.0.225 Channel is hungup and Application ' python' does not Have the zombie_exec flag.
When the call ends the call everything works ok
<extension name="DISA for FS"> <condition field="destination_number" expression="^(3499)$"> <action application="set_zombie_exec"/> <action application="set" data="RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}"/> <action application="set" data="RECORD_COPYRIGHT=(c) 1980 Factory Records, Inc."/> <action application="set" data="RECORD_SOFTWARE=FreeSWITCH"/> <action application="set" data="RECORD_ARTIST=Ian Curtis"/> <action application="set" data="RECORD_COMMENT=Love will tear us apart"/> <action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/> <action application="set" data="RECORD_STEREO=true"/> <action application="record_session" data="/tmp/${uuid}.wav"/> <action application="read" data="2 15 'tone_stream://%(10000,0,350,440)' digits 30000 #"/> <action application="execute_extension" data="${digits}"/> <action application="bridge" data="sofia/gateway/cisco/${digits}"/> <action application="set_zombie_exec"/> <action application="python" data="disa1"/> </condition> </extension>
-- Si alguna vez mi voz deja de escucharse piensen que el bosque hablará por mí con su lenguaje de raíces.
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org