[Asterisk-code-review] Revert "RTP: reset DTMF last seqno/timestamp on voice packet... (asterisk[13])
Friendly Automation
asteriskteam at digium.com
Tue Dec 11 14:14:35 CST 2018
Friendly Automation has submitted this change and it was merged. ( https://gerrit.asterisk.org/10789 )
Change subject: Revert "RTP: reset DTMF last seqno/timestamp on voice packet with marker bit"
......................................................................
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
---
M res/res_rtp_asterisk.c
1 file changed, 0 insertions(+), 10 deletions(-)
Approvals:
George Joseph: Looks good to me, approved
Friendly Automation: Approved for Submit
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index 972058e..7b006ce 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -5725,16 +5725,6 @@
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;
--
To view, visit https://gerrit.asterisk.org/10789
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: merged
Gerrit-Change-Id: If18ab1166db0d634ce8a099bd7460251e9c682e1
Gerrit-Change-Number: 10789
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Friendly Automation (1000185)
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua C. Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181211/a7d768b2/attachment.html>
More information about the asterisk-code-review
mailing list