[Asterisk-cvs] asterisk/apps app_queue.c,1.81,1.82

malcolmd at lists.digium.com malcolmd at lists.digium.com
Fri Jul 30 16:52:41 CDT 2004


Update of /usr/cvsroot/asterisk/apps
In directory localhost.localdomain:/tmp/cvs-serv1820/apps

Modified Files:
	app_queue.c 
Log Message:
Bug # 2171: Add permission to QueueAdd and QueueRemove manager commands


Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- app_queue.c	28 Jul 2004 19:25:14 -0000	1.81
+++ app_queue.c	30 Jul 2004 20:38:45 -0000	1.82
@@ -2381,8 +2381,8 @@
 		ast_cli_register(&cli_remove_queue_member);
 		ast_manager_register( "Queues", 0, manager_queues_show, "Queues" );
 		ast_manager_register( "QueueStatus", 0, manager_queues_status, "Queue Status" );
-		ast_manager_register( "QueueAdd", 0, manager_add_queue_member, "Add interface to queue." );
-		ast_manager_register( "QueueRemove", 0, manager_remove_queue_member, "Remove interface from queue." );
+		ast_manager_register( "QueueAdd", EVENT_FLAG_AGENT, manager_add_queue_member, "Add interface to queue." );
+		ast_manager_register( "QueueRemove", EVENT_FLAG_AGENT, manager_remove_queue_member, "Remove interface from queue." );
 		ast_register_application(app_aqm, aqm_exec, app_aqm_synopsis, app_aqm_descrip) ;
 		ast_register_application(app_rqm, rqm_exec, app_rqm_synopsis, app_rqm_descrip) ;
 	}




More information about the svn-commits mailing list