[Asterisk-code-review] app queue: Add priority to AMI QueueStatus (asterisk[13])
George Joseph
asteriskteam at digium.com
Mon Jul 10 09:51:33 CDT 2017
George Joseph has uploaded this change for review. ( https://gerrit.asterisk.org/5980
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 CHANGES
M apps/app_queue.c
2 files changed, 7 insertions(+), 2 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/80/5980/1
diff --git a/CHANGES b/CHANGES
index c3a2d0a..d62621e 100644
--- a/CHANGES
+++ b/CHANGES
@@ -12,6 +12,10 @@
--- Functionality changes from Asterisk 13.16.0 to Asterisk 13.17.0 ----------
------------------------------------------------------------------------------
+app_queue
+------------------
+ * Add priority to callers in AMI QueueStatus response.
+
app_voicemail
------------------
* A new global option "imap_poll_logout" was added to specify whether need to
@@ -1122,7 +1126,7 @@
------------------
* New CLI commands have been added: "pjsip show identif(y|ies)", which lists
all configured PJSIP identify objects
-
+
------------------------------------------------------------------------------
--- Functionality changes from Asterisk 12 to Asterisk 13 --------------------
------------------------------------------------------------------------------
diff --git a/apps/app_queue.c b/apps/app_queue.c
index ac4738f..e17780a 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -9695,6 +9695,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),
@@ -9702,7 +9703,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/5980
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8d1f737a72c7c38f4cfe1a4ee3ecc0a4f85bd199
Gerrit-Change-Number: 5980
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Niklas Larsson <niklas at tese.se>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170710/9b874a12/attachment.html>
More information about the asterisk-code-review
mailing list