Using Slimserver for Music on Hold

MOH Slimserver

Use 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:

 mkdir /var/lib/asterisk/mohmp3-dummy
 touch   /var/lib/asterisk/mohmp3-dummy/dummy.mp3

musiconhold.conf:

 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.

Have fun!

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"

See also



Go back to Asterisk tips and tricks

Created by: dexter,Last modification on Fri 26 of Aug, 2005 [03:17 UTC] by smithnc


Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

 
Sponsored by:




Search: