[Asterisk-Users] Limit call length, whisper time remaining?

Mark Spencer markster at digium.com
Fri May 16 15:40:40 MST 2003


> without setting a timelimit on the current channel.
> If I use the "AbsoluteTimeout" app, the current channel will
> be hang up and therefore any channel spawned by "Dial".
> That means that you can't force a timelimit on a spawned
> channel without closing the current channel as well.

Actually you should be able to use:

exten => 1234,1,AbsoluteTimeout(120)
exten => 1234,2,Dial(Zap/somenumber|20)
exten => 1234,3,Playback(sorrynobodyanswered)
exten => 1234,4,Hangup

exten => T,1,Playback(sorrytimeisup)
exten => T,2,Hangup

Note the capital 'T'

Mark




More information about the asterisk-users mailing list