|
|
@ -331,7 +331,8 @@ exten => a,1,VoicemailMain(${ARG1}) ; If they press *, send the user into Voi
|
|
|
|
; ${ARG3} - Optional DONTCALL context name to jump to (assumes the s,1 extension-priority)
|
|
|
|
; ${ARG3} - Optional DONTCALL context name to jump to (assumes the s,1 extension-priority)
|
|
|
|
; ${ARG4} - Optional TORTURE context name to jump to (assumes the s,1 extension-priority)`
|
|
|
|
; ${ARG4} - Optional TORTURE context name to jump to (assumes the s,1 extension-priority)`
|
|
|
|
;
|
|
|
|
;
|
|
|
|
exten => s,1,Dial(${ARG2},20|p) ; Ring the interface, 20 seconds maximum, call screening option (or use P for databased call screening)
|
|
|
|
exten => s,1,Dial(${ARG2},20|p) ; Ring the interface, 20 seconds maximum, call screening
|
|
|
|
|
|
|
|
; option (or use P for databased call screening)
|
|
|
|
exten => s,2,Goto(s-${DIALSTATUS},1) ; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
|
|
|
|
exten => s,2,Goto(s-${DIALSTATUS},1) ; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
|
|
|
|
|
|
|
|
|
|
|
|
exten => s-NOANSWER,1,Voicemail(u${ARG1}) ; If unavailable, send to voicemail w/ unavail announce
|
|
|
|
exten => s-NOANSWER,1,Voicemail(u${ARG1}) ; If unavailable, send to voicemail w/ unavail announce
|
|
|
@ -357,12 +358,12 @@ exten => a,1,VoicemailMain(${ARG1}) ; If they press *, send the user into Voi
|
|
|
|
; ${ARG1} - Device to page
|
|
|
|
; ${ARG1} - Device to page
|
|
|
|
|
|
|
|
|
|
|
|
exten => s,1,ChanIsAvail(${ARG1}|js) ; j is for Jump and s is for ANY call
|
|
|
|
exten => s,1,ChanIsAvail(${ARG1}|js) ; j is for Jump and s is for ANY call
|
|
|
|
exten => s,2,GoToIf([${AVAILSTATUS} = "1"]?3:7)
|
|
|
|
exten => s,n,GoToIf([${AVAILSTATUS} = "1"]?autoanswer:fail)
|
|
|
|
exten => s,3,Set(_ALERT_INFO="RA") ; This is for the PolyComs
|
|
|
|
exten => s,n(autoanswer),Set(_ALERT_INFO="RA") ; This is for the PolyComs
|
|
|
|
exten => s,4,SIPAddHeader(Call-Info: Answer-After=0) ; This is for the Grandstream, Snoms, and Others
|
|
|
|
exten => s,n,SIPAddHeader(Call-Info: Answer-After=0) ; This is for the Grandstream, Snoms, and Others
|
|
|
|
exten => s,5,NoOp() ; Add others here and Post on the Wiki!!!!
|
|
|
|
exten => s,n,NoOp() ; Add others here and Post on the Wiki!!!!
|
|
|
|
exten => s,6,Dial(${ARG1}||)
|
|
|
|
exten => s,n,Dial(${ARG1}||)
|
|
|
|
exten => s,7,Hangup
|
|
|
|
exten => s,n(fail),Hangup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[demo]
|
|
|
|
[demo]
|
|
|
@ -530,4 +531,6 @@ include => demo
|
|
|
|
;
|
|
|
|
;
|
|
|
|
; 'show application <command>' will show details of how you
|
|
|
|
; 'show application <command>' will show details of how you
|
|
|
|
; use that particular application in this file, the dial plan.
|
|
|
|
; use that particular application in this file, the dial plan.
|
|
|
|
;
|
|
|
|
; 'show functions" will list all dialplan functions
|
|
|
|
|
|
|
|
; 'show function <COMMAND>' will show you more information about
|
|
|
|
|
|
|
|
; one function. Remember that function names are UPPER CASE.
|
|
|
|