thanks Dovid.<br><br><div class="gmail_quote">On Mon, May 9, 2011 at 5:30 PM, Dovid Bender <span dir="ltr"><<a href="mailto:asteriskusers@dovid.net">asteriskusers@dovid.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">John,</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">You want to do it only after it fails
?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">If so you can do something like.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Exten => _X., 1, Dial(<a href="mailto:SIP/$%7BEXTEN%7D@%3CPEER%3E,20" target="_blank">SIP/${EXTEN}@<PEER></a>)<br>Exten
=> _X., 2, GotoIf($["${DIALSTATUS}" = "ANSWER"]?10)<br>Exten => _X., 4,
MusicOnHold()</font></div>
<div><font face="Arial" size="2">Exten => _X., 10, Hangup</font></div>
<div><font face="Arial" size="2"></font> </div>
<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: 2px solid rgb(0, 0, 0); margin-right: 0px;"><div><div></div><div class="h5">
<div style="font: 10pt arial;">----- Original Message ----- </div>
<div style="background: none repeat scroll 0% 0% rgb(228, 228, 228); font: 10pt arial;"><b>From:</b>
<a title="jwjohn0@gmail.com" href="mailto:jwjohn0@gmail.com" target="_blank">John Wu</a> </div>
<div style="font: 10pt arial;"><b>To:</b> <a title="asterisk-users@lists.digium.com" href="mailto:asterisk-users@lists.digium.com" target="_blank">Asterisk Users Mailing List -
Non-Commercial Discussion</a> </div>
<div style="font: 10pt arial;"><b>Sent:</b> Monday, May 09, 2011 10:41</div>
<div style="font: 10pt arial;"><b>Subject:</b> [asterisk-users] how to play
music when dial fail or time out</div>
<div><br></div>Hi all,<br>I need to support this feature. When caller dial if
the dial fail or no answer from the<br>called number then play a music. So how
to achieve that?<br><br>Thanks!<br>
</div></div><p>
</p><hr>
<p></p>--<br>_____________________________________________________________________<br>--
Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>New to
Asterisk? Join us for a live introductory webinar every
Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To
UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>