summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index bc4d1243d..ce38d2fff 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1763,15 +1763,17 @@ static int ring_entry(struct queue_ent *qe, struct callattempt *tmp, int *busies
char vars[2048];
manager_event(EVENT_FLAG_AGENT, "AgentCalled",
+ "Queue: %s\r\n"
"AgentCalled: %s\r\n"
"ChannelCalling: %s\r\n"
+ "DestinationChannel: %s\r\n"
"CallerIDNum: %s\r\n"
"CallerIDName: %s\r\n"
"Context: %s\r\n"
"Extension: %s\r\n"
"Priority: %d\r\n"
"%s",
- tmp->interface, qe->chan->name,
+ qe->parent->name, tmp->interface, 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,