<div dir="ltr"><div>Josh,<br><br></div>As he is playing different streams I think he wants to give the users the option to select another stream.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 9, 2016 at 9:58 AM, Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Jonathan H wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'd like multiple people to be able to dial in and listen to various<br>
live radio streams.<br>
<br>
I was told that the correct resource-friendly way would be to setup a<br>
MoH class, and then select that from the dialplan.<br>
<br>
This works well, but how do I switch between streams?<br>
<br>
Someone correct me if I'm wrong, but from previous similar questions a<br>
few years ago it seems like once you've entered a MoH class, there is<br>
no exit.<br>
</blockquote>
<br></span>
You can configure music classes with a DTMF digit that when pressed when listening to music on hold will cause the channel to switch to the new music class.<br>
<br>
>From the musiconhold.conf sample file:<br>
<br>
;digit=# ; If this option is set for a class, then when callers ; ; are<br>
; ; listening to music on hold, they can press this<br>
; ; digit, and<br>
; ; they will switch to listening to this music class.<br>
<br>
Cheers,<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Joshua Colp<br>
Digium, Inc. | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" rel="noreferrer" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" rel="noreferrer" target="_blank">www.asterisk.org</a></font></span><div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>