aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-06 20:12:43 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-06 20:12:43 +0000
commita52c5cbe76e76543aeaf1902cffad932ccff3e9d (patch)
treebb68b117b8e8ff2069e13ec6338c1f53a6c8ed69 /apps/app_queue.c
parentf7101e5e1d50c78390ed32d6e85d2b6d49fc874a (diff)
Add the channel's unique id to the AgentCalled manager event to make it more consistent
with other manager events. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102777 f38db490-d61c-443f-a65b-d21fe96a405b
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 d1238a1e0..392c5a040 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -2182,11 +2182,12 @@ static int ring_entry(struct queue_ent *qe, struct callattempt *tmp, int *busies
"Context: %s\r\n"
"Extension: %s\r\n"
"Priority: %d\r\n"
+ "Uniqueid: %s\r\n"
"%s",
qe->parent->name, tmp->interface, tmp->member->membername, qe->chan->name, tmp->chan->name,
tmp->chan->cid.cid_num ? tmp->chan->cid.cid_num : "unknown",
tmp->chan->cid.cid_name ? tmp->chan->cid.cid_name : "unknown",
- qe->chan->context, qe->chan->exten, qe->chan->priority,
+ qe->chan->context, qe->chan->exten, qe->chan->priority, qe->chan->uniqueid,
qe->parent->eventwhencalled == QUEUE_EVENT_VARIABLES ? vars2manager(qe->chan, vars, sizeof(vars)) : "");
ast_verb(3, "Called %s\n", tmp->interface);
}