summaryrefslogtreecommitdiff
path: root/pbx/pbx_config.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-07-26 16:29:56 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-07-26 16:29:56 +0000
commit5cc0413c54bfbacc3816662694981664a4e1dd77 (patch)
treee3deab1ad694a103d0608d32d99ce9bc1d7b3516 /pbx/pbx_config.c
parenta657d3a7fa3d5c140f31b2f627fb7e8f40ce7d5b (diff)
add a global option to disable priority jumping in applications (when they get updated), settable in extensions.conf
change app_dial to use 'j' to _ENABLE_ priority jumping if it has been globally disabled git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_config.c')
-rwxr-xr-xpbx/pbx_config.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index 69b66d5c2..f15715ba5 100755
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -1633,15 +1633,15 @@ static int pbx_load_module(void)
if (cfg) {
/* Use existing config to populate the PBX table */
static_config = ast_true(ast_variable_retrieve(cfg, "general",
- "static"));
+ "static"));
write_protect_config = ast_true(ast_variable_retrieve(cfg, "general",
- "writeprotect"));
-
+ "writeprotect"));
autofallthrough_config = ast_true(ast_variable_retrieve(cfg, "general",
- "autofallthrough"));
-
+ "autofallthrough"));
clearglobalvars_config = ast_true(ast_variable_retrieve(cfg, "general",
- "clearglobalvars"));
+ "clearglobalvars"));
+ option_priority_jumping = ast_true(ast_variable_retrieve(cfg, "general",
+ "priorityjumping"));
v = ast_variable_browse(cfg, "globals");
while(v) {