diff options
author | Walter Doekes <walter+asterisk@wjd.nu> | 2014-09-25 20:49:04 +0000 |
---|---|---|
committer | Walter Doekes <walter+asterisk@wjd.nu> | 2014-09-25 20:49:04 +0000 |
commit | d172d84fe146ce004e61fead3aa6149196f4edef (patch) | |
tree | e20ac955077989bada7d556d7cffcaa32b64c28b /CHANGES | |
parent | 68077634feda3df2c6e529d9707c0d161edb7171 (diff) |
musiconhold: Add preferchannelclass=no option to prefer app class.
The new option 'preferchannelclass' is added to musiconhold.conf. If yes
(the default) the CHANNEL(musicclass) is preferred when choosing the
hold music. If it is no, the class suggested by the application that
calls the MoH (e.g. the Queue() app) gets preferred (new behaviour).
This way you set a different hold-music from the Queue-music by setting
both the CHANNEL(musicclass) and the queue-context musicclass.
ASTERISK-24276 #close
Reported by: Kristian Høgh
Patches:
app_override_channel_moh.patch uploaded by Kristian Høgh (License #6639)
Review: https://reviewboard.asterisk.org/r/4010/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@423893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -18,7 +18,7 @@ Channel Drivers chan_sip ------------------ * New 'rtpbindaddr' global setting. This allows a user to define which - ipaddress to bind the rtpengine too. For example, chan_sip might bind + ipaddress to bind the rtpengine to. For example, chan_sip might bind to eth0 (10.0.0.2) but rtpengine to eth1 (192.168.1.10). @@ -38,6 +38,9 @@ res_musiconhold ------------------ * Added sort=randstart to the sort options. It sorts the files by name and then chooses the first file to play at random. + * Added preferchannelclass=no option to prefer the application-passed class + over the channel-set musicclass. This allows separate hold-music from + application (e.g. Queue or Dial) specified music. ------------------------------------------------------------------------------ |