Skip to main content

MOH Audio Files Don't Play

Posted by ericrawn on Mon, 11/09/2009

We're on the MTE 1.6 version of TL and have uploaded a sound file and it doesn't play - just silence when placed on hold. It is the only file that is uploaded into the MOH queue. Has anyone seen this or understand what might be happening?


Submitted by ipfreely on Mon, 11/09/2009 Permalink

What do you see in the CLI when you place a call on hold, does it say that it cannot play the file? If so, I do not think this is the best thing to do, but it has worked for me. Convert the file to ulaw using something like sox.

sox in.wav -t ul -r 8000 -b -c 1 out.pcm

in.wav - is the .wav file you want to convert
out.pcm - is the output file .pcm

You may have to install sox yum install sox.

Like I said, maybe not the best way to do it, but it works.

Thanks,
Chris A

Submitted by ericrawn on Tue, 11/10/2009 Permalink

I failed to mention that this was a MP3 file. It didn't play yesterday when someone was put on hold. Today I tested and it magically started working (or should I say, mysteriously).

We did nothing, is it possible the system runs some type of script every night that converts the files to a playable format?

Submitted by eeman on Tue, 11/10/2009 Permalink

you dont want to use mp3. Nightmares from the 1.2 days of asterisk with mp3 players not unloading and causing deadlocks. Convert all your files.