Displaying 1 result from an estimated 1 matches for "internalendcall".
2005 May 16
1
Dial plan - does not stop after first match
...LastStatus=UserInvalid)
exten => s,9,Goto(11)
exten => s,10,SetVar(LastStatus=Error)
exten => s,11,Background(ocg/enterextension) ; PLAY enter the extension
you wish to dial
; "*" Repeat the previous menu
exten => *,1,Goto(s,1)
; "#" hangup
exten => #,1,Goto(internalendcall,s,1) ; End the call
; If any other extension then say invalid (used only for initial
connection to allow connection
; instead of 403 error)
include => internalinvalid
; If they take too long, check if completed something useful
(LastStatus) go back to menu, else timeout
exten => t,1,Got...