Skip to content
Snippets Groups Projects
Commit 283fa3a9 authored by Naveen Albert's avatar Naveen Albert Committed by N A
Browse files

main/file.c: Don't throw error on flash event.

AST_CONTROL_FLASH isn't accounted for in a switch statement in file.c
where it should be ignored. Adding this to the switch ensures a
warning isn't thrown on RFC2833 flash events, since nothing's amiss.

ASTERISK-29372

Change-Id: I4fa549bfb7ba1894a4044de999ea124877422fbc
parent 78d78624
No related branches found
No related tags found
No related merge requests found
......@@ -1702,6 +1702,7 @@ static int waitstream_core(struct ast_channel *c,
case AST_CONTROL_AOC:
case AST_CONTROL_UPDATE_RTP_PEER:
case AST_CONTROL_PVT_CAUSE_CODE:
case AST_CONTROL_FLASH:
case -1:
/* Unimportant */
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment