[Asterisk-Users] Streaming Music On Hold

trixter aka Bret McDanel trixter at 0xdecafbad.com
Thu Feb 23 01:24:03 MST 2006


On Thu, 2006-02-23 at 08:09 +0000, Lee Archer wrote:
> I spent a days or two on this and in the end did
> 
> Musiconhold.conf
> 
> [livestream1]
> mode=custom
> application=/usr/local/bin/mpg123 -s --mono -y -f 8192 -r 8000 -@
> /etc/asterisk/stream.playlist
> 
> Then in stream.playlist I just put the links from Shoutcast I wanted to
> use

That is useful to know, however that isnt the 'pls' play list files,
they contain extra info over and above the url.  however if one were to
do something as simple as:

grep ^File *.pls | cut -d= -f2- > stream.playlist

then they could use your information with pls files :)



-- 
Trixter http://www.0xdecafbad.com     Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378
http://www.sacaug.org/ Sacramento Asterisk Users Group
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060223/9ed4ab0d/attachment.pgp


More information about the asterisk-users mailing list