Explorar o código

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

Daniel-Constantin Mierla %!s(int64=11) %!d(string=hai) anos
pai
achega
dd30e06fab
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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