aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-12 15:58:28 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-12 15:58:28 +0000
commita07711cda280cfad96812b1ad6280c6b18622aad (patch)
treeee41d7e2d18ab41d762c5cc8ed93419808507cbd /pbx
parent34747bbb823024dbcf78944dc0d7724d1c65fef4 (diff)
Completely remove all of the code related to jumping to priority n + 101. yay!
(issue #9926, caio1982) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68970 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_config.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index e2102ee04..be125ddb9 100644
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -782,12 +782,11 @@ static int handle_save_dialplan(int fd, int argc, char *argv[])
}
/* fireout general info */
- fprintf(output, "[general]\nstatic=%s\nwriteprotect=%s\nautofallthrough=%s\nclearglobalvars=%s\npriorityjumping=%s\n\n",
+ fprintf(output, "[general]\nstatic=%s\nwriteprotect=%s\nautofallthrough=%s\nclearglobalvars=%s\n\n",
static_config ? "yes" : "no",
write_protect_config ? "yes" : "no",
autofallthrough_config ? "yes" : "no",
- clearglobalvars_config ? "yes" : "no",
- ast_true(ast_variable_retrieve(cfg, "general", "priorityjumping")) ? "yes" : "no");
+ clearglobalvars_config ? "yes" : "no");
if ((v = ast_variable_browse(cfg, "globals"))) {
fprintf(output, "[globals]\n");
@@ -1362,7 +1361,6 @@ static int pbx_load_config(const char *config_file)
if ((aft = ast_variable_retrieve(cfg, "general", "autofallthrough")))
autofallthrough_config = ast_true(aft);
clearglobalvars_config = ast_true(ast_variable_retrieve(cfg, "general", "clearglobalvars"));
- ast_set2_flag(&ast_options, ast_true(ast_variable_retrieve(cfg, "general", "priorityjumping")), AST_OPT_FLAG_PRIORITY_JUMPING);
if ((cxt = ast_variable_retrieve(cfg, "general", "userscontext")))
ast_copy_string(userscontext, cxt, sizeof(userscontext));