diff --git a/src/sip/sipcall.cpp b/src/sip/sipcall.cpp index 05e6234c7f517885095c91cbc0fd6a627a6c8a8b..5a22fbcc27676394df2809b2b5773cf0e846b902 100644 --- a/src/sip/sipcall.cpp +++ b/src/sip/sipcall.cpp @@ -245,6 +245,7 @@ SIPCall::setTransport(const std::shared_ptr<SipTransport>& t) JAMI_WARN( "[call:%s] Ending call because underlying SIP transport was closed", this_->getCallId().c_str()); + this_->stopAllMedia(); this_->onFailure(ECONNRESET); } }