[Asterisk-cvs] asterisk-addons/res_perl AstAPIBase.c, 1.5, 1.6 AstAPIBase_wrap.c, 1.5, 1.6

anthm at lists.digium.com anthm at lists.digium.com
Mon Jan 10 15:22:05 CST 2005


Update of /usr/cvsroot/asterisk-addons/res_perl
In directory mongoose.digium.com:/tmp/cvs-serv1198

Modified Files:
	AstAPIBase.c AstAPIBase_wrap.c 
Log Message:
sync with CVS (again)

Index: AstAPIBase.c
===================================================================
RCS file: /usr/cvsroot/asterisk-addons/res_perl/AstAPIBase.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- AstAPIBase.c	9 Jan 2005 15:06:06 -0000	1.5
+++ AstAPIBase.c	10 Jan 2005 21:26:19 -0000	1.6
@@ -676,8 +676,8 @@
 	}
   
 	memset(&bconfig,0,sizeof(struct ast_bridge_config));
-	bconfig.features_caller |= AST_FEATURE_DISCONNECT;
-	bconfig.features_callee |= AST_FEATURE_DISCONNECT;
+	ast_set_flag(&(bconfig.features_caller) , AST_FEATURE_DISCONNECT);
+	ast_set_flag(&(bconfig.features_callee) , AST_FEATURE_DISCONNECT);
 	return ast_bridge_call(chan,peer,&bconfig);
 	
 }
@@ -693,8 +693,8 @@
 	}
   
 	memset(&bconfig,0,sizeof(struct ast_bridge_config));
-	bconfig.features_caller |= AST_FEATURE_DISCONNECT;
-	bconfig.features_callee |= AST_FEATURE_DISCONNECT;
+	ast_set_flag(&(bconfig.features_caller) , AST_FEATURE_DISCONNECT);
+	ast_set_flag(&(bconfig.features_callee) , AST_FEATURE_DISCONNECT);
 	bconfig.timelimit = timelimit;
 	bconfig.play_warning = play_warning;
 	bconfig.warning_freq = warning_freq;





More information about the svn-commits mailing list