[Freeswitch-svn] [commit] r7173 - freeswitch/trunk/src
Freeswitch SVN
mikej at freeswitch.org
Fri Jan 11 01:28:50 EST 2008
Author: mikej
Date: Fri Jan 11 01:28:50 2008
New Revision: 7173
Modified:
freeswitch/trunk/src/switch_rtp.c
Log:
start dtmf at next timestamp.
Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c (original)
+++ freeswitch/trunk/src/switch_rtp.c Fri Jan 11 01:28:50 2008
@@ -849,7 +849,7 @@
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,
More information about the Freeswitch-svn
mailing list