Fix minor typo

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2003-04-22 03:01:15 +00:00
parent 9cb7619730
commit 82b01cca71
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu
*to=-1;
return NULL;
}
if (f && (f->frametype == AST_FRAME_DTMF) && allowdisconnect &&
if (f && (f->frametype == AST_FRAME_DTMF) && *allowdisconnect &&
(f->subclass == '*')) {
if (option_verbose > 3)
ast_verbose(VERBOSE_PREFIX_3 "User hit %c to disconnect call.\n", f->subclass);