Hi there,<br><br>Very simple scenario:<br><br>Session.DtmfReceivedFunction = (d, t) =&gt;<br>{<br>    Log.WriteLine(LogLevel.Info, &quot;Received {0} for {1}.&quot;, d, t);<br>    CollectedDigits = d.ToString().Trim();<br>
    return &quot;&quot;;<br>};<br><br><br>Session.flushDigits();<br>Session.StreamFile(VoicemailPromptsDirectory + &quot;abigfile.wav&quot;, 0);<br><br>Question is, it there a way to kill the streaming when the a digit is pressed?<br>
<br>I would use the Session.PlayAndGetDigits()<br><br>but that does not help when want to string things together like:<br><br>Session.StreamFile(VoicemailPromptsDirectory + &quot;vm-to_delete_the_message.wav&quot;, 0);<br>
Session.StreamFile(VoicemailPromptsDirectory + &quot;vm-press.wav&quot;, 0);<br>Session.Say(&quot;7&quot;, &quot;en&quot;, &quot;number&quot;, &quot;pronounced&quot;);<br><br>Any help would be appreciated.<br>