Prechádzať zdrojové kódy

kamailio.cfg: use t_precheck_trans() to catch retransmissions faster

Daniel-Constantin Mierla 11 rokov pred
rodič
commit
dd30e06fab
1 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  1. 5 0
      etc/kamailio.cfg

+ 5 - 0
etc/kamailio.cfg

@@ -474,6 +474,11 @@ request_route {
 
 	### only initial requests (no To tag)
 
+	# handle retransmissions
+	if(t_precheck_trans()) {
+		t_check_trans();
+		exit;
+	}
 	t_check_trans();
 
 	# authentication