diff options
author | Ben Ford <bford@digium.com> | 2017-09-05 09:35:12 -0500 |
---|---|---|
committer | Benjamin Keith Ford <bford@digium.com> | 2017-09-05 17:20:47 -0500 |
commit | bfc29de3ea8e3b6a458550f9d29c5fd43e13c48d (patch) | |
tree | 709480cce4712a52be2e4ba9ef9de1c7aeb82a34 /channels/chan_pjsip.c | |
parent | f556c31aea25e189b1f6dfae0a541e3575a8a9f5 (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/chan_pjsip.c')
-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 677dfd3dd..841654c92 100644 --- a/channels/chan_pjsip.c +++ b/channels/chan_pjsip.c @@ -941,6 +941,8 @@ static int chan_pjsip_write_stream(struct ast_channel *ast, int stream_num, stru 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; |