[asterisk-commits] mmichelson: branch mmichelson/queue-reset r102548 - in /team/mmichelson/queue...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 5 17:59:26 CST 2008
Author: mmichelson
Date: Tue Feb 5 17:59:25 2008
New Revision: 102548
URL: http://svn.digium.com/view/asterisk?view=rev&rev=102548
Log:
Add CHANGES documentation and fix broken build.
I plan to make one more debugging run through the code to see if there are any blatant
errors. If not, then this will be considered ready to go. I, however, will hold off merging
this until 1.6.0 has been released. I will make this a feature for 1.6.1 and beyond.
Modified:
team/mmichelson/queue-reset/CHANGES
team/mmichelson/queue-reset/apps/app_queue.c
Modified: team/mmichelson/queue-reset/CHANGES
URL: http://svn.digium.com/view/asterisk/team/mmichelson/queue-reset/CHANGES?view=diff&rev=102548&r1=102547&r2=102548
==============================================================================
--- team/mmichelson/queue-reset/CHANGES (original)
+++ team/mmichelson/queue-reset/CHANGES Tue Feb 5 17:59:25 2008
@@ -300,6 +300,10 @@
* Added a new parameter for member definition, called state_interface. This may be
used so that a member may be called via one interface but have a different interface's
device state reported.
+ * Added new CLI and Manager commands relating to reloading queues. From the CLI, see
+ "queue reload", "queue member reload", "queue reset stats". Also see "manager show
+ command QueueReload", "manager show command QueueReset", and "manager show command
+ QueueMemberReload".
MeetMe Changes
--------------
Modified: team/mmichelson/queue-reset/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/team/mmichelson/queue-reset/apps/app_queue.c?view=diff&rev=102548&r1=102547&r2=102548
==============================================================================
--- team/mmichelson/queue-reset/apps/app_queue.c (original)
+++ team/mmichelson/queue-reset/apps/app_queue.c Tue Feb 5 17:59:25 2008
@@ -5135,8 +5135,6 @@
struct call_queue *q;
struct ast_config *cfg;
char *cat;
- struct ao2_iterator mem_iter;
- struct member *cur;
struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 };
struct ao2_iterator queue_iter;
@@ -5180,7 +5178,7 @@
if (mask & QUEUE_RELOAD) {
queue_iter = ao2_iterator_init(queues, 0);
while ((q = ao2_iterator_next(&queue_iter))) {
- if ((ast_strlen_zero(queuname) || !strcasecmp(queuename, q->name)) && q->dead) {
+ if ((ast_strlen_zero(queuename) || !strcasecmp(queuename, q->name)) && q->dead) {
ao2_unlink(queues, q);
}
queue_unref(q);
More information about the asterisk-commits
mailing list