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

Michael Manousos manousos at inaccessnetworks.com
Mon May 19 04:48:44 MST 2003


Mark Spencer wrote:
>>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'

Hmm, this doesn't seem to work. I can't get on 'T' (or 't')
extension, although I do have a 'AbsoluteTimeout' before
the 'Dial' call. Testing it with latest CVS.

Michael.

> 
> Mark
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list