[asterisk-users] CID not working.

Arun Sasidhar
Wed, 30 Dec 2009 14:56:01 -0000

Everything is working fine except the caller ID of incoming call from PSTN
line. The phone display is showing "Unknown" when there is an incoming
call.

*My log file showing this while an incoming call on PSTN line:*
tail -f /var/log/asterisk/full

[Dec 30 06:36:16] DEBUG[2559] dsp.c: dsp busy pattern set to 0,0
[Dec 30 06:36:16] VERBOSE[2715] logger.c:     -- Starting simple switch on
'DAHDI/1-1'
[Dec 30 06:36:16] VERBOSE[2715] logger.c:     -- Executing [s at from-pstn:1]
Set("DAHDI/1-1", "__FROM_DID=s") in new stack
[Dec 30 06:36:16] VERBOSE[2715] logger.c:     -- Executing [s at from-pstn:2]
Gosub("DAHDI/1-1", "app-blacklist-check|s|1") in new stack
[Dec 30 06:36:16] VERBOSE[2715] logger.c:     -- Executing
[s at app-blacklist-check:1] LookupBlacklist("DAHDI/1-1",
"") in new stack
[Dec 30 06:36:16] VERBOSE[2715] logger.c:     -- Executing
[s at app-blacklist-check:2] GotoIf("DAHDI/1-1",
"0?blacklisted") in new stack
[Dec 30 06:36:16] VERBOSE[2715] logger.c:     -- Executing
[s at app-blacklist-check:3] Set("DAHDI/1-1",
"CALLED_BLACKLIST=1") in new
stack
[Dec 30 06:36:16] VERBOSE[2715] logger.c:     -- Executing
[s at app-blacklist-check:4] Return("DAHDI/1-1", "") in new
stack
[Dec 30 06:36:16] VERBOSE[2715] logger.c:     -- Executing [s at from-pstn:3]
ExecIf("DAHDI/1-1", "1 |Set|CALLERID(name)=") in new stack
[Dec 30 06:36:16] VERBOSE[2715] logger.c:     -- Executing [s at from-pstn:4]
Set("DAHDI/1-1", "FAX_RX=disabled") in new stack
[Dec 30 06:36:16] VERBOSE[2715] logger.c:     -- Executing [s at from-pstn:5]
Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in
new stack


*My chan_dahdi.conf file is as like this.*
vim /etc/asterisk/chan_dahdi.conf

[channels]
language=en
hanguponpolarityswitch=yes
answeronpolarityswitch=yes
busydetect=yes
busycount=3
callprogress=yes
callerid=asreceived
immediate=yes
cidsignalling=dtmf
cidstart=polarity
;cidstart=ring
useincomingcalleridonzaptransfer=yes
;cidsignalling=bell
; include dahdi extensions defined in FreePBX
#include chan_dahdi_additional.conf

; XTDM20B Port #1,2 plugged into PSTN
;AMPLABEL:Channel %c - Button %n

Please help me for fixing this issue. I am from India.


Regards,
Aruns
-------------- next part --------------
An HTML attachment was scrubbed...