From: Terry Wilson Date: Fri, 14 Oct 2011 16:39:36 +0000 (+0000) Subject: Avoid unnecessary WARNING message X-Git-Tag: 10.0.0-rc1~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb6e65cdf3c09237e60fbd0d71273a9043ccbdb4;p=thirdparty%2Fasterisk.git Avoid unnecessary WARNING message 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@340879 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/channel.c b/main/channel.c index 70b0b7b769..0f61866ee8 100644 --- a/main/channel.c +++ b/main/channel.c @@ -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;