فهرست منبع

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

Daniel-Constantin Mierla 11 سال پیش
والد
کامیت
dd30e06fab
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      etc/kamailio.cfg

+ 5 - 0
etc/kamailio.cfg

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