<p>hello friends i want very simple thing in my dial plan.</p>
<p>1.When ever calls come at exten 2000 and if it is not answered with in 60 secs it should hangup.<br /><br />2.when ever call comes at exten 2000 and if it is answered within 60 secs and if person who receives the call, puts the call on hold than music on hold should&nbsp;begins.</p>
<p>3.if music on hold is placed for more than 60 secs call should hangup.</p>
<p>my extention.conf is like this</p>
<p>vi /etc/asterisk/extentions.conf</p>
<p>exten =&gt; 2000,1,Answer()<br />exten =&gt; 2000,n,Dial(SIP/2000,60)<br />exten =&gt; 2000,n,Dial(SIP/2000,60,m)<br />exten =&gt; 2000,n,Hangup</p>
<p>the output of this is that when call is coming at exten 2000 call is answered and another call comes n first call is on hold after 60 secs music on hold starts but if i receive call before 60 secs even than MOH starts even i dont put call on hold.</p>
<p>thx</p>
<p>&nbsp;</p>