]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix j option in a couple more places.
authorJosh Roberson <josh@asteriasgi.com>
Sun, 20 Nov 2005 05:39:47 +0000 (05:39 +0000)
committerJosh Roberson <josh@asteriasgi.com>
Sun, 20 Nov 2005 05:39:47 +0000 (05:39 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7140 65c4cc65-6c06-0410-ace0-fbb531ad65f3

ChangeLog
apps/app_controlplayback.c
apps/app_md5.c

index aea2bc054bbd9539606dc5be3385e509a2181d4c..63c7ab5dfcb8fbee32738106fb82c0e7f8d9b75b 100755 (executable)
--- 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)
 
index dab0c156c10e8eabd735e54209211b9abc3f4bec..55a46ceb578bc334a3e0110e85fd2f9fe180ab00 100755 (executable)
@@ -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");
                                }
                        }
index c9f4f0e110d7162f0d546e84e587d6804646d0db..24f3b74e47ab1290cc9ae4323bf7dba011711758 100755 (executable)
@@ -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);
        }