[asterisk-users] CID not working.

Danny Nicholas danny at debsinc.com
Wed Dec 30 09:05:13 CST 2009


How is DAHDI-1 set up in users.conf?

You need something like this

; Span 2: WCTDM/4 "Wildcard TDM400P REV I Board 5"

[4001]

fullname =  Line 1

cid_number = 5551212

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Arun Sasidhar
Sent: Wednesday, December 30, 2009 8:56 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] CID not working.

 

Hi,

    I am using asterisk 1.4.28 with freepbx and Wildcard TDM410P card.
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...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091230/ffed854d/attachment.htm 


More information about the asterisk-users mailing list