# Настройка громкости

Бывают случаи, когда при телефонном звонке очень тихо слышно клиента и на телефонном аппарате / софтфоне нет возможности повысить уровень громкости. Опишем способ, который может помочь в решении проблемы:

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

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

2. Откройте на редактирование **modules.conf**

<figure><img src="/files/1VvZfC8dTReJ1LiaeGBz" alt=""><figcaption></figcaption></figure>

3. Добавьте в конец файла

```
load => func_volume.so
```

Сохраните изменения

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

4. Откройте на редактирование файл **extensions.conf**

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

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

```
[all_peers-custom]
exten => _X!,1,Set(__DYNAMIC_FEATURES=vUp#vDown)
    same => n,Set(VOLUME(TX)=5)
    same => n,Set(VOLUME(RX)=5)
    same => n,return   
    
[add-trim-prefix-clid-custom]
exten => _.X!,1,Set(__DYNAMIC_FEATURES=vUp#vDown)
    same => n,Set(VOLUME(TX)=5)
    same => n,Set(VOLUME(RX)=5)
    same => n,return

[volume-level-control]
exten => up,1,NoOp()
    same => n,ExecIf($[ "${Vol}x" == "x" ]?Set(Vol=0)
    same => n,Set(Vol=$[${Vol}+5])
    same => n,Set(VOLUME(TX)=${Vol})  
    same => n,return
exten => down,1,NoOp()
    same => n,ExecIf($[ "${Vol}x" == "x" ]?Set(Vol=0)
    same => n,Set(Vol=$[${Vol}-5])
    same => n,Set(VOLUME(TX)=${Vol})  
    same => n,return
```

Сохраните изменения.

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

6. Откройте на редактирование файл **features.conf**

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

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

```
[applicationmap](+)
vUp => #1,self,Gosub,"volume-level-control,up,1"
vDown => #0,self,Gosub,"volume-level-control,down,1"
```

Сохраните изменения.

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

{% hint style="success" %}
Громкость по умолчанию станет выше, значение 5 вместо 0. При желании сотрудник может **набрать #1 для увеличения** громкости или **#0 для уменьшения**.
{% endhint %}


---

# 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/troubleshooting/adjusting-the-volume.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.
