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

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Mon Oct 17 15:51:12 2011 +0200

b/f: reply 200 to BYE in DSM call

reported by tsearle, closes https://bugtracker.iptel.org/view.php?id=62

---

 apps/dsm/DSMCall.cpp |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/apps/dsm/DSMCall.cpp b/apps/dsm/DSMCall.cpp
index 27ae68c..cc24df6 100644
--- a/apps/dsm/DSMCall.cpp
+++ b/apps/dsm/DSMCall.cpp
@@ -234,6 +234,11 @@ void DSMCall::onBye(const AmSipRequest& req)
   params["headers"] = req.hdrs;
  
   engine.runEvent(this, this, DSMCondition::Hangup, &params);
+
+  if (rtp_relay_enabled)
+    clearRtpReceiverRelay();
+
+  dlg.reply(req,200,"OK");
 }
 
 void DSMCall::onCancel(const AmSipRequest& cancel) {

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

Reply via email to