From de65c19c3c538ef178c279b9a1507938dbab7ace Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 28 Dec 2013 01:39:03 +0500 Subject: [PATCH] FS-6007 FS-5083 FS-4514 --resolve --- src/switch_rtp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index afd308b9c5..58c7c054c4 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -5637,6 +5637,9 @@ static int rtp_common_write(switch_rtp_t *rtp_session, if (send_msg) { bytes = datalen; + + m = send_msg->header.m; + if (flags && *flags & SFF_RFC2833) { send_msg->header.pt = rtp_session->te; }