[asterisk-commits] dvossel: trunk r198824 - /trunk/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 2 12:55:39 CDT 2009


Author: dvossel
Date: Tue Jun  2 12:55:35 2009
New Revision: 198824

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=198824
Log:
fixes issue with channels not going down after transfer

Iax2 currently does not support native bridging if the timeoutms value is set.  We check for that in iax2_bridge, but then set timeoutms to 0 by default.  If the timeoutms is not provided it is set to -1. By setting timeoutms to 0 it is processed causing a bridging retry loop.

(closes issue #15216)
Reported by: oxymoron
Tested by: dvossel

Modified:
    trunk/channels/chan_iax2.c

Modified: trunk/channels/chan_iax2.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=198824&r1=198823&r2=198824
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Tue Jun  2 12:55:35 2009
@@ -4277,7 +4277,7 @@
 		return AST_BRIDGE_FAILED;
 	}
 
-	timeoutms = 0;
+	timeoutms = -1;
 
 	lock_both(callno0, callno1);
 	if (!iaxs[callno0] || !iaxs[callno1]) {




More information about the asterisk-commits mailing list