Browse code

Merge a44fc8585d9f749ecc58c9dbf9715bd279992e19 into 0d06e164efa720d91d49995585e80c9082ce3b21

descartin authored on 12/07/2021 12:10:18 • GitHub committed on 12/07/2021 12:10:18
Showing 1 changed files
... ...
@@ -3343,11 +3343,12 @@ select_rtpp_node(str callid, str viabranch, int do_test, struct rtpp_node **quer
3343 3343
 		if (node->rn_recheck_ticks == RTPENGINE_MAX_RECHECK_TICKS) {
3344 3344
 			LM_DBG("node=%.*s for calllen=%d callid=%.*s is disabled(permanent) (probably still UP)! Return it\n",
3345 3345
 				node->rn_url.len, node->rn_url.s, callid.len, callid.len, callid.s);
3346
+			return node;
3346 3347
 		} else {
3347 3348
 			LM_DBG("node=%.*s for calllen=%d callid=%.*s is disabled, either broke or timeout disabled! Return it\n",
3348 3349
 				node->rn_url.len, node->rn_url.s, callid.len, callid.len, callid.s);
3349 3350
 		}
3350
-		return node;
3351
+		/*return node;*/
3351 3352
 	}
3352 3353
 
3353 3354
 	return NULL;