Playing A Shoutcast Stream For MOH

Looking at the wiki and the musiconhold.conf page is a little confusing. Can someone please tell me what I need to do to play a shoutcast stream for my music on hold with Asterisk 1.2 and 1.4? Do I need to compile any other packages?

Hi.

This works and at least plays it, but I’m having some issues with the sound skipping/being choppy and also playing a minutes worth of a several hour old broadcast before hard cutting into the current stream. It may be system/OS/Asterisk version specific so you may have better results.

musiconhold.conf:

[classname]
mode=custom
application=/usr/local/bin/mpg123 --mono -r 8000 -f 8192 -y -s http://your.shoutcast.server:8000/

-Mark