# Change incoming anonymous CID

**URL:** <https://community.asterisk.org/t/change-incoming-anonymous-cid/41134>\
**Category:** Asterisk Support\
**Created:** [November 22, 2012, 2:49pm UTC](https://community.asterisk.org/t/change-incoming-anonymous-cid/41134 "2012-11-22T14:49:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joostspike](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/joostspike/32/1737_2.png) [@joostspike](https://community.asterisk.org/u/joostspike)\
**Post date:** [November 22, 2012, 2:49pm UTC](https://community.asterisk.org/t/change-incoming-anonymous-cid/41134/1 "2012-11-22T14:49:29Z")

</div>

Hello,

I’m using asterisk and i’ve noticed that our Cisco SPA50X-phones displays an anonymous call as "Anonymous Caller"  
Is there a possibility to change the anonymous@… header, so it will be 0000@…

Als transferred calls with the header “anonymous via Ext001” are displayed as Anonymous Caller instead of “Anonymous via Ext001”

Best regards,  
Joost Lauwen

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [November 22, 2012, 3:35pm UTC](https://community.asterisk.org/t/change-incoming-anonymous-cid/41134/2 "2012-11-22T15:35:50Z")

</div>

To set the caller ID to 0000, use Set(CALLERID(num)=0000).

I don’t understand the second question.

You may need to test the value of ${CALLERID(name)} or ${CALLERID(num)}, and you may need to extract the SIP From: header and examine that.

---

<div class="post-metadata">

**Author:** ![joostspike](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/joostspike/32/1737_2.png) [@joostspike](https://community.asterisk.org/u/joostspike)\
**Post date:** [November 22, 2012, 3:57pm UTC](https://community.asterisk.org/t/change-incoming-anonymous-cid/41134/3 "2012-11-22T15:57:27Z")

</div>

Is this the way to change the CallerID of an incoming call? Our provider is sending us anonymous calls in the following format. [Anonymous@voxbone.com](mailto:Anonymous@voxbone.com).  
Can this be changed to [0000@voxbone.com](mailto:0000@voxbone.com) on our side?

The second question is not relevant. If i can change the anonymous CID then the second question is automatically solved.

---

<div class="post-metadata">

**Author:** ![david55](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@david55](https://community.asterisk.org/u/david55)\
**Post date:** [November 22, 2012, 5:48pm UTC](https://community.asterisk.org/t/change-incoming-anonymous-cid/41134/4 "2012-11-22T17:48:43Z")

</div>

Yes.

core show application execif

core show function CALLERID

core show application set

And look at doc/tex/channelvariables.tex, particularly the bit on expressions (you should be able to find a formatted version somewhere, but I never bother).
