Tap here to compare the top VoIP providersTap here to hide the top VoIP Providers
Using Slimserver for Music on Hold
MOH SlimserverUse the slimserver to stream to your Music on Hold:
Download and install the slimserver from http://www.slimdevices.com/su_downloads.html
Create a dummy mp3 directory with an empty mp3 file:
slimp3 => custom:/var/lib/asterisk/mohmp3-dummy,/usr/bin/mpg123 -q -s --mono -r 8000 -f 8192 -b 0 http://localhost:9000/stream.mp3
Start the slimserver web interface at http://yourserverip:9000 , create and start your playlist
Test it (extensions.conf):
exten => 64,1,Answer
exten => 64,2,MusicOnHold(slimp3)
exten => 64,3,Hangup
You can install the slimserver on a remote server.
There "ought" to be a way to do this with madplay too. Anyone know what the arguments would look like for that?
answer: "madplay doesn't read streams"
Go back to Asterisk tips and tricks
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+