]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Documents CHANNEL(musicclass) taking priority over m([x]) in waitExten
authorJonathan Rose <jrose@digium.com>
Tue, 6 Dec 2011 22:01:00 +0000 (22:01 +0000)
committerJonathan Rose <jrose@digium.com>
Tue, 6 Dec 2011 22:01:00 +0000 (22:01 +0000)
If waitExten specifies a music class to use with its music on hold option, it will use
CHANNEL(musicclass) instead if that channel variable has been set on the initiating
channel.  This documents that behavior in the waitExten app so that this can be known
without checking the documentation of the code in function local_ast_moh_start.

(closes issue ASTERISK-18804)
........

Merged revisions 347239 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 347240 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@347241 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/pbx.c

index c80185d20d0f11e5d716ced43bd060a515a7716e..ff0190968be42d1f82fedceaa833cc51588b4352 100644 (file)
@@ -671,7 +671,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                                        <option name="m">
                                                <para>Provide music on hold to the caller while waiting for an extension.</para>
                                                <argument name="x">
-                                                       <para>Specify the class for music on hold.</para>
+                                                       <para>Specify the class for music on hold. <emphasis>CHANNEL(musicclass) will
+                                                       be used instead if set</emphasis></para>
                                                </argument>
                                        </option>
                                </optionlist>