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

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Tue Feb 22 19:05:16 2011 +0100

b/f: don't pass prov reply to CANCEL to UA

---

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

diff --git a/core/sip/trans_layer.cpp b/core/sip/trans_layer.cpp
index 0d3dcdc..50be796 100644
--- a/core/sip/trans_layer.cpp
+++ b/core/sip/trans_layer.cpp
@@ -1313,7 +1313,10 @@ int _trans_layer::update_uac_reply(trans_bucket* bucket, 
sip_trans* t, sip_msg*
            // fall through trap
 
        case TS_PROCEEDING:
-           goto pass_reply;
+           if(t->msg->u.request->method != sip_request::CANCEL)
+               goto pass_reply;
+           else
+               goto end;
 
        case TS_COMPLETED:
        default:

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

Reply via email to