[Asterisk-cvs] asterisk/include/asterisk channel.h,1.82,1.83

kpfleming at lists.digium.com kpfleming at lists.digium.com
Fri Apr 29 10:14:53 CDT 2005


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

Modified Files:
	channel.h 
Log Message:
make 'goto' APIs aware of auto-processing loops, so they know exactly when to set the requested priority or one priority lower


Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- channel.h	21 Apr 2005 06:02:44 -0000	1.82
+++ channel.h	29 Apr 2005 15:04:26 -0000	1.83
@@ -348,17 +348,21 @@
 #define AST_FLAG_BLOCKING	(1 << 3)	/* if we are blocking */
 #define AST_FLAG_ZOMBIE		(1 << 4)	/* if we are a zombie */
 #define AST_FLAG_EXCEPTION	(1 << 5)	/* if there is a pending exception */
-#define AST_FLAG_MOH        (1 << 6)    /* XXX anthm promises me this will disappear XXX listening to moh */
-#define AST_FLAG_SPYING		(1 << 7)    /* XXX might also go away XXX is spying on someone */
-#define AST_FLAG_NBRIDGE	(1 << 8)    /* is it in a native bridge */
+#define AST_FLAG_MOH		(1 << 6)	/* XXX anthm promises me this will disappear XXX listening to moh */
+#define AST_FLAG_SPYING		(1 << 7)	/* XXX might also go away XXX is spying on someone */
+#define AST_FLAG_NBRIDGE	(1 << 8)	/* is it in a native bridge */
+#define AST_FLAG_IN_AUTOLOOP	(1 << 9)	/* the channel is in an auto-incrementing dialplan processor,
+						   so when ->priority is set, it will get incremented before
+						   finding the next priority to run
+						*/
 
 #define AST_FEATURE_PLAY_WARNING	(1 << 0)
 #define AST_FEATURE_REDIRECT		(1 << 1)
 #define AST_FEATURE_DISCONNECT		(1 << 2)
-#define AST_FEATURE_ATXFER			(1 << 3)
-#define AST_FEATURE_AUTOMON			(1 << 4)
+#define AST_FEATURE_ATXFER		(1 << 3)
+#define AST_FEATURE_AUTOMON		(1 << 4)
 
-#define AST_FEATURE_FLAG_NEEDSDTMF		(1 << 0)
+#define AST_FEATURE_FLAG_NEEDSDTMF	(1 << 0)
 
 struct ast_bridge_config {
 	struct ast_flags features_caller;




More information about the svn-commits mailing list