<p>George Joseph has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/5980">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_queue: Add priority to AMI QueueStatus<br><br>Add priority to callers in AMI QueueStatus response<br><br>ASTERISK-27092 #close<br><br>Change-Id: I8d1f737a72c7c38f4cfe1a4ee3ecc0a4f85bd199<br>---<br>M CHANGES<br>M apps/app_queue.c<br>2 files changed, 7 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/80/5980/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/CHANGES b/CHANGES<br>index c3a2d0a..d62621e 100644<br>--- a/CHANGES<br>+++ b/CHANGES<br>@@ -12,6 +12,10 @@<br> --- Functionality changes from Asterisk 13.16.0 to Asterisk 13.17.0 ----------<br> ------------------------------------------------------------------------------<br> <br>+app_queue<br>+------------------<br>+ * Add priority to callers in AMI QueueStatus response.<br>+<br> app_voicemail<br> ------------------<br>  * A new global option "imap_poll_logout" was added to specify whether need to<br>@@ -1122,7 +1126,7 @@<br> ------------------<br>  * New CLI commands have been added: "pjsip show identif(y|ies)", which lists<br>    all configured PJSIP identify objects<br>-   <br>+<br> ------------------------------------------------------------------------------<br> --- Functionality changes from Asterisk 12 to Asterisk 13 --------------------<br> ------------------------------------------------------------------------------<br>diff --git a/apps/app_queue.c b/apps/app_queue.c<br>index ac4738f..e17780a 100644<br>--- a/apps/app_queue.c<br>+++ b/apps/app_queue.c<br>@@ -9695,6 +9695,7 @@<br>                                    "ConnectedLineNum: %s\r\n"<br>                                  "ConnectedLineName: %s\r\n"<br>                                         "Wait: %ld\r\n"<br>+                                    "Priority: %d\r\n"<br>                                  "%s"<br>                                        "\r\n",<br>                                     q->name, pos++, ast_channel_name(qe->chan), ast_channel_uniqueid(qe->chan),<br>@@ -9702,7 +9703,7 @@<br>                                   S_COR(ast_channel_caller(qe->chan)->id.name.valid, ast_channel_caller(qe->chan)->id.name.str, "unknown"),<br>                                       S_COR(ast_channel_connected(qe->chan)->id.number.valid, ast_channel_connected(qe->chan)->id.number.str, "unknown"),<br>                                     S_COR(ast_channel_connected(qe->chan)->id.name.valid, ast_channel_connected(qe->chan)->id.name.str, "unknown"),<br>-                                        (long) (now - qe->start), idText);<br>+                                        (long) (now - qe->start), qe->prio, idText);<br>                            ++q_items;<br>                    }<br>             }<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/5980">change 5980</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/5980"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I8d1f737a72c7c38f4cfe1a4ee3ecc0a4f85bd199 </div>
<div style="display:none"> Gerrit-Change-Number: 5980 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Niklas Larsson <niklas@tese.se> </div>