diff --git a/CHANGES b/CHANGES index 0df45a4dcd..9467b1df26 100644 --- 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 ------------ diff --git a/apps/app_queue.c b/apps/app_queue.c index a4e543f110..030dab0012 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); diff --git a/doc/manager_1_1.txt b/doc/manager_1_1.txt index 78e376b0e0..23ac974932 100644 --- a/doc/manager_1_1.txt +++ b/doc/manager_1_1.txt @@ -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