<div class="gmail_extra">Hi,</div><div class="gmail_extra"><br></div><div class="gmail_extra">I don&#39;t think even putting a Progress() at the 1st priority will help you alot give it a try. The reason why I think this will not work that the clients/UACs have timers and those timers are working exactly the way they are supposed to and hence when a certain time expires and No-Answer/Ack of their INVITE is heard they disconnect the call thinking that the server is dead. </div>
<div class="gmail_extra">Putting a Progress() on first priority may increase your ringing time but again if you wish to wait 5 seconds and then execute an AGI - this won&#39;t be an option, keeping in mind the SIP timers. For this the AGIs and All the stuff should be less than the SIP expiry &amp; retry timers of clients.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Regards,</div><div class="gmail_extra">Sammy.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 28, 2012 at 11:46 PM, Ashish Agarwal <span dir="ltr">&lt;<a href="mailto:ashishag67@gmail.com" target="_blank">ashishag67@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<div><br></div><div>I am using asterisk 10 svn version with digium card. I am trying to set music file as a ringtone for all incoming calls. I googled and found that playback can do that for me. My dialplan is like this</div>

<div><br></div><div>[from-pstn]</div><div>exten =&gt; _X.,1,Playback(&quot;sample-file&quot;, noanswer)</div><div>exten =&gt; _X.,n,Wait(5)</div><div>exten =&gt; _X.,n,AGI(filename)</div><div>exten =&gt; _X.,n,Hangup</div>

<div><br></div><div>but here though I hear the music being played and the call is not billed but the command wait is not executed at all. Infact, my sample-file length is around 30sec and the music is only played for 10 sec and hangs up with cause 102. I do not see Wait(5) being executed on the console.</div>

<div><br></div><div>Please help me how this can be achieved.</div><div><br></div><div>Regards,</div><div><br></div><div>Ashish<br clear="all"><div><br></div>
</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></div>