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; }