Add UniqueID to the leave manager event.
authorBJ Weschke <bweschke@btwtech.com>
Mon, 22 May 2006 15:28:28 +0000 (15:28 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Mon, 22 May 2006 15:28:28 +0000 (15:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29434 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index e42ba36..5a35374 100644 (file)
@@ -1263,8 +1263,8 @@ static void leave_queue(struct queue_ent *qe)
 
                        /* Take us out of the queue */
                        manager_event(EVENT_FLAG_CALL, "Leave",
-                               "Channel: %s\r\nQueue: %s\r\nCount: %d\r\n",
-                               qe->chan->name, q->name,  q->count);
+                               "Channel: %s\r\nQueue: %s\r\nCount: %d\r\nUniqueid: %s\r\n",
+                               qe->chan->name, q->name,  q->count, qe->chan->uniqueid);
                        if (option_debug)
                                ast_log(LOG_DEBUG, "Queue '%s' Leave, Channel '%s'\n", q->name, qe->chan->name );
                        /* Take us out of the queue */