From: Ben Ford Date: Tue, 5 Sep 2017 14:35:12 +0000 (-0500) Subject: chan_pjsip: Suppress frame warnings. X-Git-Tag: 14.7.0-rc1~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dc7781e292b8ab263254f8010cecc0df7c2a35d;p=thirdparty%2Fasterisk.git chan_pjsip: Suppress frame warnings. When rtp_keepalive is on for a PJSIP endpoint dialing to another Asterisk instance also using PJSIP, Asterisk will continue to print warning messages about not being able to send frames of a certain type. This suppresses that warning message. Change-Id: I0332a05519d7bda9cacfa26d433909ff1909be67 --- diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c index 8e19dd87d4..976dd016f8 100644 --- a/channels/chan_pjsip.c +++ b/channels/chan_pjsip.c @@ -845,6 +845,8 @@ static int chan_pjsip_write(struct ast_channel *ast, struct ast_frame *frame) break; case AST_FRAME_MODEM: break; + case AST_FRAME_CNG: + break; default: ast_log(LOG_WARNING, "Can't send %u type frames with PJSIP\n", frame->frametype); break;