AbsoluteTimeout( ) Sets the maximum number of seconds a call may last
AbsoluteTimeout(length)
Sets the absolute time limit of a call to length seconds. Calls lasting longer than length seconds will be sent to the T (absolute timeout) extension, if it exists. Otherwise, the channel will be hung up.
If length is set to zero (0), the timeout is disabled.
Each time AbsoluteTimeout( ) runs, it overrides the previous timeout setting. Asterisk starts the timeout countdown at the time the application is called, not at the time the call starts.
; limit calls to ex-girlfriend to 300 seconds
exten => 123,1,AbsoluteTimeout(300)
exten => 123,2,Dial(${EX-GIRLFRIEND})
exten => T,1,Playback(im-sorry)
exten => T,2,Playback(vm-goodbye)
exten => T,3,Hangup( )
See Also
DigitTimeout( ), ResponseTimeout( ), the T extension