From: George Joseph Date: Tue, 11 Dec 2018 14:28:18 +0000 (-0500) Subject: Revert "RTP: reset DTMF last seqno/timestamp on voice packet with marker bit" X-Git-Tag: 16.2.0-rc1~48^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df0b59564e844134ae18be23089ce87aa3f00ca3;p=thirdparty%2Fasterisk.git Revert "RTP: reset DTMF last seqno/timestamp on voice packet with marker bit" This reverts commit 331c906c4811df17612efa5c31e19df7186b1c81. Pending resolution of ASTERISK_28200 Change-Id: Ie7172707b603c1da3f200613bd4473335af75128 --- 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;