Displaying 3 results from an estimated 3 matches for "llerid".
Did you mean:
llerin
2007 Aug 31
2
Shortening Context code
...I had a large block of code, eg:
[outgoing-pstn-gradwell]
; the caller ID convertion assumes that the last two digits 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
ex...
2007 Aug 30
4
How to handle "+" prefix
...tgoing-pstn context. Not sure if a Goto would work here...
[outgoing-pstn-international]
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...
2004 May 24
2
testing asterisk on FXS lines
I am configuring an asterisk server and I want to test the incoming
configuration with my FXS handsets.
I have the FXS lines able to call eachother and they can connect out
the FXO lines.
I changed the context for the FXS lines to "incoming" so that they
would be able to test the setup for incoming calls.
For the incoming context I have:
[incoming]
exten => s,1,Wait(1)
exten