<div>The reason we want to do it this way, is that we'd like to start dialing at the beginning, so that when the message finishes playing, the caller has actually already waited 10 seconds, leaving 10 seconds before the call is answered.
</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Dan<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 02/02/06, <b class="gmail_sendername">Alexander Lopez</b> &lt;<a href="mailto:alex.lopez@opsys.com">alex.lopez@opsys.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div><br>
<blockquote style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Dan Journo<br><b>Sent:</b> Thursday, February 02, 2006 11:18 AM
<span class="q"><br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br></span><b>Subject:</b> Re: [Asterisk-Users] Rewind MusicOnHold?<br></font><br>&nbsp;</div><span class="q">
<div></div>
<div>I thought someone was going to say that.</div>
<div>Does anyone know a way to do the following:-</div>
<div>&nbsp;</div>
<div>1) Answer incoming call<span><font face="Arial" color="#0000ff" size="2">&nbsp;</font></span></div>
<div><span></span>&nbsp;</div></span>
<div><span><font face="Arial" color="#0000ff" size="2">exten =&gt; s,1,Answer()</font>&nbsp;</span></div><span class="q">
<div>2) Begin dialing an extension<span><font face="Arial" color="#0000ff" size="2">&nbsp;</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2">&nbsp;3&nbsp;</font></span>) While extension is ringing play a welcome message to the caller</div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div></span>
<div><span><font face="Arial" color="#0000ff" size="2">Here you got a problem. What do you do if callee picks up too fast.</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div><span><font face="Arial" color="#0000ff" size="2">so I would</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div><span><font face="Arial" color="#0000ff" size="2">exten =&gt; s,2.PlayBack(mesage-to-caller0</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2">exten =&gt; s,3,Dial(SIP/123||m)</font></span></div><span class="q">
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div><span>&nbsp;</span></div>
<div><span>&nbsp;</span>4) Then play MoH until the extension is answered</div>
<div>5) Connect the incoming and outgoing when the extension is answered.</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Dan<br><br>&nbsp;</div></span>
<div><span class="q"><span class="gmail_quote">On 02/02/06, <b class="gmail_sendername">Alexander Lopez</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:alex.lopez@opsys.com" target="_blank">
alex.lopez@opsys.com</a>&gt; wrote:</span> </span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span class="q">
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Turn phone over and shake!</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">:-)</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">MOH plays in a loop, It has no player controls. You can't Pause, Stop, FF,&nbsp;or RW.</font></span></div>
<div dir="ltr" align="left"><span></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">(gasp!) You can try killing the mpg123 or whatever process you use for MOH. Asterisk should restart it if it needs to. (high-unrecomended)</font>
 &nbsp;</span></div>
<div dir="ltr" align="left"><span></span>&nbsp;</div>
<div dir="ltr" align="left">
<hr>
</div></span>
<div dir="ltr" align="left"><font face="Tahoma" size="2"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com 
</a>[mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Dan Journo<span class="q">
<br><b>Sent:</b> Thursday, February 02, 2006 10:27 AM<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> [Asterisk-Users] Rewind MusicOnHold?<br></span></font><br>&nbsp;</div><span class="q">

<div><span>
<blockquote dir="ltr" style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<div></div>
<div>Does anyone know how to rewind the music on hold?</div>
<div>&nbsp;</div>
<div>Thanks</div>
<div>Dan Journo</div></blockquote></span></div><br>_______________________________________________<br></span>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://easynews.com/" target="_blank">
Easynews.com</a> --<span class="q"><br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></span></blockquote></div><br></blockquote><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://easynews.com/" target="_blank">
Easynews.com</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote></div><br>