<div dir="ltr"><div>Actually, I thought about it for a while.&nbsp; What I want is something that will allow me to restart the message if another sound is detected.&nbsp; Something like this:</div>
<div>&nbsp;</div>
<div>exten =&gt; answermachine,1,Answer()<br>exten =&gt; answermachine,n,WaitForSilence(1000,2)<br>exten =&gt; answermachine,n,Background(message)</div>
<div>exten =&gt; answermachine,n,GotoIf($[${BACKGROUND}=DETECTED]?replay:exit)</div>
<div>exten =&gt; answermachine,n(replay),Playback(message)</div>
<div>exten =&gt; answermachine,n(exit),Hangup()</div>
<div>&nbsp;</div>
<div>But Background() is looking for a DTMF tone and doesn&#39;t even work the way I described up there.&nbsp; Is there a function that looks for any significant sound (ie, a BEEEEP) that will return and not continue the audio?<br>
<br></div>
<div class="gmail_quote">On Thu, Jul 17, 2008 at 1:43 PM, Julian Lyndon-Smith &lt;<a href="mailto:asterisk@dotr.com">asterisk@dotr.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">This is what we use, with (seemingly) good success:<br><br>exten =&gt; answermachine,1,Answer<br>exten =&gt; answermachine,n,Wait(5)<br>
exten =&gt; answermachine,n,WaitForSilence(1000,2)<br>....</blockquote></div></div>