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

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Wed Apr 18 14:59:26 2012 +0200

b/f: when unsubscribing, don't reset SIP dialog ids

---

 core/AmSipSubscription.cpp |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/core/AmSipSubscription.cpp b/core/AmSipSubscription.cpp
index 81af763..29b45cb 100644
--- a/core/AmSipSubscription.cpp
+++ b/core/AmSipSubscription.cpp
@@ -161,18 +161,8 @@ bool AmSipSubscription::doUnsubscribe()
     return true;
   }
 
-  req.to_tag     = "";
-  dlg.remote_tag = "";
   dlg.remote_uri = req.r_uri;
     
-  // set outbound proxy as next hop 
-  if (!info.proxy.empty()) {
-    dlg.outbound_proxy = info.proxy;
-  } else if (!AmConfig::OutboundProxy.empty()) 
-    dlg.outbound_proxy = AmConfig::OutboundProxy;
-  //else 
-  //    dlg.outbound_proxy = "";
-
   string hdrs;
   hdrs += SIP_HDR_COLSP(SIP_HDR_EVENT) + info.event;
   if (!info.id.empty())

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

Reply via email to