Uploaded WAV audio files do not work

WAV files must be in the correct format to work.

Assuming you have uploaded the WAV file to the music on hold directory, the command line conversion can be done as follows.

cd /var/lib/asterisk/moh
sox uploaded-file-name.wav -t raw -b 16 -r 8k -c 1 converted-file-name.wav
mv uploaded-file-name.wav uploaded-file-name.wav.orig

 
To preserve a higher definition sound file try:

sox uploaded-file-name.wav -t raw -b 16 -r 48k -c 1 converted-file-name.sln48
mv uploaded-file-name.wav uploaded-file-name.wav.orig

 

  • upload, wav, format, convert

相關文章

I have a bunch of anonymous call attempts showing up in my call logs

I have a bunch of calls that look something like this in the call logs. 2011-11-18...

Do I need to do anything on the server/linux side of things?

You should not have to do anything on the server/linux side unless you want to tweak things or...

How hard is it to upgrade my server?

Upgrading resources such as memory, processing, hard drive space is instantaneous and does not...

Do you automatically upgrade our software when a newer version comes out?

Software upgrades are not automatic because they usually require service interruption.  We can...

Do you provided automatic backups.

Our premium plan includes automatic online backups.  All other plans can be backed up manually...