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