diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-20 23:42:43 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-20 23:42:43 +0000 |
commit | 78861a7157650e1359f4895751bb63ca6e8f0d0c (patch) | |
tree | be9d6d10f512129d27cc448da10a533c1b71b710 /apps/app_md5.c | |
parent | 92484db103bd588309e63ba313c8e659cd6c5ef6 (diff) |
fix logic for n+101 jumps
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-2@7152 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_md5.c')
-rwxr-xr-x | apps/app_md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_md5.c b/apps/app_md5.c index c9f4f0e11..4b018b33e 100755 --- a/apps/app_md5.c +++ b/apps/app_md5.c @@ -157,9 +157,9 @@ 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); + ast_log(LOG_DEBUG, "Can't jump to exten+101 (e%s,p%d), sorry\n", chan->exten,chan->priority+101); } LOCAL_USER_REMOVE(u); return res; |