From e96a9cf63f2affe08ba9314bf13866bd817d703a Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 24 Aug 2010 19:12:24 -0500 Subject: [PATCH] MODSOFIA-90 --- src/switch_rtp.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index b44f62841e..c9f9bfa3cf 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -3680,9 +3680,10 @@ SWITCH_DECLARE(int) switch_rtp_write_frame(switch_rtp_t *rtp_session, switch_fra send_msg = frame->packet; len = frame->packetlen; ts = 0; - if (frame->codec && frame->codec->agreed_pt == frame->payload) { - send_msg->header.pt = payload; - } + // Trying this based on http://jira.freeswitch.org/browse/MODSOFIA-90 + //if (frame->codec && frame->codec->agreed_pt == frame->payload) { + send_msg->header.pt = payload; + //} } else { data = frame->data; len = frame->datalen;