> 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/faq/cases/paging.md).

# Настройка функции "Paging"

Пейджинг через телефоны, т.е. передача голосового сообщения через насколько телефонов через громкую связь. К примеру руководитель может быстро созвать совещание.

{% hint style="success" %}
Данная инструкция подойдет для телефонов:

* **Linksys**
* **Cisco**
* **Telephone** (софтфон)
* **Grandstream**
* **microsip** (софтфон)
* **Yealink**
* **Fanvil**
* **Snom**
  {% endhint %}

1. Перейдите в раздел "**Кастомизация системных файлов**"

<figure><img src="/files/uCSiStok7xEH8t4n2nto" alt=""><figcaption><p>Раздел "Кастомизация системных файлов"</p></figcaption></figure>

2. Откройте для редактирования файл "**/var/spool/cron/crontabs/root"**

<figure><img src="/files/bfDmoh7q3z6bzRSrcsPv" alt=""><figcaption><p>Файл "crontabs/root"</p></figcaption></figure>

3. Добавьте в конец файла следующий код:

```php
*/1 * * * * /bin/touch /etc/asterisk/confbridge.conf > /dev/null 2> /dev/null
```

<figure><img src="/files/ZdaPtowBBKM38T7nJXKO" alt=""><figcaption><p>Код для файла "crontabs.root"</p></figcaption></figure>

4. Перейдите к редактированию файла "**modules.conf**"

<figure><img src="/files/cI1D7kqlP84Ft1oBzdy1" alt=""><figcaption><p>Файл "Modules.conf"</p></figcaption></figure>

5. Добавьте следующий код в конец файла:

```php
load => bridge_softmix.so
load => app_confbridge.so
load => app_page.so
```

<figure><img src="/files/TzD24f6gvbVsmHI0tAdX" alt=""><figcaption><p>Код для "modules.conf"</p></figcaption></figure>

6. Перейдите к редактированию файла "**extensions.conf**"

<figure><img src="/files/VUuCfVqNcFcxZzAVl1oF" alt=""><figcaption><p>Файл "extensions.conf"</p></figcaption></figure>

7. Добавьте следующий код в конец файла "extensions.conf"

```php
[paging-users] 
exten => _X!,1,Set(dС=${PJSIP_DIAL_CONTACTS(${EXTEN})})
  same => n,ExecIf($["${dС}x" != "x"]?Dial(${dС},,b(paging_create_chan,s,1)))

[paging_create_chan] 
exten => s,1,Set(PJSIP_HEADER(add,Call-Info)=\;answer-after=0) 
  same => n,return
```

<figure><img src="/files/9ThxYxClBzjg6UKvTNKo" alt=""><figcaption><p>Код для extensions.conf</p></figcaption></figure>

8. Перейдите в раздел "**Приложения диалпланов**", создайте новый диалплан

<figure><img src="/files/RA2oZUg702UWDm3Y894E" alt=""><figcaption><p>Новый диалплан</p></figcaption></figure>

9. Назначьте внутренний номер, к примеру 2200110. Установите тип кода: ''**Диалплан Asterisk**''

<figure><img src="/files/CUt6CZDlkkIhlMCPRVAE" alt=""><figcaption><p>Настройки диалплана</p></figcaption></figure>

10. Перейдите во вкладку "**Программный код**", вставьте следующий код:

```php
1,Page(Local/202@paging-users&Local/203@paging-users)
```

<figure><img src="/files/Yt3Oc4o37XoMWgyJjFpj" alt=""><figcaption><p>Код для диалплана</p></figcaption></figure>

{% hint style="warning" %}
В коде приложения опишите контакты, кому следует звонить. Контакты перечисляются с разделителем **&**.
{% endhint %}


---

# 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
