diff --git a/sflphone-common/src/managerimpl.cpp b/sflphone-common/src/managerimpl.cpp index 5b6d84f537014e8649ac9b6df73a8f7d90b11d91..95b088076286dc97aad2f8a23c20e5b16ad7c011 100644 --- a/sflphone-common/src/managerimpl.cpp +++ b/sflphone-common/src/managerimpl.cpp @@ -444,14 +444,14 @@ bool ManagerImpl::hangupCall (const CallID& call_id) else { account_id = getAccountFromCall (call_id); - // Account may be NULL if call have not been sent yet - if (account_id == AccountNULL) { - _error ("Manager: Error: account id is NULL in hangup"); - returnValue = false; - } else { +// // Account may be NULL if call have not been sent yet +// if (account_id == AccountNULL) { +// _error ("Manager: Error: account id is NULL in hangup"); +// returnValue = false; +// } else { returnValue = getAccountLink (account_id)->hangup (call_id); removeCallAccount (call_id); - } +// } } int nbCalls = getCallList().size();