[Asterisk-code-review] app_queue: Deprecate the QueueMemberPause.Reason field (asterisk[16])

Joshua Colp asteriskteam at digium.com
Wed Jan 15 07:21:00 CST 2020


Joshua Colp has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/13623 )

Change subject: app_queue: Deprecate the QueueMemberPause.Reason field
......................................................................

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
---
M apps/app_queue.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved; Approved for Submit



diff --git a/apps/app_queue.c b/apps/app_queue.c
index fed986f..d621127 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>

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/13623
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I01da58f2b0ab927baeee754870f62b51b7b3d296
Gerrit-Change-Number: 13623
Gerrit-PatchSet: 5
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200115/483e8f57/attachment.html>


More information about the asterisk-code-review mailing list