Michael,
What you do is you dial another context and then use the G option in the dial
string. So something like this.
[radio-main]
Exten => s,1,answer
Exten => s,2,Background(play-menu)
Exten => s,3,waitexten
Exten => S,4,Goto(s,2)
Exten => 1,1,Dial(Local/CNN@play-radio)
Exten => 1,2,Goto(s,2)
Exten => 2,1,Dial(Local/NPR@play-radio)
Exten => 2,2,Goro(s,2)
[play-radio]
Exten => _[A-Z].,1,Answer
Exten => _[A-Z].,2,Musiconhold(${EXTEN})
Regards,
Dovid
-----Original Message-----
From: Jonathan H <[email protected]>
Sender: [email protected]: Sun, 8 May 2016 11:36:42
To: Asterisk Users Mailing List - Non-Commercial
Discussion<[email protected]>
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
<[email protected]>
Subject: [asterisk-users] 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 MoH class, there is
no exit.
But might there be some trick involved merged or bridged calls, or
chan_spy or something, so that callers could quickly switch between 3
streams with a keypress?
Thank you!
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users