Don't treat unknown control frames as voice

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Paul Cadach
2006-09-28 06:01:37 +00:00
parent 07317339ce
commit 8d881f8be0

View File

@@ -1061,6 +1061,7 @@ static int waitstream_core(struct ast_channel *c, const char *breakon,
default:
ast_log(LOG_WARNING, "Unexpected control subclass '%d'\n", fr->subclass);
}
break;
case AST_FRAME_VOICE:
/* Write audio if appropriate */
if (audiofd > -1)