Displaying 3 results from an estimated 3 matches for "streamdemo".
2016 May 09
3
Switching between Music on Hold streams. [13.8.2]
...ki/display/AST/Asterisk+13+Application_Dial
The G options are as below
G - If the call is answered, transfer the calling party to the
specified priority and the called party to the specified priority plus
one.
context
exten
priority
I think I have something almost there now, with the following:
[streamdemo]
exten => s,1,Answer
exten => s,2,BackGround(menu)
exten => s,3,WaitExten
exten => s,4,Goto(s,2)
exten => _[2,3,4,5],1,Dial(Local/${EXTEN}@play-radio,,G(play-radio^${EXTEN}^2))
exten => _[2,3,4,5],2,Goto(s,2)
[play-radio]
Exten => _[2,3,4,5],1,Answer
exten => _[2,3,4,5],2,M...
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]
...now - The reason I named the classes as I did, was so that I could
select the class based on callerID plus extension.
Unless I've misread it, I'm limited to 9 switchable classes via the
"digit=#" option, is that correct?
Or is there a clever hack around this?
extensions.conf
[streamdemo]
exten => s,1,Answer
exten => s,2,BackGround(menu)
exten => s,3,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
fig...