[Freeswitch-users] Problem with record and script
Julio Saldivar
cabildo at gmail.com
Tue Sep 11 02:06:49 MSD 2012
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120910/da058739/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list