Displaying 2 results from an estimated 2 matches for "pstn_g".
Did you mean:
pstn_2
2007 Aug 31
2
Shortening Context code
...ts of the
callers id
; are mapped to the last two digits of the PSTN number.
exten =>
_0.,1,ExecIF($["${RECORDOUTBOUND}"="TRUE"],Monitor,wav|${TIMESTAMP}-${CA
LLERID(num)}-${EXTEN}-${UNIQUEID}.WAV)
exten =>
_0.,2,ExecIF($[${LEN(${CALLERID(num)})}=4],Set,CALLERID(number)=${PSTN_G
LOBAL}${CALLERID(num):-2})
exten => _0.,3,Dial(${TRUNK}/${EXTEN},,W)
exten => _0.,4,Congestion
exten => _0.,5,Goto(outgoing-zen-out-0,${EXTEN},1)
exten => _0.,103,Busy
exten => _0.,104,Goto(outgoing-zen-out-0,${EXTEN},1)
(or larger)
But I wanted to use the same logic for a differen...
2007 Aug 30
4
How to handle "+" prefix
...national]
exten => _+.,1,Set(EXTEN=00${EXTEN:+1})
exten => _+.,2,NoOp(test line: ${EXTEN})
[outgoing-pstn]
exten =>
_0.,1,ExecIF($["${RECORDOUTBOUND}"="TRUE"],Monitor,wav|${TIMESTAMP}-${CA
LLERID(num)}-${EXTEN}-${UNIQUEID}.WAV)
;exten => _0.,2,Set(CALLERID(number)=${PSTN_GLOBAL}${CALLERID(num):-2})
exten =>
_0.,2,ExecIF($[${LEN(${CALLERID(num)})}=4],Set,CALLERID(number)=${PSTN_G
LOBAL}${CALLERID(num):-2})
exten => _0.,3,Dial(${TRUNK}/${EXTEN},,W)
exten => _0.,4,Congestion
exten => _0.,5,Goto(outgoing-zen-out-0,${EXTEN},1)
exten => _0.,103,Busy
exten =&...