> 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/troubleshooting/jitter-configuration.md).

# Настройка Jitter

Обычно настройка Jitter необходима в том случае, если есть значительные проблемы с передачей RTP трафика. Голос собеседника запаздывает, пропадает, не слышно.

Лучше всего искать первопричину, анализировать дамп звонка на АТС / на роутере / на вышестоящем маршрутизаторе. Сравнивать и смотреть где jitter растет.

{% hint style="success" %}
Есть вот такая статья по [проблемам со звуком](/mikopbx/faq/troubleshooting/solving-sound-problems.md).
{% endhint %}

Но есть ряд случаев, когда нет возможности повлиять на качество канала связи. В этом случае, если задержка аудио потока будет слишком большой, то asterisk будет отбрасывать «опоздавшие» пакеты. Эту проблему может решить увеличение значения Jitter.

В MikoPBX настраивать jitter можно только через [кастомизацию системных файлов](/mikopbx/manual/system/custom-files.md):

**modules.conf** - добавить:

```
load => func_jitterbuffer.so
```

**extensions.conf** - для провайдера можно добавить **custom** контексты:

Для внутренних (исходящих):

```php
[all_peers-custom] 
exten => _.!,1,Set(JITTERBUFFER(fixed)=200,1500) 
    same => n,return
```

Для внутренних (входящих):

```php
[internal-users-custom] 
exten => _.!,1,Set(JITTERBUFFER(fixed)=200,1500) 
    same => n,return
```

Для входящих:

```php
[SIP-1611151795-incoming-custom] 
exten => _.!,1,Set(JITTERBUFFER(fixed)=200,1500) 
    same => n,return
```

Для исходящих :

```php
[SIP-1611151795-outgoing-custom] 
exten => _X!,1,Set(JITTERBUFFER(fixed)=200,1500) 
    same => n,return
```


---

# 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:

```
GET https://docs.mikopbx.com/mikopbx/faq/troubleshooting/jitter-configuration.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.
