diff --git a/sflphone-common/src/sip/sipvoiplink.cpp b/sflphone-common/src/sip/sipvoiplink.cpp index 6ed46e39b63ef4c3170608789066c7461099e0d1..66dccc4b8183c28f52b75e1b2da46bbd4eb289d2 100644 --- a/sflphone-common/src/sip/sipvoiplink.cpp +++ b/sflphone-common/src/sip/sipvoiplink.cpp @@ -805,11 +805,6 @@ SIPVoIPLink::hangup (const CallID& id) return false; } - // Release RTP thread - if (Manager::instance().isCurrentCall (id)) { - _debug ("* SIP Info: Stopping AudioRTP for hangup\n"); - _audiortp->stop(); - } // User hangup current call. Notify peer status = pjsip_inv_end_session (call->getInvSession(), 404, NULL, &tdata); @@ -858,12 +853,6 @@ SIPVoIPLink::peerHungup (const CallID& id) return false; } - // Release RTP thread - if (Manager::instance().isCurrentCall (id)) { - _debug ("* SIP Info: Stopping AudioRTP for hangup\n"); - _audiortp->stop(); - } - // User hangup current call. Notify peer status = pjsip_inv_end_session (call->getInvSession(), 404, NULL, &tdata);