Add streaming music to FreePBX 2.10 or 2.11/Asterisk

Hi guys, here’s a simple guide many have been asking how to add streaming music to your FreePBX box’s MOH

  1. Login to FreePBX
  2. Click on Settings, click on Music on Hold
  3. Click on Add Streaming Category
  4. In the application section, add this: /usr/bin/mpg123 -q -s –mono -r 8000 -f 8192 -b 0 http://voxsc1.somafm.com:8502/
  5. Submit Changes, Apply configuration
  6. Now, make sure mpg123 has the appropriate permissions. In Debian OSes, it is located in /usrbin/mpg123, so do this below
  7. #chown asterisk:asterisk /usr/bin/mpg123
  8. And done!, you’ve got internet streaming straight off Asterisk.

Here’s some sources: http://somafm.com/ Basically anything that’s HTTP based streaming can work here!

2 Comments

  1. I m trying to find a solution to add streaming music to the default Category …If you have a good idea …welcome

    Very nice blog and thanks a lot !

Comments are closed.