Dahdi CallerID Setup

Hi guys,

I have 4 analog lines coming into the building. We are paying for the caller ID service. I’m working on a new asterisk server, 1.8, and I am having a bit of difficulty with the caller ID.

On the old server the incoming number is passed to the sip phones (Cisco SPA502G) and is properly displayed. With the new server all I see is “From: Asterisk” displayed on the screen. At the very least I would like to get rid of users seeing “From: Asterisk.” I would rather them see unknown.

Been having problems finding documentation on callerid setup which has made this a little challenging. The following is what I currently have. BTW, callerid works fine between the sip phones.

chan_dahdi.conf

[channels]
signalling = fxs_ks    
context=incoming
usecallerid=yes
cidsignalling=bell    
cidstart=ring       
callwaiting=yes
max_call_waiting_calls=2
threewaycalling=yes
hidecallerid=no
sendcalleridafter=1
echocancel=yes  
rxgain=2.0          
txgain=2.0             
callerid=asreceived
group=1
callgroup=1
pickupgroup=1
channel => 1-4  

extensions.conf

[globals]
LOCAL = DAHDI/G1

[general]
static = yes
writeprotect = no

[LocalSets]
include => external
include => incoming
include => services

exten => 1000,hint,SIP/user0
exten => 1000,1,Dial(SIP/user0,5)
same => n,GotoIf($["${DIALSTATUS}" = "BUSY"]?busy:unavail)
same => n(unavail),VoiceMail(1000@normMessage,b)
same => n,Hangup()
same => n(busy),VoiceMail(1000@normMessage,b)
same => n,Hangup()

exten => 1001,hint,SIP/user1
exten => 1001,1,Dial(SIP/user1,5)
same => n,GotoIf($["${DIALSTATUS}" = "BUSY"]?busy:unavail)
same => n(unavail),VoiceMail(1001@normMessage,b)
same => n,Hangup()
same => n(busy),VoiceMail(1001@normMessage,b)
same => n,Hangup()


[services]
exten => 6150,1,VoiceMailMain(${EXTEN}@normMessage)

[incoming]
exten => s,1,Answer()
same => n,Set(${CALLERID(num)})
same => n,Dial(SIP/user0)

Howdy,

Is that a Digium telephony card you’re using?

Yes, it’s a Digium 1AEX808EF. 8 Analog ports + echo canceler

My Dahdi system.conf file looks like this

loadzone=us
defaultzone=us
fxsks=1-4
echocanceller=mg2,1-4

Please contact Digium’s Support department directly:

digium.com/en/users/support_ … hp?tab=log