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

Douglas Garstang dgarstang at oneeighty.com
Tue Mar 21 14:25:11 MST 2006


Good grief. Considering all the libraries and requirements, it'd almost be easier to find some windows software to do this.

> -----Original Message-----
> From: Doug Lytle [mailto:Support at drdos.info]
> Sent: Tuesday, March 21, 2006 1:55 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Native MOH - Convert mp3 to ulaw
> 
> 
> 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
> 
> _______________________________________________
> --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
> 



More information about the asterisk-users mailing list