summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorBJ Weschke <bweschke@btwtech.com>2008-10-18 00:25:18 +0000
committerBJ Weschke <bweschke@btwtech.com>2008-10-18 00:25:18 +0000
commit7a8344bac69cc528b2406ea5f3eb79ced9a6a435 (patch)
treefa1250ff4370a5eda43aa614c897c344cee3accf /apps/app_queue.c
parentd745aa4573feee41440986b6395b93d3ab606207 (diff)
The QueueEntry event now has the uniqueid of the channel included.
(closes issue #13731) reported and patched by: caio1982 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index a4e543f11..030dab001 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -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);