From d1598dbc7d2493312d0b60589657b88e46436aa4 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Tue, 11 Dec 2018 09:28:48 -0500 Subject: [PATCH] Revert "RTP: reset DTMF last seqno/timestamp on voice packet with marker bit" This reverts commit 3f53041267234b21aedd522c1197ec57cca90845. Pending resolution of ASTERISK_28200 Change-Id: Iad4f3614cac95b00fdbb2b799aab8ae6285ec988 --- res/res_rtp_asterisk.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index ff8e453055..465f9bc23a 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -6438,16 +6438,6 @@ static struct ast_frame *ast_rtp_interpret(struct ast_rtp_instance *instance, st switch (ast_format_get_type(rtp->f.subclass.format)) { case AST_MEDIA_TYPE_AUDIO: rtp->f.frametype = AST_FRAME_VOICE; - - /* The marker bit set on the voice packet indicates the start - * of a new stream and a new time stamp. Need to reset the DTMF - * last sequence number and the timestamp of the last END packet. - */ - if (mark) { - rtp->last_seqno = 0; - rtp->last_end_timestamp = 0; - } - break; case AST_MEDIA_TYPE_VIDEO: rtp->f.frametype = AST_FRAME_VIDEO; -- 2.47.2