try something along the line of
 
exten => s,1,Answer
exten => s,2,Ringing
exten => s,3,Wait(5)
 
 

________________________________

From: Bruce Nik [mailto:[EMAIL PROTECTED]
Sent: Tue 03/04/2007 12:57 AM
To: [email protected]
Subject: [on-asterisk] Question for Asterisk Gurus


Hello everyone,

How can I add a 5 seconds delay in the inbound route before pickup?


[ext-did]
include => ext-did-custom
exten => fax,1,Goto(ext-fax,in_fax,1)
exten => mydid,1,Set(FROM_DID=mydid)
exten => mydid,2,Goto(callback,1,1)
exten => s,1,Noop(No DID or CID Match)
exten => s,n,Answer
exten => s,n,Wait(2)
exten => s,n,Playback(ss-noservice)
exten => s,n,SayAlpha(${FROM_DID})
exten => _[*#X].,1,Set(FROM_DID=${EXTEN})
exten => _[*#X].,n,Noop(Received an unknown call with DID set to ${EXTEN})
exten => _[*#X].,n,Goto(ext-did,s,1)

; end of [ext-did]


The reason I want to add a delay is because I don't want the callback to pick 
up the call right away and give the no service message. I want the system to 
take a few rings and then answer the call. That way, the user will simply hang 
up after a few rings but the callback will still do the callback since the CLID 
has already been transfered.

Any suggestions guys?


Thanks,
Bruce

P.S. The system is setup in Callback/DISA combo mode to make free calls out 
from a cellphone.





________________________________

Connect to the next generation of MSN Messenger  Get it now! 
<http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline>
 

Reply via email to