Upgrade 3CX to v18 and get it hosted free!

Asterisk cmd ResponseTimeout

Author image

Synopsis

Set maximum timeout awaiting response

Description

ResponseTimeout(seconds)

Set the maximum amount of time permitted after falling through a series of priorities for a channel in which the user may begin typing an extension. If the user does not type an extension in this amount of time, control will pass to the ‘t’ extension if it exists, and if not, the call would be terminated.

If ResponseTimeout is not explicitly set in an extension, the default value of 15 seconds will be used.

New syntax for Asterisk version 1.2:

In Asterisk 1.2, the ResponseTimeout application is implemented as a dialplan function:

Set(TIMEOUT(response)=seconds)

Tips

The autofallthrough setting introduced in Asterisk 1.2 now defaults to ‘yes’ in Asterisk 1.4; if your dialplan relies on the ability to ‘run off the end’ of an extension and wait for a new extension without using WaitExten() to accomplish that, you will need set autofallthrough to ‘no’ in your extensions.conf file.

A user experience

“autofallthrough=yes” causes the ResponseTimeout() to be ignored (as far as I can tell). After running out of extensions in a context, instead of waiting the amount of time specified in ResponseTimeout() and proceeding to t, the hangup extension (h) is reached. So: In order to obtain the behavior described above, make sure that autofallthrough is not set.

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.