FUNNY STUFF What's your on hold music?

Joined
May 22, 2013
Messages
301
Reaction score
44
The link that jmcman linked to should get you started...
The station I use is from SomaFM, which allowed for redistribution (I.E. No issues with playback through a PBX) when I originally setup the MoH source. Here is the link I use for PiaF:
/usr/bin/mpg123 -q -r 8000 -f 8192 --mono -s http://sfstream1.somafm.com:8032

Here is the link to their website:
http://somafm.com/groovesalad/

I didn't know streaming audio for hold music was possible - so with that link, what would I then do in FreePBX? (Using Incredible Pi here so may not have the processing power to do it).
 

PBX@Home

Active Member
Joined
May 22, 2013
Messages
126
Reaction score
37
FreePBX -> Settings -> MOH
Add Streaming Category

Name it
I put this in the application string: /usr/bin/mpg123 -q -r 8000 -f 8192 --mono -s http://sfstream1.somafm.com:8032
Submit
apply config

set it to a ring group.

I didnt check the Pis cpu but the sound when i called was clear.
 

PBX@Home

Active Member
Joined
May 22, 2013
Messages
126
Reaction score
37
To update a little. I called again, watched the FreePBX System Status page and cpu never hit above 9%. I am only using IncrediblePi basically as stock image with GV and two extensions on an ATA, so I am not taxing it by any stretch of the imagination. Hope this helps.
 
Joined
May 23, 2013
Messages
223
Reaction score
28
Please consider making a donation to Somafm.com if you are going to use them. They are commercial free user supported radio.
 

moodinsk

New Member
Joined
Oct 12, 2011
Messages
14
Reaction score
1
FreePBX -> Settings -> MOH
Add Streaming Category

Name it
I put this in the application string: /usr/bin/mpg123 -q -r 8000 -f 8192 --mono -s http://sfstream1.somafm.com:8032
Submit
apply config

set it to a ring group.

I didnt check the Pis cpu but the sound when i called was clear.


I use my local NPR station:

/usr/bin/mpg123 -q -s -m -r 8000 -@ http://www.publicbroadcasting.net/wcmu/ppr/wcmu.pls

I had issues using -f 8192 being extremely quiet. I am using Asterisk 11.4
 

CoinTos

Member
Joined
Jan 5, 2012
Messages
34
Reaction score
7
I had issues using -f 8192 being extremely quiet. I am using Asterisk 11.4


-f is mpg123's soft gain, the closes thing to volume for the program. So to change the 'volume' you can have a value 1 - 32768, 32768 being the default (max). I personally need a value to 1192 for my music to stop it from killing cellphone callers ears.
 

Members online

Forum statistics

Threads
25,824
Messages
167,825
Members
19,247
Latest member
mdauck
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top