Displaying 1 result from an estimated 1 matches for "my_test_stream".
2016 Mar 16
2
Using Asterisk to play Icecast streams
...ensions.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 - 'http://myURL.com/my_test_stream' |
/usr/local/bin/madplay -Q -o raw:- --mono -R 8000 -a -10 -
Over all this does work good however:
1) I want to be able to add a few hundred streams per box. Not all streams
are being listed to at once. Once you add a MOH class to musiconhold.conf
it stays up forever (which I can understand w...