[Asterisk-cvs] asterisk rtp.c,1.92.2.3,1.92.2.4

russell at lists.digium.com russell at lists.digium.com
Thu Nov 25 13:16:51 CST 2004


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

Modified Files:
      Tag: v1-0
	rtp.c 
Log Message:
don't increment the timestamp on dtmf (bug 2928)


Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.92.2.3
retrieving revision 1.92.2.4
diff -u -d -r1.92.2.3 -r1.92.2.4
--- rtp.c	25 Nov 2004 07:04:04 -0000	1.92.2.3
+++ rtp.c	25 Nov 2004 18:16:16 -0000	1.92.2.4
@@ -978,7 +978,6 @@
 	unsigned int *rtpheader;
 	int hdrlen = 12;
 	int res;
-	int ms;
 	int x;
 	int payload;
 	char data[256];
@@ -1010,10 +1009,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