[asterisk-commits] russell: trunk r74084 - /trunk/apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jul 9 11:35:43 CDT 2007
Author: russell
Date: Mon Jul 9 11:35:43 2007
New Revision: 74084
URL: http://svn.digium.com/view/asterisk?view=rev&rev=74084
Log:
Add Queue and DestinationChannel headers to the AgentCalled manager event
to be more like the rest of the events in this module.
(closes issue #10114, patch by kwakwaversal)
Modified:
trunk/apps/app_queue.c
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=74084&r1=74083&r2=74084
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Mon Jul 9 11:35:43 2007
@@ -1763,15 +1763,17 @@
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,
More information about the asterisk-commits
mailing list