Skip to content
Snippets Groups Projects
Commit 73969c04 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #21210: daemon: debug instead of err for "hangup of non-created call" case

parent 6527ea09
No related branches found
No related tags found
No related merge requests found
...@@ -390,8 +390,6 @@ bool ManagerImpl::answerCall(const std::string& call_id) ...@@ -390,8 +390,6 @@ bool ManagerImpl::answerCall(const std::string& call_id)
//THREAD=Main //THREAD=Main
void ManagerImpl::hangupCall(const std::string& callId) void ManagerImpl::hangupCall(const std::string& callId)
{ {
DEBUG("Hangup call %s", callId.c_str());
// store the current call id // store the current call id
std::string currentCallId(getCurrentCallId()); std::string currentCallId(getCurrentCallId());
...@@ -405,8 +403,9 @@ void ManagerImpl::hangupCall(const std::string& callId) ...@@ -405,8 +403,9 @@ void ManagerImpl::hangupCall(const std::string& callId)
DEBUG("Send DBUS call state change (HUNGUP) for id %s", callId.c_str()); DEBUG("Send DBUS call state change (HUNGUP) for id %s", callId.c_str());
dbus_.getCallManager()->callStateChanged(callId, "HUNGUP"); 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)) { 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; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment