Displaying 3 results from an estimated 3 matches for "streamdemo2".
Did you mean:
streamdemo
2016 May 09
3
Switching between Music on Hold streams. [13.8.2]
...play-radio
-- Executing [2 at play-radio:1]
Answer("Local/2 at play-radio-00000003;2", "") in new stack
-- Local/2 at play-radio-00000003;1 answered Local/s at root-00000002;2
-- Executing [2 at play-radio:2]
MusicOnHold("Local/s at root-00000002;2", "streamdemo2") in new stack
-- Started music on hold, class 'streamdemo2', on channel
'Local/s at root-00000002;2'
-- Executing [2 at play-radio:3] Set("Local/2 at play-radio-00000003;1",
"CHANNEL(language)=en_GB") in new stack
-- Executing [2 at play-radio:4...
2016 May 08
4
Switching between Music on Hold streams. [13.8.2]
I'd like multiple people to be able to dial in and listen to various
live radio streams.
I was told that the correct resource-friendly way would be to setup a
MoH class, and then select that from the dialplan.
This works well, but how do I switch between streams?
Someone correct me if I'm wrong, but from previous similar questions a
few years ago it seems like once you've entered a
2016 May 09
4
Switching between Music on Hold streams. [13.8.2]
...WaitExten
exten => _[2,3,4,5],1,MusicOnHold(${CALLERID(name)}${EXTEN})
;exten => s,5,Goto(s,2)
exten => _[X,t,i],1,Goto(streamdemo,s,2)
and in musiconhold.conf (4 is commented out as it's AAC and I've not
figured that one out yet - bonus points to someone who can point the
way!)
[streamdemo2]
mode=custom
digit=2
application=/usr/bin/mpg123 -q -r 8000 -f 32768 --mono -s
http://185.14.85.162:8020
[streamdemo3]
mode=custom
digit=3
application=/usr/bin/mpg123 -q -r 8000 -f 32768 --mono -s
http://stream.acbradio.org:8000/mainstream.mp3
;[streamdemo4]
;mode=custom
;digit=4
;application=/us...