CID name prefix not appearing for calls without CID, FreePBX 2.3.1

If I set a CID name prefix for an inbound route or ring group, it works as along as the incoming call actually has CID information.

If the incoming call lacks CID information, then the destination set does not receive any caller ID at all, not even the name prefix. Obviously, if you’re using name prefix to decide how to answer an incoming call, this is a problem.

Given the problems that other people have had with name prefixes in ring groups and queues, could this be related?

Any ideas or suggestions?

I too had this problem with Anonymous calls. System will not allow me to override the “Anonymous” CID name coming in and always shows up on my CID box as Unknown. Until I found this - http://www.voip-info.org/wiki-Asterisk%20cmd%20SetCallerPres

All you need to do is to :

exten => s,1,SetCallerPres(allowed)
exten => s,n,Set(CALLERID(name)=“Your name Prefix”-${CALLERID(number)})