# Sound files

## Uploading a sound file to the PBX

{% hint style="warning" %}
Supported file format .mp3 and .wav
{% endhint %}

Audio files in MikoPBX are used in various call scenarios and interactive voice menus **(**&#x49;n **IVR menu**, during **non-working hours**, in **call queues**, for various system notifications, and in **hold music**.) to play voice greetings or notify customers.

The list of available sound files is displayed in the "**Telephony"** -> "**Sound files".**

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2F224yxTC3fhikUpRvV3DK%2F1.png?alt=media&#x26;token=7e1d5bc2-2a33-438b-a09b-3132b17ea723" alt=""><figcaption><p>"<strong>Sound files</strong>" section</p></figcaption></figure>

To add a new sound file, click "**Add a new sound file"**.

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FvLHAuctwpxhZa9c0O0aE%2F2.png?alt=media&#x26;token=40cfe8a2-5ddb-4b26-85c3-aa75c04ca94c" alt=""><figcaption><p>"add a new sound file" button</p></figcaption></figure>

Click "**Upload a new file**" and select a sound file.

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FWPR4f9JeWqWO7JyC6Sf7%2F3.png?alt=media&#x26;token=d38d8eb3-7e79-4a29-be7f-277222a12cfc" alt=""><figcaption><p>"Upload a new file" button</p></figcaption></figure>

Correct the file name if necessary.

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2Fhopg8mQ3ZxiVBxheioFx%2F4.png?alt=media&#x26;token=cb2d1db6-e708-4b4a-a867-1f8b68b41ed5" alt=""><figcaption><p>The name of the recording file</p></figcaption></figure>

Save settings

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FHjxjsLOl85UKYLk1HUmB%2F5.png?alt=media&#x26;token=edaaaa55-8816-490d-b611-cfa3217967a0" alt=""><figcaption><p>"<strong>Save settings</strong>" button</p></figcaption></figure>

{% hint style="info" %}
When working over the **https** protocol, it is possible to record an audio file using a microphone.
{% endhint %}

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FtyKaefdIzHVz8rnLmJDe%2F6.png?alt=media&#x26;token=c2687cab-9ab3-4614-86e1-31ed32d21375" alt=""><figcaption><p>"<strong>Start recording</strong>" button</p></figcaption></figure>

Sound files are stored on the PBX along the path **/storage/usbdisk1/mikopbx/media/custom**

## Music on hold <a href="#muzyka_na_uderzhanii" id="muzyka_na_uderzhanii"></a>

{% hint style="warning" %}
The function is available starting from version **2020.2.XXX**
{% endhint %}

If a client gets into a queue during a call or is waiting for redirection, the PBX plays a melody for him. It is possible to download your own tunes for listening while waiting.&#x20;

You can do this on the "**Music on Hold"** tab as described above.

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2FYolcLmcZQ12N6mL0lpze%2F7.png?alt=media&#x26;token=39ad7cee-3614-4a44-a27b-c692dc9280bb" alt=""><figcaption><p>"Music on hold" tab</p></figcaption></figure>
