update 2833 *stab*

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5222 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-05-26 19:03:16 +00:00
parent aed6e97d9a
commit b25e26924c
1 changed files with 6 additions and 5 deletions

View File

@ -752,13 +752,13 @@ static void do_2833(switch_rtp_t *rtp_session)
rtp_session->dtmf_data.out_digit_packet[3] = (unsigned char) duration;
rtp_session->dtmf_data.out_digit_seq++;
if (loops != 1) {
rtp_session->dtmf_data.timestamp_dtmf += samples;
}
rtp_session->dtmf_data.timestamp_dtmf += samples;
for (x = 0; x < loops; x++) {
rtp_session->dtmf_data.out_digit_seq++;
switch_rtp_write_manual(rtp_session,
rtp_session->dtmf_data.out_digit_packet,
4,
@ -770,6 +770,7 @@ static void do_2833(switch_rtp_t *rtp_session)
loops == 1 ? "middle" : "end", rtp_session->dtmf_data.out_digit, rtp_session->dtmf_data.timestamp_dtmf,
rtp_session->dtmf_data.out_digit_sofar, duration, rtp_session->dtmf_data.out_digit_seq);
}
if (loops == 1) {
@ -804,7 +805,7 @@ static void do_2833(switch_rtp_t *rtp_session)
for (x = 0; x < 3; x++) {
//rtp_session->dtmf_data.out_digit_seq++;
rtp_session->dtmf_data.out_digit_seq++;
switch_rtp_write_manual(rtp_session,
rtp_session->dtmf_data.out_digit_packet,
4,