[asterisk-commits] bbryant: trunk r115669 - /trunk/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 12 10:17:33 CDT 2008


Author: bbryant
Date: Mon May 12 10:17:32 2008
New Revision: 115669

URL: http://svn.digium.com/view/asterisk?view=rev&rev=115669
Log:
A small change to fix iax2 native bridging.


Modified:
    trunk/channels/chan_iax2.c

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=115669&r1=115668&r2=115669
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Mon May 12 10:17:32 2008
@@ -3766,8 +3766,11 @@
 	struct timeval waittimer = {0, 0}, tv;
 
 	/* We currently do not support native bridging if a timeoutms value has been provided */
-	if (timeoutms)
+	if (timeoutms > 0) {
 		return AST_BRIDGE_FAILED;
+	}
+
+	timeoutms = 0;
 
 	lock_both(callno0, callno1);
 	if (!iaxs[callno0] || !iaxs[callno1]) {




More information about the asterisk-commits mailing list