Module: sip-router
Branch: master
Commit: dd30e06fabe554746b1f4565e16b024ee1795fbe
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=dd30e06…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Aug 18 21:54:13 2014 +0200
kamailio.cfg: use t_precheck_trans() to catch retransmissions faster
---
etc/kamailio.cfg | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 13ceb7a..0070520 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -474,6 +474,11 @@ request_route {
### only initial requests (no To tag)
+ # handle retransmissions
+ if(t_precheck_trans()) {
+ t_check_trans();
+ exit;
+ }
t_check_trans();
# authentication