Module: kamailio
Branch: 5.0
Commit: a5e3a8822bf491516ac3d7ff0fc8ed18f5e26124
URL:
https://github.com/kamailio/kamailio/commit/a5e3a8822bf491516ac3d7ff0fc8ed1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-04-06T15:18:34+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)
---
Modified: etc/kamailio.cfg
---
Diff:
https://github.com/kamailio/kamailio/commit/a5e3a8822bf491516ac3d7ff0fc8ed1…
Patch:
https://github.com/kamailio/kamailio/commit/a5e3a8822bf491516ac3d7ff0fc8ed1…
---
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index cf8df43..b176b54 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);