]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
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 0df45a4dcd24ef7f9ca74e9e46f87ad0eb212aa8..9467b1df2684b0ae38d66a6f943e11b7f221c3ac 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 a4e543f11000ac683cab2727a117293b3d33f675..030dab00122b4cec89a35a6ca83e3d855a81bed8 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 78e376b0e0ccee8aed27b8622cff71a2b719f35f..23ac9749322d99953c81328724e4141dffbdb45e 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