Module: sip-router
Branch: 3.3
Commit: 20dacf5225e63fc8ff573272f41572f452272c7d
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=20dacf5225e63fc8ff573272f41572f452272c7d

Author: IƱaki Baz Castillo <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date:   Thu Aug 16 16:17:51 2012 +0200

Process CANCEL before in-dialog requests. This prevents issues with some 
devices sending buggy CANCEL with To-tag when cancelling an initial INVITE.
(cherry picked from commit 8a7a06f4d9c78f6da0558806d988c817fd6d0018)

---

 etc/kamailio.cfg |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 1dd4b21..619f9ad 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -452,11 +452,6 @@ request_route {
        # NAT detection
        route(NATDETECT);
 
-       # handle requests within SIP dialogs
-       route(WITHINDLG);
-
-       ### only initial requests (no To tag)
-
        # CANCEL processing
        if (is_method("CANCEL"))
        {
@@ -465,6 +460,11 @@ request_route {
                exit;
        }
 
+       # handle requests within SIP dialogs
+       route(WITHINDLG);
+
+       ### only initial requests (no To tag)
+
        t_check_trans();
 
        # authentication


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to