[asterisk-commits] file: branch file/rtp_engine-mark2 r183316 - /team/file/rtp_engine-mark2/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Mar 19 13:54:51 CDT 2009


Author: file
Date: Thu Mar 19 13:54:48 2009
New Revision: 183316

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=183316
Log:
Add some more channel poll calls.

Modified:
    team/file/rtp_engine-mark2/main/rtp_engine.c

Modified: team/file/rtp_engine-mark2/main/rtp_engine.c
URL: http://svn.digium.com/svn-view/asterisk/team/file/rtp_engine-mark2/main/rtp_engine.c?view=diff&rev=183316&r1=183315&r2=183316
==============================================================================
--- team/file/rtp_engine-mark2/main/rtp_engine.c (original)
+++ team/file/rtp_engine-mark2/main/rtp_engine.c Thu Mar 19 13:54:48 2009
@@ -770,6 +770,8 @@
 	instance0->bridged = instance1;
 	instance1->bridged = instance0;
 
+	ast_poll_channel_add(c0, c1);
+
 	/* Hop into a loop waiting for a frame from either channel */
 	cs[0] = c0;
 	cs[1] = c1;
@@ -887,6 +889,8 @@
 
 	instance0->bridged = NULL;
 	instance1->bridged = NULL;
+
+	ast_poll_channel_del(c0, c1);
 
 	return res;
 }




More information about the asterisk-commits mailing list