mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
res/res_rtp_asterisk: fix skip in rtp sequence numbers after dtmf
When generating dtmfs, asterisk can incorrectly think packet loss occured during the dtmf generation, resulting in a jump in sequence numbers when forwarding voice frames resumes. This patch forces asterisk to re-learn the expected sequence number after each DTMF to avoid this ASTERISK-29869 #close Change-Id: Icc7de3d947b207b82c99d3c327af8095884df853
This commit is contained in:
committed by
George Joseph
parent
98f86697cc
commit
9c9083b45a
@@ -4359,6 +4359,9 @@ cleanup:
|
||||
rtp->sending_digit = 0;
|
||||
rtp->send_digit = 0;
|
||||
|
||||
/* Re-Learn expected seqno */
|
||||
rtp->expectedseqno = -1;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user