[Asterisk-Users] MPG123

Vahan Yerkanian vahan at arminco.com
Wed Nov 24 15:43:12 MST 2004


Was showing only the use of mp3player stuff to get a shoutcast stream.

if you want this in moh,

do the following:

1. create a sep directory inside /var/lib/asterisk or whatever you have 
configured for that, f.e. /var/lib/asterisk/mohmp3-radio, then

2. touch /var/lib/asterisk/mohmp3-radio/dummy.mp3

3. then add

live => 
mp3:/var/lib/asterisk/mohmp3-radio,http://www.yourfavradio.com:port/

into your /etc/asterisk/musiconhold.conf or wherever it is.

4. change your MoH class to 'live' for this exampls and you're done.

works like a charm for me :)

Brian West wrote:
> WRONG you can't do that for hold music.
> 
> bkw
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vahan.vcf
Type: text/x-vcard
Size: 287 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20041124/a1b2cc44/vahan.vcf


More information about the asterisk-users mailing list