[Asterisk-cvs] asterisk/include/asterisk channel.h,1.65,1.66

markster at lists.digium.com markster at lists.digium.com
Mon Jan 3 21:56:31 CST 2005


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

Modified Files:
	channel.h 
Log Message:
Make features configurable and easier to implement


Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- channel.h	24 Dec 2004 01:40:07 -0000	1.65
+++ channel.h	4 Jan 2005 04:01:40 -0000	1.66
@@ -233,13 +233,15 @@
 #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_FEATURE_PLAY_WARNING	(1 << 0)
+#define AST_FEATURE_REDIRECT		(1 << 1)
+#define AST_FEATURE_DISCONNECT		(1 << 2)
+
+#define AST_FEATURE_FLAG_NEEDSDTMF		(1 << 0)
+
 struct ast_bridge_config {
-	int play_to_caller;
-	int play_to_callee;
-	int allowredirect_in;
-	int allowredirect_out;
-	int allowdisconnect_in;
-	int allowdisconnect_out;
+	unsigned int features_caller;
+	unsigned int features_callee;
 	long timelimit;
 	long play_warning;
 	long warning_freq;
@@ -247,6 +249,7 @@
 	char *end_sound;
 	char *start_sound;
 	int firstpass;
+	int flags;
 };
 
 struct chanmon;




More information about the svn-commits mailing list