Commit 1e6a3404 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #26839: managerimpl: cleanup

parent f5fd767c
......@@ -40,15 +40,12 @@
#include "managerimpl.h"
#include "account_schema.h"
#include "global.h"
#include "fileutils.h"
#include "map_utils.h"
#include "sip/sipvoiplink.h"
#include "sip/sipaccount.h"
#include "sip/sipcall.h"
#include "im/instant_messaging.h"
#if HAVE_IAX
......@@ -57,7 +54,6 @@
#include "iax/iaxvoiplink.h"
#endif
#include "numbercleaner.h"
#include "config/yamlparser.h"
#include "config/yamlemitter.h"
......@@ -81,7 +77,6 @@
#include "client/android/callmanager.h"
#endif
#ifdef SFL_VIDEO
#include "client/video_controls.h"
#endif
......@@ -110,7 +105,6 @@ ManagerImpl::ManagerImpl() :
waitingCalls_(), waitingCallsMutex_(), path_(),
IPToIPMap_(), mainBuffer_(), conferenceMap_(), history_(), finished_(false)
{
pthread_mutex_init(&currentCallMutex_, NULL);
pthread_mutex_init(&toneMutex_, NULL);
pthread_mutex_init(&audioLayerMutex_, NULL);
......@@ -1493,14 +1487,6 @@ void ManagerImpl::removeWaitingCall(const std::string& id)
// SipEvent Thread
void ManagerImpl::incomingCall(Call &call, const std::string& accountId)
{
#if 0
DEBUG("================= INCOMING FROM MANAGER ==================");
const std::string callID(call.getCallId());
std::string number(call.getPeerNumber());
std::string from("<" + number + ">");
on_incoming_call_wrapper(accountId, callID, call.getDisplayName() + " " + from);
#endif
stopTone();
const std::string callID(call.getCallId());
......@@ -1729,8 +1715,6 @@ void ManagerImpl::peerHungupCall(const std::string& call_id)
//THREAD=VoIP
void ManagerImpl::callBusy(const std::string& id)
{
DEBUG("Call %s busy", id.c_str());
client_.getCallManager()->callStateChanged(id, "BUSY");
if (isCurrentCall(id)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment