Explorar el Código

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

Daniel-Constantin Mierla hace 11 años
padre
commit
dd30e06fab
Se han modificado 1 ficheros con 5 adiciones y 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