[asterisk-users] Switching between Music on Hold streams. [13.8.2]

Dovid Bender dovid at telecurve.com
Mon May 9 09:24:57 CDT 2016


Josh,

As he is playing different streams I think he wants to give the users the
option to select another stream.


On Mon, May 9, 2016 at 9:58 AM, Joshua Colp <jcolp at digium.com> wrote:

> Jonathan H wrote:
>
>> 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.
>>
>
> 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.
>
> From the musiconhold.conf sample file:
>
> ;digit=#        ; If this option is set for a class, then when callers ;
>              ; are
> ;               ; listening to music on hold, they can press this
> ;               ; digit, and
> ;               ; they will switch to listening to this music class.
>
> Cheers,
>
> --
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
>
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160509/d5ddd5d2/attachment.html>


More information about the asterisk-users mailing list