Asterisk cmd AbsoluteTimeout
Synopsis:
Set absolute maximum time of callDescription:
AbsoluteTimeout(seconds)- Set the absolute maximum amount of time permitted for a call. A setting of 0 disables the timeout.
- Note that the timeout is set from the current time forward, not counting the number of seconds the call has already been up.
- Each time you call AbsoluteTimeout(), all previous absolute timeouts are cancelled.
- Will return the call to the T extension so that you can playback an explanatory note to the calling party (the called party will not hear that)
Set(TIMEOUT(absolute)=seconds)
- New Syntax in Version 1.2
Return codes
Always returns 0.Note that the behaviour described above only applies if the channel has been answered. If it hasn't, then all bets are off - the T extension is never run and any Wait() commands are ignored from the timeout point onwards. Any commands/functions which may take time to run (e.g. CURL()) are allowed to run their course regardless of how long they take.
See also
- Asterisk T extension: The AbsoluteTimeout extension
- Asterisk t extension: The timeout extension
- Asterisk standard extensions
Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ


Comments
333Set(TIMEOUT(absolute) = seconds not working in 1.2 ?
But the New syntax for version 1.2 is not working for me.
When I use the old syntax it works, just like expected, but in the log file, I see a line telling that this syntax is deprecated.
So in the mean while, I will use the old syntax.