]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
file.c: Don't emit warnings on winks.
authorNaveen Albert <asterisk@phreaknet.org>
Sun, 6 Nov 2022 16:39:30 +0000 (16:39 +0000)
committerN A <asterisk@phreaknet.org>
Sun, 6 Nov 2022 16:50:57 +0000 (11:50 -0500)
Adds an ignore case for wink since it should
pass through with no warning.

ASTERISK-30290 #close

Change-Id: Ieb7e34daa717357ac5c93efb0059f6c2321f16ad

main/file.c

index 8bb40daf988a2b27d80715943e53a0ae82bbb15c..972f2340f214964f468142515e6109f174b66f38 100644 (file)
@@ -1744,6 +1744,7 @@ static int waitstream_core(struct ast_channel *c,
                                case AST_CONTROL_UPDATE_RTP_PEER:
                                case AST_CONTROL_PVT_CAUSE_CODE:
                                case AST_CONTROL_FLASH:
+                               case AST_CONTROL_WINK:
                                case -1:
                                        /* Unimportant */
                                        break;