> For the complete documentation index, see [llms.txt](https://docs.mikopbx.com/mikopbx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mikopbx.com/mikopbx/english/faq/cases/bluring.md).

# Hiding the Caller’s Number from Employees

In some cases, employees should not see the actual phone number of a client. Here is a possible approach to solving this problem: employees will be provided with an alternative number that they can use to call back.

1. Go to **System** → **System File Customization**.

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FhTmaJ0lPE0zg51NSG7oV%2FsystemFileCustomization.jpg?alt=media&amp;token=07a5052e-efb2-40ef-9974-832cbf4d8eae" alt=""><figcaption><p>"System file customization" section</p></figcaption></figure>

2. Open the **modules.conf** configuration file for editing. Set the mode to "**Add to end of file**".

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FqxR0I3GvxZFdSrqSUs5z%2FmodulesConf.jpg?alt=media&amp;token=fd56fdb2-4e11-4c6d-be51-a2c1b4edb3ed" alt=""><figcaption><p>"Add to end of file" mode</p></figcaption></figure>

3. Connect the module to calculate the hash sum:

```
load => func_md5.so
```

4. Open the **extensions.conf** configuration file for editing. Set the mode to "**Add to end of file**".

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FiH3IymZkMN7nBJMSUsrM%2FextensionsConf.jpg?alt=media&amp;token=1fa3f3c1-1aee-4c5a-a434-42ef779a63a5" alt=""><figcaption><p>"Add to end of file" mode</p></figcaption></figure>

5. Define the context for number substitution:

{% code fullWidth="true" %}

```php
[dial_create_chan-custom]
exten => s,1,NoOp()
    ; Only for incoming calls
    same => n,ExecIf($["${CHANNEL(channeltype)}" == "Local" || "${FROM_DID}x" == "x"]?return)
    ; No processing required if an internal number is calling
    same => n,ExecIf(${DIALPLAN_EXISTS(internal,${CONNECTEDLINE(num)},1)}?return)
    ; No processing required if the number is not in the list
    same => n,ExecIf($[${DIALPLAN_EXISTS(bluring-extensions,${CHANNEL(endpoint)},1)} == 0]?return)
    ; Retrieve the cached number
    same => n,Set(blNumber=${CONNECTEDLINE(num):-4}*${MD5(${CONNECTEDLINE(num)})})
    same => n,Set(DB(bluring/${blNumber})=${CONNECTEDLINE(num)})
    ; Replace the caller ID
    same => n,Set(CONNECTEDLINE(num)=${blNumber})
    same => n,Set(CONNECTEDLINE(name)=${blNumber})
	same => n,return

```

{% endcode %}

6. Describe the context with the numbers for which you need to replace the number:

```php
[bluring-extensions]
; Allow number substitution for extension 201
exten => 201,1,NoOp()
; Allow substitution for all four-digit extensions
exten => _XXXX,1,NoOp()
```

7. We will provide the opportunity to call back to a replacement number:

```php
[all_peers](+)
exten => _XXXX*.,1,Set(number=${DB(bluring/${EXTEN})})
    same => n,ExecIf($["${number}x" == "x"]?hangup)
    same => n,Goto(all_peers,${number},1)
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mikopbx.com/mikopbx/english/faq/cases/bluring.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
