diff --git a/daemon/src/managerimpl.cpp b/daemon/src/managerimpl.cpp index cf2817fa9028faf99b1c13043027cbd006d31d15..547714302138c329401b19803cf20b1f73389174 100644 --- a/daemon/src/managerimpl.cpp +++ b/daemon/src/managerimpl.cpp @@ -390,8 +390,6 @@ bool ManagerImpl::answerCall(const std::string& call_id) //THREAD=Main void ManagerImpl::hangupCall(const std::string& callId) { - DEBUG("Hangup call %s", callId.c_str()); - // store the current call id std::string currentCallId(getCurrentCallId()); @@ -405,8 +403,9 @@ void ManagerImpl::hangupCall(const std::string& callId) DEBUG("Send DBUS call state change (HUNGUP) for id %s", callId.c_str()); dbus_.getCallManager()->callStateChanged(callId, "HUNGUP"); + /* We often get here when the call was hungup before being created */ if (not isValidCall(callId) and not isIPToIP(callId)) { - ERROR("Could not hang up call, call not valid"); + DEBUG("Could not hang up call %s, call not valid", callId.c_str()); return; }