Upgrade 3CX to v18 and get it hosted free!

Asterisk cmd DigitTimeout

Author image

Synopsis

Set maximum timeout between digits

Deprecated in Asterisk v1.2 – use ‘Set(TIMEOUT(digit)=timeout)’ instead

Description

DigitTimeout(seconds)

Once a user begins typing an extension, the user has a maximum of DigitTimeout seconds to type additional digits before Asterisk considers the extension to be complete. If not specified in the dialplan, the default is 5 seconds.

Note that if the user has typed a sequence of digits that make up a valid extension number, it will be interpreted immediately, without waiting for the timeout. Therefore the very fact that a timeout occurs is an indication that the extension number will probably be considered invalid when it is interpreted.

When an extension is considered invalid, control passes to the i extension, or if that doesn’t exist, control passes to the t extension, or if that doesn’t exist, the call is terminated.

Unlike Wait() DigitTimeout supports only FULL seconds.
Any value below 1 sec. will result in improper digit handling. i.e. DigitTimeout (0.5) will most likely cause you problems. Specifically, a value of 0 seconds will cause Asterisk to drop out of the dialplan with a Timeout as soon as it encounters a need for DTMF input, so avoid it.

Return codes

Always returns 0.

See also


Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.