Pass through flash hook

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-11-03 22:37:55 +00:00
parent 5718466917
commit 94994626b6
4 changed files with 46 additions and 1 deletions

View File

@@ -362,7 +362,8 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu
ast_indicate(in, AST_CONTROL_PROGRESS);
break;
case AST_CONTROL_OFFHOOK:
/* Ignore going off hook */
case AST_CONTROL_FLASH:
/* Ignore going off hook and flash */
break;
case -1:
if (!outgoing->ringbackonly && !outgoing->musiconhold) {