Displaying 2 results from an estimated 2 matches for "streamx".
Did you mean:
stream
2016 Mar 16
2
Using Asterisk to play Icecast streams
...o tinkered a bit with real time here is what I found:
1) If we have cachertclasses=no then Asterisk will only pull the stream if
some one is listening to that particular class. the upside of this is that
we only pull a stream if we need it. The down side is if say there are four
people listening to StreamX then we have four separate connections to
StreamX.
2) If we have cachertclasses=yes set then Asterisk then we have the
opposite of #1. The stream will be pulled if some one starts listening to
it. If anyone hangs up then we still keep pulling the stream so over time
if every stream is touched then...
2016 Mar 16
2
Using Asterisk to play Icecast streams
Hi all,
A long time ago I built an Asterisk system that plays IceCast streams via
moh.
extensions.conf:
Exten => moh,1,Set(SIP_CODEC=ulaw)
Exten => moh,2,Answer
Exten => moh,3,MusicONHold(test_new)
Exten => moh,4,Hangup
musiconhold.conf
; test_new
[test_new]
mode=custom
application=/etc/mystreams/test_new.sh
test_new.sh
#!/bin/bash
wget -q -T 120 -O -