I was working on updating my hold music on my asterisk lines.
a quick method of doing this. Is as follows
- covert the audio to mono 8000 sample rate, wav files
Then with sox installed
for f in *.wav; do echo $f ; sox $f -r 8000 -c 1 -s $f.sln -q ; done
rm -v *.wav
finally update the musiconhold.conf file with the directory of the processed files.