Module: kamailio
Branch: 4.4
Commit: 459efbd4f32e69001afadd85087cb87b0410b955
URL:
https://github.com/kamailio/kamailio/commit/459efbd4f32e69001afadd85087cb87…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-04-06T15:19:59+02:00
kamailio.cfg: handle retransmissions also for request within dialog
- skip ACK, it is not a standard transaction by itself
(cherry picked from commit 868f9996f39dd76707ed09fce980893bab7c31bc)
(cherry picked from commit a5e3a8822bf491516ac3d7ff0fc8ed18f5e26124)
---
Modified: etc/kamailio.cfg
---
Diff:
https://github.com/kamailio/kamailio/commit/459efbd4f32e69001afadd85087cb87…
Patch:
https://github.com/kamailio/kamailio/commit/459efbd4f32e69001afadd85087cb87…
---
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 86ac524..f3c51de 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -471,18 +471,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);