浏览代码

kamailio.cfg: handle retransmissions also for request within dialog

- skip ACK, it is not a standard transaction by itself

(cherry picked from commit 868f9996f39dd76707ed09fce980893bab7c31bc)
Daniel-Constantin Mierla 8 年之前
父节点
当前提交
a5e3a8822b
共有 1 个文件被更改,包括 9 次插入7 次删除
  1. 9 7
      etc/kamailio.cfg

+ 9 - 7
etc/kamailio.cfg

@@ -470,18 +470,20 @@ request_route {
 		exit;
 	}
 
+	# handle retransmissions
+	if (!is_method("ACK")) {
+		if(t_precheck_trans()) {
+			t_check_trans();
+			exit;
+		}
+		t_check_trans();
+	}
+
 	# handle requests within SIP dialogs
 	route(WITHINDLG);
 
 	### only initial requests (no To tag)
 
-	# handle retransmissions
-	if(t_precheck_trans()) {
-		t_check_trans();
-		exit;
-	}
-	t_check_trans();
-
 	# authentication
 	route(AUTH);