[Asterisk-code-review] chan pjsip: Suppress frame warnings. (asterisk[15])

Jenkins2 asteriskteam at digium.com
Wed Sep 6 06:14:43 CDT 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/6401 )

Change subject: chan_pjsip: Suppress frame warnings.
......................................................................

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
---
M channels/chan_pjsip.c
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Richard Mudgett: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c
index 677dfd3..841654c 100644
--- a/channels/chan_pjsip.c
+++ b/channels/chan_pjsip.c
@@ -941,6 +941,8 @@
 			res = media->write_callback(session, media, frame);
 		}
 		break;
+	case AST_FRAME_CNG:
+		break;
 	default:
 		ast_log(LOG_WARNING, "Can't send %u type frames with PJSIP\n", frame->frametype);
 		break;

-- 
To view, visit https://gerrit.asterisk.org/6401
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: merged
Gerrit-Change-Id: I0332a05519d7bda9cacfa26d433909ff1909be67
Gerrit-Change-Number: 6401
Gerrit-PatchSet: 2
Gerrit-Owner: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170906/32d9c70f/attachment-0001.html>


More information about the asterisk-code-review mailing list