MOH Notes

From Notes
Jump to: navigation, search

mpg123 -s --rate 44100 --mono sorucefilename.mp3 > rawfilename.raw

sox -r 44100 -w -s -c 1 rawfilename.raw -r 8000 -c 1 wavfilename.wav

cd /var/lib/asterisk/moh
mv /tmp/wavfilename.wav wavfilename.wav
chown asterisk:asterisk wavfilename.wav
ls -al
moh files show