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:
parent
3260847e4f
commit
ed95dc3282
|
@ -4359,6 +4359,9 @@ cleanup:
|
|||
rtp->sending_digit = 0;
|
||||
rtp->send_digit = 0;
|
||||
|
||||
/* Re-Learn expected seqno */
|
||||
rtp->expectedseqno = -1;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue