瀏覽代碼

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)
 
+	# handle retransmissions
+	if(t_precheck_trans()) {
+		t_check_trans();
+		exit;
+	}
 	t_check_trans();
 
 	# authentication