Hi Mark,

You can use DigitTimeout(seconds) (where seconds is the amount of seconds you 
would like to allow users between key presses). This is deprecated in Asterisk 
1.2 however. If you are using 1.2, use Set(TIMEOUT(digit)=seconds) to set this 
value.

Check http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+DigitTimeout 
for info on DigitTimeout.
Check http://www.asteriskguru.com/tutorials/timeoutdigit_function.html for info 
on Set(TIMEOUT(digit)).

Alex


-----Original Message-----
From: Mark Palser [mailto:[EMAIL PROTECTED]
Sent: Fri 5/19/2006 9:38 PM
To: [email protected]
Subject: [on-asterisk] IVR single digits and dialing extensions
 
I have several IVR's set up on a box with multiple extensions, the usual "Thank 
you for calling company XYZ, if you know the extension of the person you want 
to reach please dial it now, if not press 1 for person A, 2 for person B" and 
so one, my question, how do I extend the time out on the single digit? All my 
extension start with 2 so if the caller presses 202 for example it goes to 
whoever is #2 in the menu. The only other thing I could do would be to leave 2 
out of the single digit menu, but to me that just doesn't feel right. Thanks, 
Mark.

Dialplan


include => grove-internal
exten => s,1,SetCIDName(Grove: ${CALLERIDNAME})
exten => s,2,Dial(${Reception},20,tT)
;exten => s,2,Noop(${Reception})
exten => s,3,Background(grove-hello)
exten => s,4,ResponseTimeout(10)
exten => s,5,Background(grove-options)
exten => t,1,Playback(goodbye)
exten => t,2,Hangup
exten => i,1,Playback(im-sorry)
exten => i,2,wait(2)
exten => i,3,Goto(s,5) 
exten => 0,1,Macro(irm_internal|200|SIP/200) 
exten => 1,1,Macro(irm_internal|202|SIP/202)
exten => 2,1,Macro(irm_internal|208|SIP/208)
exten => 3,1,Macro(irm_internal|205|SIP/205)
exten => 4,1,Macro(irm_internal|200|SIP/200)
exten => 5,1,Macro(irm_internal|206|SIP/206)
exten => 6,1,Macro(irm_internal|209|SIP/209)
exten => 7,1,Macro(irm_internal|200|SIP/200)

Macro


[macro-irm_internal]
exten => s,1,Dial(${ARG2}|30)
exten => s,2,VoiceMail(u${ARG1})
exten => s,3,Dial(${Reception},20,tT)
exten => s,4,Hangup
exten => s,102,VoiceMail(b${ARG1})
exten => s,103,Dial(${Reception},20,tT)
exten => s,104,Hangup
exten => a,1,VoicemailMain(${ARG1})
exten => 0,1,Dial(${Reception},20,tT)
exten => 0,2,Hangup



Reply via email to