]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
app_queue: Deprecate the QueueMemberPause.Reason field
authorSean Bright <sean.bright@gmail.com>
Sat, 11 Jan 2020 13:29:46 +0000 (08:29 -0500)
committerSean Bright <sean.bright@gmail.com>
Tue, 14 Jan 2020 19:51:18 +0000 (13:51 -0600)
The QueueMemberPause AMI event includes two fields that return the
reason a member was paused.

* In release branches, deprecate Reason in favor of PausedReason.
* In master, remove the Reason field entirely.

ASTERISK-28349 #close
Reported by: Niksa Baldun

Change-Id: I01da58f2b0ab927baeee754870f62b51b7b3d296

apps/app_queue.c

index d67dbcf09c1bb8039f546682e868319a5898bd23..fb489a543d4907adf43b589d54b59f79ebba0182 100644 (file)
@@ -1052,7 +1052,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
                        <syntax>
                                <xi:include xpointer="xpointer(/docs/managerEvent[@name='QueueMemberStatus']/managerEventInstance/syntax/parameter)" />
                                <parameter name="Reason">
-                                       <para>The reason a member was paused.</para>
+                                       <para>This has been deprecated in favor of the <literal>PausedReason</literal> field.</para>
                                </parameter>
                        </syntax>
                        <see-also>