[asterisk-commits] chan pjsip: Suppress frame warnings. (asterisk[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 6 06:15:23 CDT 2017


Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/6402 )

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; 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/6402
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0332a05519d7bda9cacfa26d433909ff1909be67
Gerrit-Change-Number: 6402
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-commits/attachments/20170906/fb523754/attachment-0001.html>


More information about the asterisk-commits mailing list