> From: [EMAIL PROTECTED] [mailto:asterisk-users-
> [EMAIL PROTECTED] On Behalf Of Douglas Garstang
> 
> I tried that earlier today... found it somewhere online... This is what I
> get...
> 
> [EMAIL PROTECTED] 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

Convert the MP3 file to a WAV file first. After installing lame, this is
what I use:



# lame --decode fpm-calm-river.mp3 fpm-calm-river.wav

# sox -V fpm-calm-river.wav -v .2 -r 8000 -c 1 -w fpm-calm-river.raw
# mv fpm-calm-river.raw /var/lib/asterisk/mohraw

I use the -v .2 to drop the volume on the file. Way too loud for our SIP and
PRI connections.

Regards,

--- Gavin

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to