FSCORE-266
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11262 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f788be7e9b
commit
444425ae79
|
@ -1400,7 +1400,11 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
|
|||
uint16_t in_digit_seq = ntohs((uint16_t) rtp_session->recv_msg.header.seq);
|
||||
uint32_t ts = htonl(rtp_session->recv_msg.header.ts);
|
||||
|
||||
|
||||
if (in_digit_seq < rtp_session->dtmf_data.in_digit_seq) {
|
||||
if (rtp_session->dtmf_data.in_digit_seq - in_digit_seq > 100) {
|
||||
rtp_session->dtmf_data.in_digit_seq = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (in_digit_seq > rtp_session->dtmf_data.in_digit_seq) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue