[asterisk-commits] bweschke: trunk r150773 - in /trunk: ./ apps/ doc/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Oct 17 19:25:18 CDT 2008


Author: bweschke
Date: Fri Oct 17 19:25:18 2008
New Revision: 150773

URL: http://svn.digium.com/view/asterisk?view=rev&rev=150773
Log:
 The QueueEntry event now has the uniqueid of the channel included.
 (closes issue #13731)
 reported and patched by: caio1982


Modified:
    trunk/CHANGES
    trunk/apps/app_queue.c
    trunk/doc/manager_1_1.txt

Modified: trunk/CHANGES
URL: http://svn.digium.com/view/asterisk/trunk/CHANGES?view=diff&rev=150773&r1=150772&r2=150773
==============================================================================
--- trunk/CHANGES (original)
+++ trunk/CHANGES Fri Oct 17 19:25:18 2008
@@ -216,6 +216,7 @@
 --------------------------------
   * The Status command now takes an optional list of variables to display
     along with channel status.
+  * The QueueEntry event now also includes the channel's uniqueid
 
 ODBC Changes
 ------------

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=150773&r1=150772&r2=150773
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Fri Oct 17 19:25:18 2008
@@ -5746,12 +5746,13 @@
 					"Queue: %s\r\n"
 					"Position: %d\r\n"
 					"Channel: %s\r\n"
+					"Uniqueid: %s\r\n"
 					"CallerIDNum: %s\r\n"
 					"CallerIDName: %s\r\n"
 					"Wait: %ld\r\n"
 					"%s"
 					"\r\n",
-					q->name, pos++, qe->chan->name,
+					q->name, pos++, qe->chan->name, qe->chan->uniqueid,
 					S_OR(qe->chan->cid.cid_num, "unknown"),
 					S_OR(qe->chan->cid.cid_name, "unknown"),
 					(long) (now - qe->start), idText);

Modified: trunk/doc/manager_1_1.txt
URL: http://svn.digium.com/view/asterisk/trunk/doc/manager_1_1.txt?view=diff&rev=150773&r1=150772&r2=150773
==============================================================================
--- trunk/doc/manager_1_1.txt (original)
+++ trunk/doc/manager_1_1.txt Fri Oct 17 19:25:18 2008
@@ -125,6 +125,8 @@
 	If you call out to a subshell in Originate with the Application parameter,
 		you now also need the System privilege.
 
+- Event QueueEntry now also returns the Uniqueid field like other events from app_queue.
+
 * NEW ACTIONS
 -------------
 - Action: ModuleLoad




More information about the asterisk-commits mailing list