# Disable shown number on incoming calls

**URL:** <https://community.asterisk.org/t/disable-shown-number-on-incoming-calls/6915>\
**Category:** Asterisk Support\
**Created:** [June 7, 2006, 4:28pm UTC](https://community.asterisk.org/t/disable-shown-number-on-incoming-calls/6915 "2006-06-07T16:28:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![merlijn](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@merlijn](https://community.asterisk.org/u/merlijn)\
**Post date:** [June 7, 2006, 4:28pm UTC](https://community.asterisk.org/t/disable-shown-number-on-incoming-calls/6915/1 "2006-06-07T16:28:19Z")

</div>

We are having problems with some incoming calls on different numbers. We are using an EUROISDN 30 line with 20 numbers.

The main number is ending with 1888. We have some extensions on different numbers but always, the number showed on the calling telephone is changed to the main number 1888 as soon as sound is going to the caller.

For example the follwing extension:

exten =\> \_1880,1,Wait(5)  
exten =\> \_1880,n,Background(play\_music)  
exten =\> \_1880,n,Wait(50)

During the first WAIT() statement, the number 1880 is showed on my ISDN phone. As soon as the Background kicks in, the number showed on my phone is 1888 (main number). This is not something we want.

Can we somehow stop this behaviour? I’ve tried a lot with CallerID etc. with no luck so far.

Thx

---

<div class="post-metadata">

**Author:** ![merlijn](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@merlijn](https://community.asterisk.org/u/merlijn)\
**Post date:** [June 12, 2006, 1:19pm UTC](https://community.asterisk.org/t/disable-shown-number-on-incoming-calls/6915/2 "2006-06-12T13:19:26Z")

</div>

Found one problem in the zapata.conf which disabled the Set(CallerID) for outgoing calls. We now can set the CallerID for outging calls, however, the number is still changed to the base number for incoming calls (instead of the called number 1880 callers will see the base number 1888 as soon as the incoming line is answered).

---

<div class="post-metadata">

**Author:** ![merlijn](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@merlijn](https://community.asterisk.org/u/merlijn)\
**Post date:** [June 15, 2006, 11:26am UTC](https://community.asterisk.org/t/disable-shown-number-on-incoming-calls/6915/3 "2006-06-15T11:26:14Z")

</div>

Upgraded everything to the newest versions with no luck. Nobody seen this problem before?

---

<div class="post-metadata">

**Author:** ![whoiswes](https://avatars.discourse-cdn.com/v4/letter/w/dec6dc/32.png) [@whoiswes](https://community.asterisk.org/u/whoiswes)\
**Post date:** [June 15, 2006, 12:37pm UTC](https://community.asterisk.org/t/disable-shown-number-on-incoming-calls/6915/4 "2006-06-15T12:37:16Z")

</div>

we use the following settings in zapata.conf, and our callerID strings come through in full (and we are using robbed-bit T1s, which use _ANI_DNIS\*, so we route calls based on a four digit number as well.

```auto
<snip>
hidecallerid=yes ; this hides outbound callerID - doesn't affect inbound
usecallerid=yes
callwaitingcallerid=yes  
</snip>
```

this is what works for us, anyways…

---

<div class="post-metadata">

**Author:** ![merlijn](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@merlijn](https://community.asterisk.org/u/merlijn)\
**Post date:** [June 15, 2006, 12:52pm UTC](https://community.asterisk.org/t/disable-shown-number-on-incoming-calls/6915/5 "2006-06-15T12:52:43Z")

</div>

hidecallerid is for outgoing calls. We don’t want that to no, we can set our CallerID for outgoing calls. However, on incoming calls, the number shown on the display of the client is changed to the base number when the call is answered (and doesn’t stick to the number called).

This is our zapata.conf (partial):

context=default  
language=us  
pridialplan=unknown  
prilocaldialplan=unkown  
usecallerid=yes  
callerid=asreceived  
hidecallerid=no  
restrictid=no  
callwaiting=yes  
usecallingpres=yes  
callwaitingcallerid=yes  
threewaycalling=yes  
transfer=yes  
cancallforward=yes  
callreturn=yes  
echocancel=yes  
rxgain=0.0  
txgain=0.0  
immediate=no  
switchtype=euroisdn  
useincomingcalleridonzaptransfer=yes

---

<div class="post-metadata">

**Author:** ![whoiswes](https://avatars.discourse-cdn.com/v4/letter/w/dec6dc/32.png) [@whoiswes](https://community.asterisk.org/u/whoiswes)\
**Post date:** [June 15, 2006, 1:31pm UTC](https://community.asterisk.org/t/disable-shown-number-on-incoming-calls/6915/6 "2006-06-15T13:31:51Z")

</div>

i know what hidecallerid does - did you not see the comment?

comment out the ‘callerid=asreceived’, see if that takes care of it. reading the docs on that variable, it doesn’t appear so, but like i said, our setup is similar to yours and works fine without that flag even set.

---

<div class="post-metadata">

**Author:** ![merlijn](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@merlijn](https://community.asterisk.org/u/merlijn)\
**Post date:** [June 18, 2006, 6:40pm UTC](https://community.asterisk.org/t/disable-shown-number-on-incoming-calls/6915/7 "2006-06-18T18:40:40Z")

</div>

No changes. When calling the non-base number, on Answering the line, the base number is shown on my ISDN phone.
