summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/extensions.conf.sample2
-rw-r--r--pbx/pbx_config.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configs/extensions.conf.sample b/configs/extensions.conf.sample
index cb3384dea..f74f350a1 100644
--- a/configs/extensions.conf.sample
+++ b/configs/extensions.conf.sample
@@ -50,7 +50,7 @@ clearglobalvars=no
; of Asterisk). Individual applications can also be requested to do this
; by passing a 'j' option in their arguments.
;
-priorityjumping=no
+;priorityjumping=yes
;
; You can include other config files, use the #include command
; (without the ';'). Note that this is different from the "include" command
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index d8f4d6d76..ae3458de0 100644
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -1358,7 +1358,7 @@ static void pbx_load_config(const char *config_file)
write_protect_config = ast_true(ast_variable_retrieve(cfg, "general", "writeprotect"));
autofallthrough_config = ast_true(ast_variable_retrieve(cfg, "general", "autofallthrough"));
clearglobalvars_config = ast_true(ast_variable_retrieve(cfg, "general", "clearglobalvars"));
- ast_set2_flag(&ast_options, !ast_false(ast_variable_retrieve(cfg, "general", "priorityjumping")), AST_OPT_FLAG_PRIORITY_JUMPING);
+ ast_set2_flag(&ast_options, ast_true(ast_variable_retrieve(cfg, "general", "priorityjumping")), AST_OPT_FLAG_PRIORITY_JUMPING);
for (v = ast_variable_browse(cfg, "globals"); v; v = v->next) {
memset(realvalue, 0, sizeof(realvalue));