[Freeswitch-svn] [commit] r7157 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Wed Jan 9 15:18:33 EST 2008


Author: mikej
Date: Wed Jan  9 15:18:33 2008
New Revision: 7157

Modified:
   freeswitch/trunk/src/switch_rtp.c

Log:
fix timestamp base in 2833 when not re-writing timestamps (partial fix for FSCORE-83)

Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c	(original)
+++ freeswitch/trunk/src/switch_rtp.c	Wed Jan  9 15:18:33 2008
@@ -848,15 +848,8 @@
 			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,



More information about the Freeswitch-svn mailing list