diff options
author | Ben Ford <bford@digium.com> | 2017-09-05 09:35:12 -0500 |
---|---|---|
committer | Ben Ford <bford@digium.com> | 2017-09-05 17:15:23 -0500 |
commit | 598a18ffee61f9a737197e8636d5fa71ea0b1232 (patch) | |
tree | 8a62b7df6dea3cb0fec7695840c9fc24efb642f3 /channels | |
parent | 7b240d173436ad828008d1cb3c1eae10932518be (diff) |
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
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_pjsip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c index 7a2ffbcc8..75dcd7610 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; |