[Asterisk-Users] Weirdness with CALLERID / CALLERIDNAME from incoming PRI

Adams, Gavin gadams at promisant.com
Wed Dec 24 09:19:49 MST 2003

Hey all,

We've upgraded our PRI trunk to support what BellSouth calls "enhanced
caller id name delivery". The weird part is, I'm only capable of seeing
the name portion on incoming calls within voicemail2's email delivery.

For example, on an incoming call, asterisk is reporting this:

Context from extensions.conf (BS delivers 7-digit DIDs):

exten => 9133727,1,Answer
exten => 9133727,2,SetMusicOnHold,random
exten => 9133727,3,NoOp,${CALLERID}
exten => 9133727,4,Dial(SIP/5001&SIP/5013,20)
exten => 9133727,5,Voicemail2(u5001 at sip)
exten => 9133727,105,Dial(SIP/5002)
exten => 9133727,106,Voicemail2(u5001 at sip)
exten => 9133727,206,Voicemail2(b5001 at sip)

When calling from 404-555-8183 to the number above the console is

    -- Accepting call from '4045558183' to '9133727' on channel 6, span
    -- Executing SetMusicOnHold("Zap/6-1", "random") in new stack
    -- Executing NoOp("Zap/6-1", "4049338183") in new stack

So from the NoOp echo, I don't see the full name (fyi, I get the same

However, if I let the call go through to voicemail via priority 5, the
email message I receive has the following header:

	Just wanted to let you know you were just left a 0:05 long
message (number 1) in mailbox 5001 from "ATLANTA, GA" <4045558183>, on
Wednesday, December 24, 2003 at 10:18:22 AM so you might want to check
it when you get a chance.  Thanks!

My thought is that the name is being delivered else voicemail2 wouldn't
be able to get the "ATLANTA, GA" portion.

Running from CVS, version:      Asterisk CVS-12/24/03-10:55:24

Any idea why I'm not able to parse or see the CALLERIDNAME from
extensions.conf but voicemail2 sees it just fine?

Happy Holidays all,

--- Gavin Adams
Promisant (Technology) Ltd.
Atlanta, GA 

More information about the asterisk-users mailing list