Edit the default music on hold
To modify the default system-level music on hold that would be applied to each newly created tenant, you must modify the default music on hold class.
NOTE:
Please note that this action does not affect existing tenants. For each existing tenant, you will need to edit manually the default class for its destinations.
System login
1. Log in to the system via SSH, for example with the following command:
ssh root@votreipbx.voip.fr -p 2020 TIP:
See the tutorial: /documentation/tuto-acces-en-ssh-a-pbxware/
Edit the default music
2. Go to the following folder:
cd /opt/pbxware/pw/var/lib/asterisk/sounds 3. Create a folder named tenant-default and change its ownership:
mkdir tenant-default chown 555:555 tenant-default 4. After creating the folder, download the sound file you want to use as the new default music when creating a new tenant.
Once the file is converted to .gsm, please upload it to a default folder of the created tenant:
NOTE:
When uploading an audio file from the backend, it must be in an acceptable format for audio files, such as 8Khz , Mono , 16-Bit PCM . Users can use any free online converter for this conversion (for example https://g711.org/ ). It must be in the format .gsm.
5. Go to the newly created folder:
cd tenant-default 6. After uploading the file to the designated folder, change the file's ownership and permissions:
chown 555:555 default.gsm 7. Change the mode of the downloaded default.gsm file:
chmod 644 default.gsm Once this operation is completed, each tenant created afterwards should have a new music on hold file used as the default music.

