[Asterisk-cvs] asterisk/channels chan_agent.c, 1.142,
1.143 chan_iax2.c, 1.315, 1.316 chan_sip.c, 1.775, 1.776
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Fri Jul 8 17:06:00 CDT 2005
Update of /usr/cvsroot/asterisk/channels
In directory localhost.localdomain:/tmp/cvs-serv23507/channels
Modified Files:
chan_agent.c chan_iax2.c chan_sip.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: chan_agent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -d -r1.142 -r1.143
--- chan_agent.c 6 Jul 2005 14:47:25 -0000 1.142
+++ chan_agent.c 8 Jul 2005 21:14:34 -0000 1.143
@@ -49,6 +49,7 @@
#include "asterisk/utils.h"
#include "asterisk/causes.h"
#include "asterisk/astdb.h"
+#include "asterisk/devicestate.h"
static const char desc[] = "Agent Proxy Channel";
static const char channeltype[] = "Agent";
Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.315
retrieving revision 1.316
diff -u -d -r1.315 -r1.316
--- chan_iax2.c 7 Jul 2005 22:32:20 -0000 1.315
+++ chan_iax2.c 8 Jul 2005 21:14:34 -0000 1.316
@@ -42,6 +42,8 @@
#include "asterisk/localtime.h"
#include "asterisk/aes.h"
#include "asterisk/dnsmgr.h"
+#include "asterisk/devicestate.h"
+
#include <sys/mman.h>
#include <arpa/inet.h>
#include <dirent.h>
@@ -73,7 +75,6 @@
#include "iax2.h"
#include "iax2-parser.h"
#include "iax2-provision.h"
-#include "asterisk.h"
/* Define NEWJB to use the new channel independent jitterbuffer,
* otherwise, use the old jitterbuffer */
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.775
retrieving revision 1.776
diff -u -d -r1.775 -r1.776
--- chan_sip.c 7 Jul 2005 19:51:33 -0000 1.775
+++ chan_sip.c 8 Jul 2005 21:14:34 -0000 1.776
@@ -62,6 +62,7 @@
#include "asterisk/file.h"
#include "asterisk/astobj.h"
#include "asterisk/dnsmgr.h"
+#include "asterisk/devicestate.h"
#ifdef OSP_SUPPORT
#include "asterisk/astosp.h"
#endif
More information about the svn-commits
mailing list