mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
fix logic error that breaks queue exit (issue #5312)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1021,7 +1021,8 @@ static int valid_exit(struct queue_ent *qe, char digit)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* We have an exact match */
|
/* We have an exact match */
|
||||||
if (ast_goto_if_exists(qe->chan, qe->context, qe->digits, 1)) {
|
if (!ast_goto_if_exists(qe->chan, qe->context, qe->digits, 1)) {
|
||||||
|
/* Return 1 on a successful goto */
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user