file.c, channel.c: Don't emit warnings if progress received.

Silently ignore AST_CONTROL_PROGRESS where appropriate,
as most control frames already are.

Resolves: #696
(cherry picked from commit 051ddbe729)
This commit is contained in:
Naveen Albert
2024-04-09 20:01:36 -04:00
committed by Asterisk Development Team
parent 765788f57b
commit b6ece124e8
2 changed files with 2 additions and 0 deletions

View File

@@ -3311,6 +3311,7 @@ int ast_waitfordigit_full(struct ast_channel *c, int timeout_ms, const char *bre
ast_channel_clear_flag(c, AST_FLAG_END_DTMF_ONLY);
return res;
case AST_CONTROL_PVT_CAUSE_CODE:
case AST_CONTROL_PROGRESS:
case AST_CONTROL_RINGING:
case AST_CONTROL_ANSWER:
case AST_CONTROL_SRCUPDATE: