Add this to your rpt.conf
outstreamcmd=/bin/sh,-c,/usr/bin/lame --preset cbr 16 -r -m m -s 8 --bitwidth 16 - - | /usr/bin/ezstream -qvc /etc/ezstream.xml
I put it above the [Morse....] section - for the node you want to broadcast
keep it all on one line btw -
***** Please Note ***** It has been a while since I used the instructions here but they should work on Cent OS 5.x
Do NOT just run the EZS script - it is only written as a guide -
attached is a .tgz file with everything you should need -
to decompress I put it in the /root folder
at the shell run -
tar -xvhf ezs.tgz
That should extract the files to the ezs directory -
If you have any questions please let me know.
----- Edit the ezstream file - ezstream.xml -----
<ezstream>
<sourcepassword>PW####</sourcepassword>
<format>MP3</format>
<filename>stdin</filename>
<svrinfoname>NAME###</svrinfoname>
<svrinfogenre>Amateur Radio</svrinfogenre>
<svrinfodescription>DESCRIPTION</svrinfodescription>
<svrinfobitrate>16</svrinfobitrate>
<svrinfochannels>1</svrinfochannels>
<svrinfosamplerate>22050</svrinfosamplerate>
<svrinfopublic>1</svrinfopublic>
</ezstream>
-----
----- Run the following commands -----
rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm
yum install libshout*
yum install libxml*
yum install taglib
yum install lame
cp ezstream.xml /etc/ezstream.xml
cp bin/* /usr/bin/
cp share/man/man1/* /usr/share/man/man1/
cp -R /share/doc/ez* /usr/share/doc/
-----
One issue with ezstream - this is apparently a known issue - for whatever reason it tends to crash from time to time - sometimes once in a day sometimes every week or 2 -
If you want to address the issue, the only resolution I have found is this -
add to your crontab - crontab -e
*/30 * * * * (/root/killezstream > /dev/null 2>&1)
---- killezstream --- looks like this
# Kill ezstream to keep the connection - alive longer
kill -9 $(pgrep ezstream)&
----
One would think this would stop ezstream every 30 mins but it does not -
might have at most a 30 min down time - but it has worked well for me - Tried
much shorter times, and that did not do well but feel free to experiment.
To start the stream need to run
asterisk -rx "module reload"
or reboot -
Hope this helps!
73s
Mark KC7DMF