[asterisk-commits] mmichelson: trunk r102777 - /trunk/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 6 14:12:44 CST 2008


Author: mmichelson
Date: Wed Feb  6 14:12:43 2008
New Revision: 102777

URL: http://svn.digium.com/view/asterisk?view=rev&rev=102777
Log:
Add the channel's unique id to the AgentCalled manager event to make it more consistent
with other manager events.


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=102777&r1=102776&r2=102777
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed Feb  6 14:12:43 2008
@@ -2182,11 +2182,12 @@
 					"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);
 	}




More information about the asterisk-commits mailing list