[Asterisk-cvs] asterisk rtp.c,1.67,1.68

markster at lists.digium.com markster at lists.digium.com
Thu May 27 00:51:57 CDT 2004


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

Modified Files:
	rtp.c 
Log Message:
Doc fix for controlplayback, get rid of 500ms wait in rtp.c (bug #1589)


Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- rtp.c	27 May 2004 04:18:45 -0000	1.67
+++ rtp.c	27 May 2004 05:06:32 -0000	1.68
@@ -1264,14 +1264,6 @@
 	memset(&vac0, 0, sizeof(vac0));
 	memset(&vac1, 0, sizeof(vac1));
 
-	/* XXX Wait a half a second for things to settle up 
-			this really should be fixed XXX */
-	ast_autoservice_start(c0);
-	ast_autoservice_start(c1);
-	usleep(500000);
-	ast_autoservice_stop(c0);
-	ast_autoservice_stop(c1);
-
 	/* if need DTMF, cant native bridge */
 	if (flags & (AST_BRIDGE_DTMF_CHANNEL_0 | AST_BRIDGE_DTMF_CHANNEL_1))
 		return -2;




More information about the svn-commits mailing list