Asterisk cmd AbsoluteTimeout

Synopsis:

Set absolute maximum time of call

Status:

Deprecated in 1.2 in favor of TIMEOUT(absolute) function
Removed in 1.4

Description:

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 | Applications | Functions | Variables | Expressions | Asterisk FAQ

Synopsis:

Set absolute maximum time of call

Status:

Deprecated in 1.2 in favor of TIMEOUT(absolute) function
Removed in 1.4

Description:

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 | Applications | Functions | Variables | Expressions | Asterisk FAQ

Created by: oej, Last modification: Wed 28 of Jan, 2009 (07:58 UTC) by dant
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+