How do I manually convert Asterisk WAV files to MP3

To convert an Asterisk *.wav file to *.mp3 on your linux server you first need to install the lame MP3 encoder.  Assuming CentOS 6
cd /usr/src
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm rpm -ivh rpmforge-release-0.5.3-1.el6.rf.i686.rpm yum install lame


Assuming we are in the folder where the file is and assuming the file we want to convert is called test.wav
lame -f -o "-b 16 -m m -q 9 --resample 8" test.wav
That command will create a file in the same folder called test.mp3.
  • wav, mp3, convert

Related Articles

I have a bunch of anonymous call attempts showing up in my call logs

I have a bunch of calls that look like this. 2011-11-18 00:27:10SIP/xx.xx...unknown"unknown"...

Do I need to do anything on the server/linux side of things?

You should not have to do anything on the server/linux side unless you want to tweak things or...

How hard is it to upgrade my server?

Upgrading resources such as memory, processing, hard drive space is instantaneous and does not...

Do you automatically upgrade our software when a newer version comes out?

Software upgrades are not automatic because they usually require service interruption.  We can...

Do you provided automatic backups.

Our premium plan includes automatic online backups.  All other plans can be backed up manually...