Limit Call Duration (Thanks to P. Lindheimer and Brian
Ingoldsby)
-
Add this to extensions_custom.conf
-
[from-internal-timelimit]
-
exten => _.,1,Set(TIMEOUT(absolute)=30)
; Max Call Time is 30
Seconds
-
exten => _.,n,Goto(from-internal,${EXTEN},1)
-
In the extension setup, set the context to from-internal-timelimit,
click for a sample