> 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/english/manual/telephony/sound-files.md).

# Sound files

Adding/Creating Audio Files in MikoPBX

## Uploading a sound file to the PBX

{% hint style="warning" %}
Supported file formats: **wav**, **mp3**, **ogg**, **m4a**, **aac**.
{% 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&amp;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&amp;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&amp;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&amp;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&amp;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&amp;token=c2687cab-9ab3-4614-86e1-31ed32d21375" alt=""><figcaption><p>"<strong>Start recording</strong>" button</p></figcaption></figure>

Custom sound files are stored on the PBX along the path **/storage/usbdisk1/mikopbx/media/custom**. Music on hold files are stored in **/storage/usbdisk1/mikopbx/media/moh**.

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

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.

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&amp;token=39ad7cee-3614-4a44-a27b-c692dc9280bb" alt=""><figcaption><p>"Music on hold" tab</p></figcaption></figure>


---

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mikopbx.com/mikopbx/english/manual/telephony/sound-files.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
