start dtmf at next timestamp.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7173 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-01-11 06:28:50 +00:00
parent c5bb337287
commit b1abb47f2d

View File

@ -849,7 +849,7 @@ 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;
rtp_session->dtmf_data.timestamp_dtmf = rtp_session->last_write_ts;
rtp_session->dtmf_data.timestamp_dtmf = rtp_session->last_write_ts + samples;
switch_rtp_write_manual(rtp_session,
rtp_session->dtmf_data.out_digit_packet,