[Home]

Summary:ASTERISK-24276: [Patch] Option to make app MOH override channel musicclass
Reporter:Kristian Høgh (kfhdk)Labels:
Date Opened:2014-08-28 01:29:03Date Closed:2014-09-25 15:50:18
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_musiconhold
Versions:SVN Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app_override_channel_moh.patch
Description:This patch gives a general option to musiconhold.conf, to make applications MOH override channels musicclass.
Defaults to no, as it is current behavior.
Comments:By: Rusty Newton (rnewton) 2014-08-29 18:20:22.019-0500

Can you provide one or more use-case scenarios for this to help others better understand the usefulness of the feature?

You can also go ahead with the [Code Review|https://wiki.asterisk.org/wiki/display/AST/Code+Review] process and get the patch on Reviewboard. Be sure to look a the checklist.



By: Kristian Høgh (kfhdk) 2014-09-03 10:12:08.610-0500

We use a single trunk for multiple users. The default musicclass from sip.conf is therefore the same for all calls.

The trunk is connected to a kamailio server, where all in- and outgoing calls are send/received.
Each customer (identified by custom headers) can choose a musicclass for MOH, which we apply to the channel.

When a user dials an extension, which point to a queue, we want the user to receive the queue music.
But we still want the user to keep the preferred musicclass, if the call is put on hold later.
Therefore we cant unset musicclass before calling the queue.

Company A prefer musicclass heavy-metal.
That musicclass is therefore applied to incoming calls.
The customer service need to calm people down. Therefore they use other music as queue music.


By: Rusty Newton (rnewton) 2014-09-19 14:37:51.623-0500

Thanks! I don't see it on Reviewboard yet - let me know if you are having an issue getting it on there.