]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Avoid unnecessary WARNING message
authorTerry Wilson <twilson@digium.com>
Fri, 14 Oct 2011 16:33:28 +0000 (16:33 +0000)
committerTerry Wilson <twilson@digium.com>
Fri, 14 Oct 2011 16:33:28 +0000 (16:33 +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

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

main/channel.c

index 342908196f9e1b5303a1be51998cee701b3ed298..8b9473f56ccb57442c5c479475ed841cb7f6bd68 100644 (file)
@@ -3562,6 +3562,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;