diff --git a/Linphone/model/call/CallModel.cpp b/Linphone/model/call/CallModel.cpp index 3880fdb43..26ddb01d1 100644 --- a/Linphone/model/call/CallModel.cpp +++ b/Linphone/model/call/CallModel.cpp @@ -92,8 +92,14 @@ void CallModel::terminate() { void CallModel::setPaused(bool paused) { mustBeInLinphoneThread(log().arg(Q_FUNC_INFO)); if (paused) { - if (mMonitor->getConference()) mMonitor->getConference()->leave(); - mMonitor->pause(); + lInfo() << "Pausing call" + << (mMonitor->getRemoteAddress() ? mMonitor->getRemoteAddress()->asStringUriOnly() + : "no remote address"); + if (mMonitor->getConference()) { + mMonitor->getConference()->leave(); + } else { + mMonitor->pause(); + } } else { if (mMonitor->getConference()) mMonitor->getConference()->enter(); mMonitor->resume();