[Home]

Summary:ASTERISK-26500: res_rtp_asterisk: DTMF RFC2833 with timestamp 0 are ignored
Reporter:Thomas Sevestre (to)Labels:
Date Opened:2016-10-25 12:17:32Date Closed:2019-04-13 15:43:24
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_rtp_asterisk
Versions:1.8.32.3 14.0.2 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:In function process_dtmf_rfc2833, the "Dropping out of order DTMF frame" test drops all DTMF with timestamp 0. Some equipments always send the first DTMF with timestamp 0. This leads to drop the first DTMF of each call.

I've fixed the problem by changing this :

{code:title=From res_rtp_asterisk.c}
if ((rtp->last_seqno > seqno && rtp->last_seqno - seqno < 50)
|| timestamp <= rtp->last_end_timestamp) {
{code}

into this:

{code}
if ((rtp->last_seqno > seqno && rtp->last_seqno - seqno < 50)
|| (timestamp != 0 && timestamp <= rtp->last_end_timestamp)) {
{code}
Comments:By: Asterisk Team (asteriskteam) 2016-10-25 12:17:33.067-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Joshua C. Colp (jcolp) 2016-10-26 05:55:51.537-0500

Please provide a wireshark capture and Asterisk log that shows this happening with a device.

By: Asterisk Team (asteriskteam) 2016-11-09 12:00:01.270-0600

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines