Module: kamailio
Branch: master
Commit: 868f9996f39dd76707ed09fce980893bab7c31bc
URL:
https://github.com/kamailio/kamailio/commit/868f9996f39dd76707ed09fce980893…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-04-06T15:16:05+02:00
kamailio.cfg: handle retransmissions also for request within dialog
- skip ACK, it is not a standard transaction by itself
---
Modified: etc/kamailio.cfg
---
Diff:
https://github.com/kamailio/kamailio/commit/868f9996f39dd76707ed09fce980893…
Patch:
https://github.com/kamailio/kamailio/commit/868f9996f39dd76707ed09fce980893…
---
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);