A brief howto on setting up streaming audio - Allstar -
1.) Extract the attached file EZS.tgz
2.) Run 'sh EZS'
3.) Agree to everything - yes
4.) Modify the /etc/ezstream.xml file - replacing the ######'s with the correct
mount point/password/name of your stream. (These details are provided by
radioreference.com when you sign up to do a stream FREE (under the "Technicals" tab in the stream management section.)
5.) add the following to your /etc/asterisk/rpt.conf in the first section ex: above the status reporting section.
"outstreamcmd=/bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 - - | /usr/bin/ezstream -qvc /etc/ezstream.xml"
This should be all on one line ^^^
You may change the ezstream.xml name if you wish but also do so in the /etc dir, ex: if you had multiple streams/nodes to stream from.
This setup is per node.
If anyone wants to modify the script, improve it etc, feel free - Just wanted to get this out for anyone who had difficulty setting up the stream -
btw sometimes I have had to set a cron to kill the ezstream each week or so - has not been an issue lately if you do notice it failing, the command is 'kill -9 $(pgrep ezstream)&' This will not break/stop ezstream but should restart it...
73's
Mark KC7DMF