Jonas Kellens wrote: 
> 
> Even if there *can* be more than 1 digit, in case there is only 1 digit it
> should go faster.


Jonas,

Use the TIMEOUT function to set the maximum amount of time permitted between
digits when the user is typing in DTMF.  As you've discovered, the default is 5
seconds.

The following example reduces it to 2 seconds:

exten => ivr,1,NoOp()
exten => ivr,n,Set(TIMEOUT(digit)=2)
exten => 
ivr,n(restartprompt),Background(/var/lib/asterisk/sounds/vprompts/${KNUMMER}/${ASTPROMPT})
exten => ivr,n,NoOp(${BACKGROUNDSTATUS})
exten => ivr,n,WaitExten(15)
exten => ivr,n,GoTo(restartprompt)


Enter 'core show function TIMEOUT' at the Asterisk CLI for more information 
about
the TIMEOUT function.

Regards,

Matthew Roth
InterMedia Marketing Solutions
Software Engineer and Systems Developer

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to