[asterisk-users] Caller ID issue

Cassius Smith cassius at cassius.org
Mon Aug 2 14:56:31 CDT 2010


Hi list,
I'm having a problem with CallerID names not showing up when calls come
in. I have dialplan code to store the callerid(name) away and it is
blank (null). However, the voicemail variable ${VM_CALLERID} has the
name field populated. For example, here is some of the dialplan code:
     2. Set(CALLER_ID_INFO_ALL=${CALLERID(all)}) 
     3. Set(CALLER_ID_INFO_NAME=${CALLERID(name)})
     4. Set(CALLER_ID_INFO_NUM=${CALLERID(num)}) 
     5. Set(CALLER_ID_INFO_ANI=${CALLERID(ANI)})   
     6. Set(CALLER_ID_INFO_DNID=${CALLERID(DNID)}) 

Which yields this at the CLI:

  -- Executing [3703 at from_outside:2] Set("DAHDI/1-1",
"CALLER_ID_INFO_ALL="" <2565551212>") in new stack
    -- Executing [3703 at from_outside:3] Set("DAHDI/1-1",
"CALLER_ID_INFO_NAME=") in new stack
    -- Executing [3703 at from_outside:4] Set("DAHDI/1-1",
"CALLER_ID_INFO_NUM=2565551212") in new stack
    -- Executing [3703 at from_outside:5] Set("DAHDI/1-1",
"CALLER_ID_INFO_ANI=2565551212") in new stack

Note the first line should have the name field with the number, but does
not.

HOWEVER the voicemail notification contains:
"Just wanted to let you know you were just left a 0:04 long message
(number 1) in mailbox 3703 from "SMITH CASSIUS  " <2565551212>"

So - I know the NAME field is getting into the system, but it's not
showing up on the phones (and with telemarketers, that annoys my
users). 
I'm using Asterisk 1.6.2.9, DAHDI 2.3.0
I have added callerid=asreceived to chan_dahdi.conf for my inbound
trunks, and shrinkcallerid=no to my sip.conf. (without effect)

Any ideas?

THANKS
Cassius





More information about the asterisk-users mailing list