[Freeswitch-svn] [commit] r7129 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Mon Jan 7 13:03:39 EST 2008
Author: anthm
Date: Mon Jan 7 13:03:39 2008
New Revision: 7129
Modified:
freeswitch/trunk/src/switch_rtp.c
Log:
possible fix for FSCORE-83
Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c (original)
+++ freeswitch/trunk/src/switch_rtp.c Mon Jan 7 13:03:39 2008
@@ -848,7 +848,7 @@
if (rtp_session->timer.timer_interface) {
rtp_session->dtmf_data.timestamp_dtmf = rtp_session->timer.samplecount;
} else {
- rtp_session->dtmf_data.timestamp_dtmf = rtp_session->last_write_ts;
+ rtp_session->dtmf_data.timestamp_dtmf = rtp_session->last_write_ts + samples;
}
rtp_session->sending_dtmf = 1;
@@ -869,7 +869,6 @@
rtp_session->dtmf_data.out_digit,
rtp_session->dtmf_data.timestamp_dtmf, rtp_session->dtmf_data.out_digit_sofar, 0, rtp_session->seq);
}
- rtp_session->dtmf_data.timestamp_dtmf += samples;
free(rdigit);
}
}
More information about the Freeswitch-svn
mailing list