Hello,
I want to either with-hold my callerid number or set it to one of my choosing when making outgoing calls.
Outgoing calls are made through the zap channel. In zapata.conf I have tried setting “hidecallerid=yes”. This results in the PRI’s main DDI number being displayed. I have also tried in zapata.conf setting “hidecallerid-no” then in extensions.conf I set callerid to the number I want displayed. Again the PRI’s main DDI number is displayed.
Can anyone point out what I’m doing wrong, here?
The content of zapata.conf is as follows:
[channels]
language = en
context = incoming
signalling = pri_cpe
pridialplan = unknown
prilocaldialplan = unknown
rxwink=300
threewaycalling=yes
canpark=yes
callerid = asreceived
usecallerid = yes
hidecallerid = no
usecallingpres = yes
switchtype = euroisdn
echocancel = yes
echocancelwhenbridged = yes
rxgain = 0
txgain = 0
musiconhold = default
callwaiting = yes
transfer = yes
cancallforward = yes
callreturn = yes
overlapdial = yes
pulsedial = yes
nationalprefix = 0
internationalprefix = 00
relaxdtmf=yes
group = 1
channel => 1-15,17-31
channel => 32-46,48-62
And my extensions.conf outbound dial is:
exten => s,1,Set(CALLERID(num)=01215063743)
exten => s,n,Dial(ZAP/g1/${MACRO_EXTEN})
exten => s,n,GotoIf($["${DIALSTATUS}" = "BUSY"]?97)
exten => s,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?99)
exten => s,97,Playback(telephone-number)
exten => s,98,Playback(is-curntly-busy)
exten => s,99,Playback(telephone-number)
exten => s,100,Playback(is-curntly-unavail)
exten => s,101,Hangup()
Thanks in advance.