Incoming caller ID shows peer name instead of ANI

I just upgraded from version 1.6.x to version 11 (big jump). Most things came across and worked without issue. The Caller ID on incoming calls gives the peer/user name instead of the caller ID. I have added NoOp print statements to the dialplan and the CallerID(num) and CallerID(ANI-num) both have the correct number of the calling party. The CallerID(name) seems to be blank, but I wouldn’t think that would cause it to use the peer/user name instead.

Was there something that changed in Asterisk 11 (or one of the versions along the way) to cause this?
I can’t see the value in replacing the identity of the unknown caller with the known peer/user name of the phone extension.



Apparently, when the CallerID(name) is blank, this is the case.

I was able to get around it by doing this:

exten => _X.,n,Set(CALLERID(name)=${CALLERID(num)})

A little more elegant would be to test for blank name first.

It is still a mystery why anyone would want the peer/user id for any reason. I would rather have Unknown.


We too have seen this on the Digium ISDN gateways. Its with engineering to sort out at the moment
(Malcolm Give engineering a kick from me to chivvy them up with a fix)

Ian: got an issue ID from the Support people?

Hi Its Case # 00300619

They need a Kick, not heard from them this week…