hello friends i want very simple thing in my dial plan. 

1.When ever
calls come at exten 2000 and if it is not answered with in 60 secs it
should hangup.

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 begins. 

3.if music on hold is placed for more
than 60 secs call should hangup. 

my extention.conf is like this 

vi
/etc/asterisk/extentions.conf 

exten => 2000,1,Answer()
exten =>
2000,n,Dial(SIP/2000,60)
exten => 2000,n,Dial(SIP/2000,60,m)
exten =>
2000,n,Hangup 

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. 

thx 

 
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to