Synopsis:

Description:

Gets or sets various channel timeouts. The timeouts that can bemanipulated are:

absolute: The absolute maximum amount of time permitted for a call. Asetting of 0 disables the timeout.

digit: The maximum amount of time permitted between digits when theuser is typing in an extension. When this timeout expires,after the user has started to type in an extension, theextension will be considered complete, and will beinterpreted. Note that if an extension typed in is valid,it will not have to timeout to be tested, so typically atthe expiry of this timeout, the extension will be consideredinvalid (and thus control would be passed to the 'i'extension, or if it doesn't exist the call would beterminated). The default timeout is 5 seconds.

response: The maximum amount of time permitted after falling through aseries of priorities for a channel in which the user maybegin typing an extension. If the user does not begin typing anextension in this amount of time, control will pass to the't' extension if it exists, and if not the call would beterminated. Once the user begins to type an extension Asteriskwill wait for digit timeout to be reached and response timeout hasno effect. The default timeout is 10 seconds.

Notes

This function may be both read from and written to.

If dialplan execution runs out of priorities to execute and autofallthrough (introduced in Asterisk 1.2) is 'yes' (the default in Asterisk 1.4), then you must call WaitExten() when you want to allow the user to enter a new extension, otherwise Asterisk will terminate the call. If you set autofallthrough to 'no', then Asterisk will wait for the user to dial a new extension and the wait time will be controlled by these timeouts.

Used By

TIMEOUT(digit) and TIMEOUT(response) are consulted by the following dialplan commands (applications):

DISA()

Read() — timeout parameter will override TIMEOUT(response) and TIMEOUT(digit), if soundfile is played, only TIMEOUT(response) is used

WaitExten() — timeout parameter will override TIMEOUT(response)

TIMEOUT(digit) and TIMEOUT(response) are consulted by the following AGI commands:

get option (uses only TIMEOUT(digit) and only if the timeout parameter is 0)

See also

Synopsis:

Description:

Gets or sets various channel timeouts. The timeouts that can bemanipulated are:

absolute: The absolute maximum amount of time permitted for a call. Asetting of 0 disables the timeout.

digit: The maximum amount of time permitted between digits when theuser is typing in an extension. When this timeout expires,after the user has started to type in an extension, theextension will be considered complete, and will beinterpreted. Note that if an extension typed in is valid,it will not have to timeout to be tested, so typically atthe expiry of this timeout, the extension will be consideredinvalid (and thus control would be passed to the 'i'extension, or if it doesn't exist the call would beterminated). The default timeout is 5 seconds.

response: The maximum amount of time permitted after falling through aseries of priorities for a channel in which the user maybegin typing an extension. If the user does not begin typing anextension in this amount of time, control will pass to the't' extension if it exists, and if not the call would beterminated. Once the user begins to type an extension Asteriskwill wait for digit timeout to be reached and response timeout hasno effect. The default timeout is 10 seconds.

Notes

This function may be both read from and written to.

If dialplan execution runs out of priorities to execute and autofallthrough (introduced in Asterisk 1.2) is 'yes' (the default in Asterisk 1.4), then you must call WaitExten() when you want to allow the user to enter a new extension, otherwise Asterisk will terminate the call. If you set autofallthrough to 'no', then Asterisk will wait for the user to dial a new extension and the wait time will be controlled by these timeouts.

Used By

TIMEOUT(digit) and TIMEOUT(response) are consulted by the following dialplan commands (applications):

DISA()

Read() — timeout parameter will override TIMEOUT(response) and TIMEOUT(digit), if soundfile is played, only TIMEOUT(response) is used

WaitExten() — timeout parameter will override TIMEOUT(response)

TIMEOUT(digit) and TIMEOUT(response) are consulted by the following AGI commands:

get option (uses only TIMEOUT(digit) and only if the timeout parameter is 0)