[Asterisk-cvs] asterisk/pbx pbx_config.c,1.69,1.70

kpfleming kpfleming
Thu Oct 13 19:00:51 CDT 2005


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

Modified Files:
	pbx_config.c 
Log Message:
ensure that priorityjumping option returns to its default during reload if it is no longer specified in extensions.conf


Index: pbx_config.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_config.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- pbx_config.c	23 Sep 2005 02:57:14 -0000	1.69
+++ pbx_config.c	13 Oct 2005 22:55:28 -0000	1.70
@@ -1623,8 +1623,8 @@
 									"autofallthrough"));
 		clearglobalvars_config = ast_true(ast_variable_retrieve(cfg, "general", 
 									"clearglobalvars"));
-		option_priority_jumping = ast_true(ast_variable_retrieve(cfg, "general",
-									 "priorityjumping"));
+		option_priority_jumping = !ast_false(ast_variable_retrieve(cfg, "general",
+									   "priorityjumping"));
 
 		v = ast_variable_browse(cfg, "globals");
 		while(v) {




More information about the svn-commits mailing list