From 1ef993911f380fc542f0e277cdea9c32e0af6296 Mon Sep 17 00:00:00 2001
From: George Joseph <gjoseph@digium.com>
Date: Tue, 11 Dec 2018 09:29:25 -0500
Subject: [PATCH] Revert "RTP: reset DTMF last seqno/timestamp on voice packet
 with marker bit"

This reverts commit cf620ce0f6dc4a7ef713dc85b4c2610b614cd647.

Pending resolution of ASTERISK_28200

Change-Id: If18ab1166db0d634ce8a099bd7460251e9c682e1
---
 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 972058e9f7..7b006cec9d 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -5725,16 +5725,6 @@ static struct ast_frame *ast_rtp_read(struct ast_rtp_instance *instance, int rtc
 	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;
-- 
GitLab