fixes issue with channels not going down after transfer
[asterisk/asterisk.git] / channels / chan_iax2.c
index a6a56b4..beede16 100644 (file)
@@ -4277,7 +4277,7 @@ static enum ast_bridge_result iax2_bridge(struct ast_channel *c0, struct ast_cha
                return AST_BRIDGE_FAILED;
        }
 
-       timeoutms = 0;
+       timeoutms = -1;
 
        lock_both(callno0, callno1);
        if (!iaxs[callno0] || !iaxs[callno1]) {