aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortwisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-20 05:39:47 +0000
committertwisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-20 05:39:47 +0000
commitef792fd8477bcee43a990b01a1d9dd621c93079b (patch)
treef29780bd4e970f86c83717adf0ab48ae4ffef8dd
parent1db2b873dc03b8ba12c2de3cff928c3bc58e6630 (diff)
Fix j option in a couple more places.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7140 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xChangeLog6
-rwxr-xr-xapps/app_controlplayback.c2
-rwxr-xr-xapps/app_md5.c2
3 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index aea2bc054..63c7ab5df 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
2005-11-20 Josh Roberson <josh@asteriasgi.com>
- * apps/app_voicemail.c: Fix conditional jump option to jump properly, also correct a small typo in the description. (issue #5795)
+ * apps/app_md5.c: Fix conditional jump option.
+
+ * apps/app_controlplayback.c: Fix conditional jump option.
+
+ * apps/app_hasnewvoicemail.c: Fix conditional jump option to jump properly, also correct a small typo in the description. (issue #5795)
* channels/chan_iax2.c: Fix output of iax2 show peer <peer> (issue #5792)
diff --git a/apps/app_controlplayback.c b/apps/app_controlplayback.c
index dab0c156c..55a46ceb5 100755
--- a/apps/app_controlplayback.c
+++ b/apps/app_controlplayback.c
@@ -140,7 +140,7 @@ static int controlplayback_exec(struct ast_channel *chan, void *data)
} else {
if (res < 0) {
if (priority_jump || option_priority_jumping) {
- if (!ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101)) {
+ if (ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101)) {
ast_log(LOG_WARNING, "ControlPlayback tried to jump to priority n+101 as requested, but priority didn't exist\n");
}
}
diff --git a/apps/app_md5.c b/apps/app_md5.c
index c9f4f0e11..24f3b74e4 100755
--- a/apps/app_md5.c
+++ b/apps/app_md5.c
@@ -157,7 +157,7 @@ static int md5check_exec(struct ast_channel *chan, void *data)
ast_log(LOG_DEBUG, "ERROR: MD5 not verified: %s -- %s\n", args.md5hash, args.string);
pbx_builtin_setvar_helper(chan, "CHECKMD5STATUS", "NOMATCH");
if (priority_jump || option_priority_jumping) {
- if (!ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101))
+ if (ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101))
if (option_debug > 2)
ast_log(LOG_DEBUG, "ERROR: Can't jump to exten+101 (e%s,p%d), sorry\n", chan->exten,chan->priority+101);
}