]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Avoid unnecessary WARNING message
authorTerry Wilson <twilson@digium.com>
Fri, 14 Oct 2011 16:45:19 +0000 (16:45 +0000)
committerTerry Wilson <twilson@digium.com>
Fri, 14 Oct 2011 16:45:19 +0000 (16:45 +0000)
Add AST_CONTROL_UPDATE_RTP_PEER frame to be ignored here to avoid
displaying a WARNING message.

(closes issue ASTERISK-18610)
 Patch by: Kristijan_Vrban
........

Merged revisions 340878 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 340879 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@340880 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 70b0b7b7691474190511e8e598af760cbbde771a..0f61866ee87009a2b8a9f2ab21f7056796b1dc04 100644 (file)
@@ -3613,6 +3613,7 @@ int ast_waitfordigit_full(struct ast_channel *c, int ms, int audiofd, int cmdfd)
                                case AST_CONTROL_SRCCHANGE:
                                case AST_CONTROL_CONNECTED_LINE:
                                case AST_CONTROL_REDIRECTING:
+                               case AST_CONTROL_UPDATE_RTP_PEER:
                                case -1:
                                        /* Unimportant */
                                        break;