[Asterisk-code-review] app queue: Add priority to AMI QueueStatus (asterisk[master])
George Joseph
asteriskteam at digium.com
Mon Jul 10 09:50:37 CDT 2017
George Joseph has submitted this change and it was merged. ( https://gerrit.asterisk.org/5924 )
Change subject: app_queue: Add priority to AMI QueueStatus
......................................................................
app_queue: Add priority to AMI QueueStatus
Add priority to callers in AMI QueueStatus response
ASTERISK-27092 #close
Change-Id: I8d1f737a72c7c38f4cfe1a4ee3ecc0a4f85bd199
---
M apps/app_queue.c
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Joshua Colp: Looks good to me, but someone else must approve
Jenkins2: Approved for Submit
George Joseph: Looks good to me, approved
diff --git a/apps/app_queue.c b/apps/app_queue.c
index f158a4c..aa04238 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -9949,6 +9949,7 @@
"ConnectedLineNum: %s\r\n"
"ConnectedLineName: %s\r\n"
"Wait: %ld\r\n"
+ "Priority: %d\r\n"
"%s"
"\r\n",
q->name, pos++, ast_channel_name(qe->chan), ast_channel_uniqueid(qe->chan),
@@ -9956,7 +9957,7 @@
S_COR(ast_channel_caller(qe->chan)->id.name.valid, ast_channel_caller(qe->chan)->id.name.str, "unknown"),
S_COR(ast_channel_connected(qe->chan)->id.number.valid, ast_channel_connected(qe->chan)->id.number.str, "unknown"),
S_COR(ast_channel_connected(qe->chan)->id.name.valid, ast_channel_connected(qe->chan)->id.name.str, "unknown"),
- (long) (now - qe->start), idText);
+ (long) (now - qe->start), qe->prio, idText);
++q_items;
}
}
--
To view, visit https://gerrit.asterisk.org/5924
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I8d1f737a72c7c38f4cfe1a4ee3ecc0a4f85bd199
Gerrit-Change-Number: 5924
Gerrit-PatchSet: 1
Gerrit-Owner: Niklas Larsson <niklas at tese.se>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170710/28322de3/attachment.html>
More information about the asterisk-code-review
mailing list