aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-26 16:29:56 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-07-26 16:29:56 +0000
commit877efbde9443463e5d78e45466e4b33397a3bb80 (patch)
treee3deab1ad694a103d0608d32d99ce9bc1d7b3516 /pbx
parent8b68883587fd0b1a63b7378009fcca431c6fc641 (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: http://svn.digium.com/svn/asterisk/trunk@6224 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-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) {