[Asterisk-cvs] asterisk rtp.c,1.55,1.56

markster at lists.digium.com markster at lists.digium.com
Sun Mar 14 18:18:23 CST 2004


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

Modified Files:
	rtp.c 
Log Message:
Increase amount of time we send tones on RTP to 100ms 


Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- rtp.c	14 Mar 2004 22:49:26 -0000	1.55
+++ rtp.c	14 Mar 2004 23:12:22 -0000	1.56
@@ -919,8 +919,8 @@
 		if (x ==0) {
 			/* Clear marker bit and increment seqno */
 			rtpheader[0] = htonl((2 << 30)  | (101 << 16) | (rtp->seqno++));
-			/* Make duration 240 */
-			rtpheader[3] |= htonl((240));
+			/* Make duration 800 (100ms) */
+			rtpheader[3] |= htonl((800));
 			/* Set the End bit for the last 3 */
 			rtpheader[3] |= htonl((1 << 23));
 		}




More information about the svn-commits mailing list