fix timestamp base in 2833 when not re-writing timestamps (partial fix for FSCORE-83)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7157 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5f12dd5d83
commit
97060f50b4
|
@ -848,15 +848,8 @@ static void do_2833(switch_rtp_t *rtp_session)
|
|||
rtp_session->dtmf_data.out_digit_packet[0] = (unsigned char) switch_char_to_rfc2833(rdigit->digit);
|
||||
rtp_session->dtmf_data.out_digit_packet[1] = 7;
|
||||
|
||||
if (rtp_session->timer.timer_interface) {
|
||||
rtp_session->dtmf_data.timestamp_dtmf = rtp_session->timer.samplecount + samples;
|
||||
} else {
|
||||
rtp_session->dtmf_data.timestamp_dtmf = rtp_session->last_write_ts + samples;
|
||||
}
|
||||
|
||||
|
||||
rtp_session->dtmf_data.timestamp_dtmf = rtp_session->last_write_ts + samples;
|
||||
|
||||
|
||||
rtp_session->seq++;
|
||||
switch_rtp_write_manual(rtp_session,
|
||||
rtp_session->dtmf_data.out_digit_packet,
|
||||
|
|
Loading…
Reference in New Issue