From: Mark Michelson Date: Wed, 6 Feb 2008 20:12:43 +0000 (+0000) Subject: Add the channel's unique id to the AgentCalled manager event to make it more consistent X-Git-Tag: 1.6.0-beta3~2^2~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f26fd8dac47171252a310f7bd0af402abb59d30d;p=thirdparty%2Fasterisk.git Add the channel's unique id to the AgentCalled manager event to make it more consistent with other manager events. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102777 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index d1238a1e0a..392c5a040c 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); }