It seems that some people are having problem playing Music on hold that is formatted in MP3. Below is a short howto to make it work reliably
Caveat
You will need PIAF 1.1 with update-source run then update-scripts and then update-fixes (in this order please)
1. Download the following rpm's
http://ftp.belnet.be/packages/dries....c5.rf.i386.rpm
http://ftp.belnet.be/packages/dries....c5.rf.i386.rpm
This just happens to be the place I downloaded from your mileage may vary.
2. Install the rpms
rpm -ivh lame*.rpm
3. Delete the rpm's
rm -vf lame*.rpm (use this with caution because of the -f flag!)
4. Open /etc/php.ini in your favourite editor and locate the line
upload_max_filesize = 2M
(line 528 there abouts)
And change it to
upload_max_filesize = 100M
5. Save the file
6. Reboot
7. After the reboot you will need to log onto freepbx and choose music on hold
8. Now the fun part.... I simply deleted all of the included wav files..... Once you have done that click the browse button and find one of your "own non copyrighted" MP3's and select it.
9. Click the upload button and WAIT... you should see a the message Done in the bottom left hand corner of the browser.
10. Click enable random play
11. Click the orange reload button in the middle near the top.
12. give it a try.
When I was looking to see why Digium decided to make wav the default standard I found a lot of people were PO'd! I thought lets see what happens when I try to upload an MP3 file through FreePBX.... Initially I got an error saying unable to find lame!!!! Gee that was my first clue.
The real magic seems to be in compiling asterisk addons yourself (instead of letting a corporate entity do it for you) inside of the addon package there is a wonderful thing called format_mp3 which, on the surface, does not seem to be related to playing mp3's but..... PIAF users get this feature by default and the missing piece was lame.
Also I did not have to modify any of my MP3 tracks by ripping them etc. Plus the supposed processor hit that other PBX guys give as the reason that it was removed is less than 1.4% with 8 lines on hold...... Hmmm makes one wonder about the real reason? Anyone say RIAA? Anti Piracy......
If you use copyrighted material for your music on hold you will go to jail for 1000 years and pay millions in fines

so fair warning. Remember in the eyes of the law in the US a 0.99 song is worth beheading you over!
Sorry I rant at times
Tom