[Asterisk-cvs] asterisk/apps app_chanisavail.c, 1.16, 1.17 app_queue.c, 1.145, 1.146

kpfleming at lists.digium.com kpfleming at lists.digium.com
Fri Jul 8 17:06:00 CDT 2005


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

Modified Files:
	app_chanisavail.c app_queue.c 
Log Message:
queue device state changes and handle them serially in a background thread
optimize device state related functions
add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation


Index: app_chanisavail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_chanisavail.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- app_chanisavail.c	6 Jun 2005 22:39:31 -0000	1.16
+++ app_chanisavail.c	8 Jul 2005 21:14:34 -0000	1.17
@@ -31,6 +31,7 @@
 #include "asterisk/pbx.h"
 #include "asterisk/module.h"
 #include "asterisk/app.h"
+#include "asterisk/devicestate.h"
 
 static char *tdesc = "Check if channel is available";
 

Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- app_queue.c	7 Jul 2005 23:29:48 -0000	1.145
+++ app_queue.c	8 Jul 2005 21:14:34 -0000	1.146
@@ -71,6 +71,7 @@
 #include "asterisk/utils.h"
 #include "asterisk/causes.h"
 #include "asterisk/astdb.h"
+#include "asterisk/devicestate.h"
 
 #define QUEUE_STRATEGY_RINGALL		0
 #define QUEUE_STRATEGY_ROUNDROBIN	1




More information about the svn-commits mailing list