diff --git a/src/managerimpl.cpp b/src/managerimpl.cpp index 10264dc3a868535e9a8508abf36ef3885d900ac3..c8cee611648252ab993bf8e0778e27112ab98279 100644 --- a/src/managerimpl.cpp +++ b/src/managerimpl.cpp @@ -665,7 +665,7 @@ ManagerImpl::callCanBeAnswered(CALLID id) { bool returnValue = false; ost::MutexLock m(_mutex); Call* call = getCall(id); - if (id == _currentCallId && call != NULL && ( call->getFlagNotAnswered() || + if (call != NULL && ( call->getFlagNotAnswered() || (call->getState()!=Call::OnHold && call->getState()!=Call::OffHold) )) { returnValue = true; }