[Asterisk-cvs] asterisk/include/asterisk channel.h,1.90,1.91

russell at lists.digium.com russell at lists.digium.com
Sun Jul 10 19:41:36 CDT 2005


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv4756/include/asterisk

Modified Files:
	channel.h 
Log Message:
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION


Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- channel.h	8 Jul 2005 21:14:34 -0000	1.90
+++ channel.h	10 Jul 2005 23:49:57 -0000	1.91
@@ -36,20 +36,21 @@
 #include "asterisk/lock.h"
 
 /*! Max length of an extension */
-#define AST_MAX_EXTENSION 80
+#define AST_MAX_EXTENSION	80
+
+#define AST_MAX_CONTEXT		80
 
 #include "asterisk/cdr.h"
 #include "asterisk/monitor.h"
 #include "asterisk/utils.h"
 
+#define AST_CHANNEL_NAME	80
 
-#define AST_CHANNEL_NAME 80
-
-#define MAX_LANGUAGE 20
+#define MAX_LANGUAGE		20
 
-#define MAX_MUSICCLASS 20
+#define MAX_MUSICCLASS		20
 
-#define AST_MAX_FDS 8
+#define AST_MAX_FDS		8
 
 typedef unsigned long long ast_group_t;
 
@@ -256,9 +257,9 @@
 	struct ast_callerid cid;
 		
 	/*! Current extension context */
-	char context[AST_MAX_EXTENSION];	
+	char context[AST_MAX_CONTEXT];
 	/*! Current non-macro context */
-	char macrocontext[AST_MAX_EXTENSION];	
+	char macrocontext[AST_MAX_CONTEXT];	
 	/*! Current non-macro extension */
 	char macroexten[AST_MAX_EXTENSION];
 	/*! Current non-macro priority */




More information about the svn-commits mailing list