From: Anthony Minessale Date: Thu, 13 Jan 2011 18:35:39 +0000 (-0600) Subject: You don't need to see this patch X-Git-Tag: v1.2-rc1~203^2~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2359797668addf5e79ce4de36f1cf62cc93136d;p=thirdparty%2Ffreeswitch.git You don't need to see this patch --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 5794ae7f28..4e5450d7e8 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -2495,6 +2495,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_ } if (rtp_session->recv_msg.header.pt != 13 && + rtp_session->recv_msg.header.pt != rtp_session->recv_te && (!rtp_session->cng_pt || rtp_session->recv_msg.header.pt != rtp_session->cng_pt) && rtp_session->recv_msg.header.pt != rtp_session->payload) { /* drop frames of incorrect payload number and return CNG frame instead */