From 41f70ba07a30d7dcff8f4f7d1c72030d66caa25a Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Fri, 15 Jul 2011 16:10:36 -0400 Subject: [PATCH] * #6462: fixed hangup on IP2IP call It was erroring out too early. --- sflphone-common/src/managerimpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sflphone-common/src/managerimpl.cpp b/sflphone-common/src/managerimpl.cpp index b9e33bdb92..2807a64f4d 100644 --- a/sflphone-common/src/managerimpl.cpp +++ b/sflphone-common/src/managerimpl.cpp @@ -449,9 +449,9 @@ bool ManagerImpl::hangupCall (const CallID& callId) _debug ("Manager: Send DBUS call state change (HUNGUP) for id %s", callId.c_str()); _dbus->getCallManager()->callStateChanged (callId, "HUNGUP"); - if(!isValidCall(callId)) { + if (not isValidCall(callId) and not getConfigFromCall(callId) == Call::IPtoIP) { _error("Manager: Error: Could not hang up call, call not valid"); - return false; + return false; } // Disconnect streams -- GitLab