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_controlplayback.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_controlplayback.c')
-rwxr-xr-x | apps/app_controlplayback.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } } |