Module: sems
Branch: master
Commit: b7cae467f62d0b05516f74d81f93582fdde9610a
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=b7cae467f62d0b05516f74d81f93582fdde9610a

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Mon Apr  8 15:41:53 2013 +0200

sip: fixes CANCEL handling

do not overwrite INVITE transaction in uas_trans[] when a CANCEL is received.

---

 core/AmSipDialog.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp
index 2100206..b45939f 100644
--- a/core/AmSipDialog.cpp
+++ b/core/AmSipDialog.cpp
@@ -88,7 +88,10 @@ bool AmSipDialog::onRxReqSanity(const AmSipRequest& req)
       return false;
     }
 
-    return true;
+    if(onRxReqStatus(req) && hdl)
+      hdl->onSipRequest(req);
+
+    return false;
   }
 
   if(!AmBasicSipDialog::onRxReqSanity(req))

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to