From 5fded77e7f7c1a62a02d9e99054fc5e95f385d0e Mon Sep 17 00:00:00 2001
From: Sean Bright <sean.bright@gmail.com>
Date: Sat, 11 Jan 2020 08:29:46 -0500
Subject: [PATCH] app_queue: Deprecate the QueueMemberPause.Reason field

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/app_queue.c b/apps/app_queue.c
index fed986f12f..d621127c41 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1146,7 +1146,7 @@
 			<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>
-- 
GitLab