From: Jason Parker Date: Fri, 20 Apr 2007 19:49:54 +0000 (+0000) Subject: If the '* to hangup' option is not enabled, we don't need to disable * as a valid... X-Git-Tag: 1.2.18~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c28413ff945bc9f22975a5b8bb12f3029f77aad6;p=thirdparty%2Fasterisk.git If the '* to hangup' option is not enabled, we don't need to disable * as a valid exit key. If it was enabled, this statement would've never been checked in the first place. Issue #9552 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@61692 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index b6d809862f..712619256d 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1990,7 +1990,7 @@ static struct localuser *wait_for_answer(struct queue_ent *qe, struct localuser ast_frfree(f); return NULL; } - if ((f->frametype == AST_FRAME_DTMF) && (f->subclass != '*') && valid_exit(qe, f->subclass)) { + if ((f->frametype == AST_FRAME_DTMF) && valid_exit(qe, f->subclass)) { if (option_verbose > 3) ast_verbose(VERBOSE_PREFIX_3 "User pressed digit: %c\n", f->subclass); *to=0;