From a5e3a8822bf491516ac3d7ff0fc8ed18f5e26124 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Thu, 6 Apr 2017 15:14:45 +0200 Subject: [PATCH] kamailio.cfg: handle retransmissions also for request within dialog - skip ACK, it is not a standard transaction by itself (cherry picked from commit 868f9996f39dd76707ed09fce980893bab7c31bc) --- etc/kamailio.cfg | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg index cf8df43ae92..b176b546431 100644 --- a/etc/kamailio.cfg +++ b/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);