The QueueEntry event now has the uniqueid of the channel included.
authorBJ Weschke <bweschke@btwtech.com>
Sat, 18 Oct 2008 00:25:18 +0000 (00:25 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Sat, 18 Oct 2008 00:25:18 +0000 (00:25 +0000)
 (closes issue #13731)
 reported and patched by: caio1982

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150773 65c4cc65-6c06-0410-ace0-fbb531ad65f3

CHANGES
apps/app_queue.c
doc/manager_1_1.txt

diff --git a/CHANGES b/CHANGES
index 0df45a4..9467b1d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -216,6 +216,7 @@ AMI - The manager (TCP/TLS/HTTP)
 --------------------------------
   * The Status command now takes an optional list of variables to display
     along with channel status.
+  * The QueueEntry event now also includes the channel's uniqueid
 
 ODBC Changes
 ------------
index a4e543f..030dab0 100644 (file)
@@ -5746,12 +5746,13 @@ static int manager_queues_status(struct mansession *s, const struct message *m)
                                        "Queue: %s\r\n"
                                        "Position: %d\r\n"
                                        "Channel: %s\r\n"
+                                       "Uniqueid: %s\r\n"
                                        "CallerIDNum: %s\r\n"
                                        "CallerIDName: %s\r\n"
                                        "Wait: %ld\r\n"
                                        "%s"
                                        "\r\n",
-                                       q->name, pos++, qe->chan->name,
+                                       q->name, pos++, qe->chan->name, qe->chan->uniqueid,
                                        S_OR(qe->chan->cid.cid_num, "unknown"),
                                        S_OR(qe->chan->cid.cid_name, "unknown"),
                                        (long) (now - qe->start), idText);
index 78e376b..23ac974 100644 (file)
@@ -125,6 +125,8 @@ Changes to manager version 1.1:
        If you call out to a subshell in Originate with the Application parameter,
                you now also need the System privilege.
 
+- Event QueueEntry now also returns the Uniqueid field like other events from app_queue.
+
 * NEW ACTIONS
 -------------
 - Action: ModuleLoad