[Asterisk-Users] Native MOH - Convert mp3 to ulaw

Doug Lytle Support at drdos.info
Tue Mar 21 13:54:50 MST 2006


Douglas Garstang wrote:
> I tried that earlier today... found it somewhere online... This is what I get...
>
> [root at bil-pdev-5 mp3]# sox -V fpm-calm-river.mp3 -t au -r 8000 -U -b -c 1 fpm-calm-river.ulaw resample -ql                         
> sox: resample opts: Kaiser window, cutoff 0.940000, beta 16.000000
>
> sox: Failed reading fpm-calm-river.mp3: Do not understand format type: mp3
>
>   

I believe you also need libmp3.  Under Mandrake it's called libgmp3.

Doug




More information about the asterisk-users mailing list