From e7523767c13ae924ddd56465339f8d11d0abc997 Mon Sep 17 00:00:00 2001
From: Alexandre Savard <alexandresavard@alexandresavard-desktop.(none)>
Date: Tue, 24 Nov 2009 18:32:23 -0500
Subject: [PATCH] [#2471] No _audiortp variable anymore in sdipvoiplink

---
 sflphone-common/src/sip/sipvoiplink.cpp | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/sflphone-common/src/sip/sipvoiplink.cpp b/sflphone-common/src/sip/sipvoiplink.cpp
index 6ed46e39b6..66dccc4b81 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);
 
-- 
GitLab