# Замена префикса номера с "+7" на "8"

Необходимо **заменить** префиксы номеров **+7** на **8**. Пример, номер **+7**4952293042 должен быть преобразован к номеру **8**4952293042.

1. Перейдите в раздел "**Маршрутизация"** → "**Исходящие маршруты"**

Нажмите **"Добавить новое правило**"

<figure><img src="/files/4eD7hxbKDq5F3lzYNTzr" alt=""><figcaption></figcaption></figure>

2. Создайте шаблон как представлено на изображении:

<figure><img src="/files/MYkrdKuzgfWJNwmGr4L0" alt=""><figcaption></figcaption></figure>

3. Нажмите "**Сохранить**"


---

# 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/faq/outbound-routing/number-templates/replacing-the-number-prefix-from-+7-to-8.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.
