Project "FreeSWITCH Source" received a push.

branch: master updated

       via: ffca600f4ccfff1cd1421bdaad2a1122963842ba (commit)
      from: 0444626b721fdd3a5400a86883d5668fa8678cd8 (commit)


= COMMIT LOG ===========================================================
committer: Anthony Minessale
comments: 
more like this

diff --git a/src/switch_rtp.c b/src/switch_rtp.c
index 32c0578..f5a7022 100644
--- a/src/switch_rtp.c
+++ b/src/switch_rtp.c
@@ -2856,17 +2856,16 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
 			goto end;
 		}
 
-#if 0
+
 		if (bytes && rtp_session->recv_msg.header.version == 2 && 
 			!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_PROXY_MEDIA) && !switch_test_flag(rtp_session, SWITCH_RTP_FLAG_UDPTL) &&
 			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->rpayload && 0) {
+			rtp_session->recv_msg.header.pt != rtp_session->rpayload) {
 			/* drop frames of incorrect payload number and return CNG frame instead */
 			return_cng_frame();
 		}
-#endif
 
 		if (!bytes && (io_flags & SWITCH_IO_FLAG_NOBLOCK)) {
 			rtp_session->missed_count = 0;
========================================================================

Summary of changes:
 src/switch_rtp.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email
For more info, see http://blog.chomperstomp.com/?p=630 --
FreeSWITCH Source