[asterisk-bugs] [JIRA] (ASTERISK-26500) DTMF RFC2833 with timestamp 0 are ignored
Thomas Sevestre (JIRA)
noreply at issues.asterisk.org
Tue Oct 25 12:18:01 CDT 2016
Thomas Sevestre created ASTERISK-26500:
------------------------------------------
Summary: DTMF RFC2833 with timestamp 0 are ignored
Key: ASTERISK-26500
URL: https://issues.asterisk.org/jira/browse/ASTERISK-26500
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_rtp_asterisk
Affects Versions: 14.0.2, 1.8.32.3
Reporter: Thomas Sevestre
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 :
if ((rtp->last_seqno > seqno && rtp->last_seqno - seqno < 50)
|| timestamp <= rtp->last_end_timestamp) {
into this:
if ((rtp->last_seqno > seqno && rtp->last_seqno - seqno < 50)
|| (timestamp != 0 && timestamp <= rtp->last_end_timestamp)) {
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list