Silent Recording
This entry was posted on 3/27/2006 9:28 AM and is filed under VoiceXML.
We had a situation where we needed to trap silent recording. Caller will call in. Starts recording after the beep and pushes # to stop recording. If caller stays silent and pushes pound, no event is fired. So there is no way to trap this. We looked for a solution and all the direction pointed us to "no solutions".
After much research, we found a simple and elagent solution. Just add an empty prompt count =2....thats it.... does the trick.
<record name="msg" maxtime="7s" finalsilence="2000ms" type="audio/wav">
<prompt count="1" bargein="false">
<audio src="beep.wav"> </audio>
</prompt>
<prompt count="2" timeout="0ms" bargein="false">
</prompt>
<filled>
</filled>
<noinput>
</noinput>
</record>