From 73969c040f718479b0dcd3fadce0614ce38e857c Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Wed, 6 Mar 2013 12:49:30 -0500 Subject: [PATCH] * #21210: daemon: debug instead of err for "hangup of non-created call" case --- daemon/src/managerimpl.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/daemon/src/managerimpl.cpp b/daemon/src/managerimpl.cpp index cf2817fa90..5477143021 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; } -- GitLab