Hey guys,<br><br>I'm trying to get music on hold working. I have a wav file. It plays fine on my windows laptop in all sorts of audio applications. If I put it on our asterisk 1.2.4 box and do something like:<br><br>sox -V nov_2005.wav /var/lib/asterisk/mohmp3/nov_2005.raw
<br>sox: Detected file format type: wav<br><br>sox: Chunk fmt<br>sox: Chunk fact<br>sox: Chunk data<br>sox: Reading Wave file: Microsoft U-law format, 1 channel, 8000 samp/sec<br>sox: 8000 byte/sec, 1 block align, 8 bits/samp, 3414263 data bytes
<br>sox: Input file nov_2005.wav: using sample rate 8000<br> size bytes, encoding u-law, 1 channel<br>sox: Output file nov_2005.raw: using sample rate 8000<br> size bytes, encoding u-law, 1 channel<br><br>and then hook it up in
musiconhold.conf like:<br><br>[default]<br>mode=files<br>directory=/var/lib/asterisk/mohmp3/<br><br>And make a call and stick it on hold, the music is playing roughly twice too fast. If I use the stock mp3's that come with
asterisk@home, all is good. <br><br>If I do<br><br>sox -V -r 4000 nov_2005.wav -r 8000 nov_2005.wav<br><br>The file is played back at the right speed, but is highly distorted. I'm sure this is some rookie mistake I'm making.. Can anyone help me out?
<br><br>Thanks.<br>