# Disable forwarding to mobile for internal calls

In the [extension ](/mikopbx/english/manual/telephony/extensions.md)settings you can configure routing. If an employee is not available, the call can be directed to his mobile phone number. This function is not necessary for all cases. For example, clients often ask to turn it off for internal calls.

1. Go to the “**System**” section -> “**System file customization**”

<figure><img src="/files/tYsBgqXvD9DV5euOc4N0" alt=""><figcaption><p>"System file customization" section</p></figcaption></figure>

2. Select the file “**/etc/asterisk/extensions.conf**” to edit.

<figure><img src="/files/R61HVwQh4xX75UmmNNdE" alt=""><figcaption><p>"Extensions.conf" file</p></figcaption></figure>

3. Select the “**Add to end of file**” mode.

<figure><img src="/files/C7EW4Aums6AgUXyM3cQZ" alt=""><figcaption><p>“Add to end of file” mode</p></figcaption></figure>

4. Add the code to the second field:

{% code fullWidth="true" %}

```php
[internal-users-custom]
exten => _X!,1,ExecIf($[ "${FROM_DID}x" == "x" ]?Set(__QUEUE_SRC_CHAN=${CHANNEL}))
	same => n,return
```

{% endcode %}

<figure><img src="/files/GvMTUYfRz8ziQ1cRhNR3" alt=""><figcaption><p>Code for "extensions.conf" file</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mikopbx.com/mikopbx/english/faq/cases/disable-forwarding-to-mobile-for-internal-calls.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
