mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
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:
@@ -1061,6 +1061,7 @@ static int waitstream_core(struct ast_channel *c, const char *breakon,
|
|||||||
default:
|
default:
|
||||||
ast_log(LOG_WARNING, "Unexpected control subclass '%d'\n", fr->subclass);
|
ast_log(LOG_WARNING, "Unexpected control subclass '%d'\n", fr->subclass);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case AST_FRAME_VOICE:
|
case AST_FRAME_VOICE:
|
||||||
/* Write audio if appropriate */
|
/* Write audio if appropriate */
|
||||||
if (audiofd > -1)
|
if (audiofd > -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user