September 2005
Intermediate to advanced
408 pages
16h 20m
English
ResponseTimeout() — Sets maximum timeout for awaiting response from caller
ResponseTimeout(seconds)Sets the maximum amount of time permitted after falling through
a series of priorities for a channel in which the caller may begin
typing an extension. If the caller does not type an extension in this
amount of time, control will pass to the t extension, if it exists; if not, the call
will be terminated.
Always returns 0.
; allow callers three seconds to make a choice, before sending them
; to the 't' extension
exten => s,1,Answer()
exten => s,2,ResponseTimeout(3)
exten => s,3,Background(enter-ext-of-person)
exten => t,1,Playback(im-sorry)
exten => t,1,Playback(goodbye)