[asterisk-commits] file: trunk r44274 - in /trunk: CHANGES
apps/app_queue.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Oct 3 10:41:41 MST 2006
Author: file
Date: Tue Oct 3 12:41:41 2006
New Revision: 44274
URL: http://svn.digium.com/view/asterisk?rev=44274&view=rev
Log:
Add 'Strat' manager field to QueueParams event. (issue #7704 reported by renemendoza)
Modified:
trunk/CHANGES
trunk/apps/app_queue.c
Modified: trunk/CHANGES
URL: http://svn.digium.com/view/asterisk/trunk/CHANGES?rev=44274&r1=44273&r2=44274&view=diff
==============================================================================
--- trunk/CHANGES (original)
+++ trunk/CHANGES Tue Oct 3 12:41:41 2006
@@ -26,4 +26,6 @@
* setinterfacevar option in queues.conf also now sets a variable
called MEMBERNAME which contains the member's name.
* Added Masquerade manager event for when a masquerade happens between
- two channels.
+ two channels.
+ * Added 'Strat' field to manager event QueueParams which represents
+ the queue strategy in use.
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?rev=44274&r1=44273&r2=44274&view=diff
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Tue Oct 3 12:41:41 2006
@@ -4107,6 +4107,7 @@
astman_append(s, "Event: QueueParams\r\n"
"Queue: %s\r\n"
"Max: %d\r\n"
+ "Strat: %s\r\n"
"Calls: %d\r\n"
"Holdtime: %d\r\n"
"Completed: %d\r\n"
@@ -4116,7 +4117,7 @@
"Weight: %d\r\n"
"%s"
"\r\n",
- q->name, q->maxlen, q->count, q->holdtime, q->callscompleted,
+ q->name, q->maxlen, int2strat(q->strategy), q->count, q->holdtime, q->callscompleted,
q->callsabandoned, q->servicelevel, sl, q->weight, idText);
/* List Queue Members */
for (mem = q->members; mem; mem = mem->next) {
More information about the asterisk-commits
mailing list