[Freeswitch-users] Channel is hungup and application 'curl' does not have the zombie_exec flag.

Phillip Jones pjintheusa at gmail.com
Wed Sep 10 18:54:36 MSD 2014


Hi all,

This a very simple custom VM that plays a greeting, bong and then records
the callers message. After the caller has hung up, I need to call a
webservice through curl.

The zombie_exec flag gets me to the last line but the curl does not execute
complaining: "Channel is hungup and application 'curl' does not have the
zombie_exec flag."

How do I apply the zombie flag to CURL?

<condition field="${ForwardingNumber}" expression="([1-9]),(.*)"
break="never">
<action application="set_zombie_exec"/>
<action application="answer" />
<action application="sleep" data="2000"/>
<action application="playback" data="$${user_vm_greeting}\$2"/>
<action application="playback" data="tone_stream://$${vm_bong}"/>
<action application="record"
data="$${user_vm_message}/${accountno}-${uuid}.wav $${maxreclen}
$${silencethreshold} $${silencehits}"/>
<action application="curl" data="
http://localhost:58784/api/Voicemail/InsertVoicemail"/>
</condition>


Thanks in anticipation.


Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140910/d0a764fa/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list