[Asterisk-cvs] asterisk rtp.c,1.98,1.99

markster at lists.digium.com markster at lists.digium.com
Tue Nov 23 23:12:48 CST 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv12923

Modified Files:
	rtp.c 
Log Message:
Don't increment RTP timestmap on sending of DTMF (bug #2928)


Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- rtp.c	19 Nov 2004 05:24:45 -0000	1.98
+++ rtp.c	24 Nov 2004 04:12:23 -0000	1.99
@@ -1013,7 +1013,6 @@
 	unsigned int *rtpheader;
 	int hdrlen = 12;
 	int res;
-	int ms;
 	int x;
 	int payload;
 	char data[256];
@@ -1045,10 +1044,6 @@
 		rtp->dtmfmute.tv_usec -= 1000000;
 		rtp->dtmfmute.tv_sec += 1;
 	}
-
-	ms = calc_txstamp(rtp, NULL);
-	/* Default prediction */
-	rtp->lastts = rtp->lastts + ms * 8;
 	
 	/* Get a pointer to the header */
 	rtpheader = (unsigned int *)data;




More information about the svn-commits mailing list