# Adjusting the volume

There are cases when a customer can be heard very quietly during a phone call and there is no way to increase the volume level on the telephone /softphone. Let's describe a way that can help in solving the problem:

1. Go to "**System**" -> "**System file customization**"

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

2. Open **modules.conf** for editing

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

3. Add to the end of the file

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

Save the changes

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

4. Open the **extensions.conf** file for editing

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

5. Add the following code to the end of the file:

```
[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
```

Save the changes.

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

6. Open the **features.conf** file for editing

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

7. Add the following code to the end of the file:

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

Save the changes

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

{% hint style="success" %}
The default volume will be higher, the value is 5 instead of 0. If desired, the employee can dial **#1 to increase** the volume or **#0 to decrease**
{% 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/english/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.
