Displaying 1 result from an estimated 1 matches for "_xxxxxxx1xxxxxxxxxx".
2004 Jan 30
0
Re: DISA and authcodes (was: t410p)
...dantic reasons.
;
exten => _X.,1,DISA(no-password,main2)
exten => _X.,2,Hangup
;
exten => h,1,Hangup
exten => i,1,Congestion
exten => i,2,Hangup
exten => t,1,Congestion
exten => t,2,Hangup
;
;
[main2]
;
; Now, set the AUTHCODE to be the first seven digits of EXTEN
;
exten => _XXXXXXX1XXXXXXXXXX,1,SetVar(AUTHCODE=${EXTEN:0:7})
;
; ...and then forward this call out to a new context and extension,
; where the new extension is the 7th through 17th digit of the old EXTEN,
; which should translate into 1-123-456-7890 or whatever it was that
; the user entered as the desired destination phone...