[Asterisk-Users] MOH native files

Steven Ringwald asric at asric.com
Wed Mar 1 14:02:08 MST 2006


Tomislav Parčina wrote:
> Where can I find alaw, ulaw, gsm, g729 formats for native music on hold? 
>
> I have some mp3 files and I have tried to transcode them to above, but it seams that SOX can't do that. Please, tell me where to download some MOH files (in above formats) or how to transcode mp3?
>
> Thank you for your time!

You need to use mpg123 to convert the mp3 files to wav files first.

mpg123 -w out.wav in.mp3
sox out.wav -r 8000 out.gsm







More information about the asterisk-users mailing list