|
@@ -1,13 +1,28 @@
|
|
|
# Music on Hold
|
|
|
|
|
|
-Music on hold can be in WAV or MP3 format. To play an MP3 file you must have mod_shout enabled on the 'Modules' tab. You can adjust the volume of the MP3 audio from the 'Settings' tab. For best performance upload 16 bit, 8/16/32/48 kHz mono WAV files.
|
|
|
+Music on hold can be in WAV or MP3 format.
|
|
|
+You can adjust the volume of the MP3 audio from the 'Settings' tab. For best performance upload 16 bit, 8/16/32/48 kHz mono WAV files.
|
|
|
|
|
|
-
|
|
|
+::{note}
|
|
|
|
|
|
-- Click the edit pencil on the right to customize music on hold
|
|
|
- options. This can be done on each kHz group.
|
|
|
+To play an MP3 file you must have mod_shout enabled on the 'Modules' tab.
|
|
|
+::
|
|
|
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+- Upload custom MOH by clicking "**ADD**" on the top right.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+- You can upload the MOH file to an existing group or create a new group as you upload you MOH file.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+## Music on Hold Edit
|
|
|
+
|
|
|
+
|
|
|
|
|
|
- **Name:** Choose a name. (default is needed for the defauly Music on
|
|
|
Hold.)
|
|
@@ -27,19 +42,24 @@ Music on hold can be in WAV or MP3 format. To play an MP3 file you must have mod
|
|
|
|
|
|
## Music on Hold Tips
|
|
|
|
|
|
-- When a new music on hold category mod_local_stream will be restarted. If it is busy then it will not restart automatically. A manual restart of the module is required when it is not in use. The module can be restarted from the Menu -> Advanced -> Modules or from the console and fs_cli with following command.
|
|
|
+::{tip}
|
|
|
+
|
|
|
+When a new music on hold category mod_local_stream will be restarted. If it is busy then it will not restart automatically. A manual restart of the module is required when not in use.
|
|
|
+::
|
|
|
+
|
|
|
+- The module can be restarted from the **Menu** > **Advanced** > **Modules** or from the console and **fs_cli** with following command.
|
|
|
|
|
|
```
|
|
|
reload mod_local_stream
|
|
|
```
|
|
|
|
|
|
-- Each music on hold category is given a name. If the domain is set to global the name will be the name in the example below the protocol that is used is local_stream and the music on hold category is default and domain is set to global.
|
|
|
+- Each music on hold category is given a name. If the domain is set to global the name will be the name in the example below the protocol that is used is local_stream and the music on hold category is default and domain is set to global.
|
|
|
|
|
|
```
|
|
|
local_stream://default
|
|
|
```
|
|
|
|
|
|
-- It is possible that a domain or tenant can have its own category of music. In this example the name is 'custom' and the domain was assigned automatically to the current domain.
|
|
|
+- It is possible that a domain or tenant can have its own category of music. In this example the name is 'custom' and the domain was assigned automatically to the current domain.
|
|
|
|
|
|
```
|
|
|
local_stream://domain_name/custom
|
|
@@ -49,7 +69,7 @@ Music on hold can be in WAV or MP3 format. To play an MP3 file you must have mod
|
|
|
|
|
|
### Step 1: Add Music on Hold Log in to the FusionPBX web interface.
|
|
|
|
|
|
-- Navigate to Applications \> Music On Hold.
|
|
|
+- Navigate to **Applications** > **Music On Hold**.
|
|
|
|
|
|
- Click the Add button in the top-right corner of the screen.
|
|
|
|
|
@@ -58,7 +78,7 @@ category. Otherwise, click the +button to create a new MOH category.
|
|
|
|
|
|
- Enter a name for the new category (if creating one).
|
|
|
|
|
|
-- Leave the dropdown set to \"Default.\"
|
|
|
+- Leave the dropdown set to "Default."
|
|
|
|
|
|
- Select a file to upload.
|
|
|
|
|
@@ -70,11 +90,19 @@ category. Otherwise, click the +button to create a new MOH category.
|
|
|
|
|
|
- SSH into your server and run the following commands:
|
|
|
|
|
|
-- fs_cli This command opens the FreeSwitch CLI
|
|
|
+- This command opens the FreeSwitch CLI
|
|
|
+
|
|
|
+```
|
|
|
+fs_cli
|
|
|
+```
|
|
|
|
|
|
-- reload mod_local_stream This command reloads the new category
|
|
|
+- This command reloads the new category.
|
|
|
+
|
|
|
+```
|
|
|
+reload mod_local_stream
|
|
|
+```
|
|
|
|
|
|
-- Press Ctrl+D to exit the CLI.
|
|
|
+- Press **Ctrl+D** to exit the CLI.
|
|
|
|
|
|
- Type exit to close the SSH session.
|
|
|
|
|
@@ -82,7 +110,7 @@ category. Otherwise, click the +button to create a new MOH category.
|
|
|
|
|
|
- Select the extension you want to apply the custom MOH to.
|
|
|
|
|
|
-- Find the \"Hold Music\" option and select your new custom group.
|
|
|
+- Find the "**Hold Music**" option and select your new custom group.
|
|
|
|
|
|
- Click Save to save your changes.
|
|
|
|