Skip to content
Snippets Groups Projects
Commit bb8a5e1a authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

SIP calls: allow incoming from untrusted peers

Change-Id: Ibed85b8d12d7ab14f062c07313a86a0a684b1534
parent ff082587
No related branches found
No related tags found
No related merge requests found
......@@ -654,7 +654,7 @@ NewCallModelPimpl::slotIncomingCall(const std::string& accountId, const std::str
callInfo->isAudioOnly = callDetails["AUDIO_ONLY"] == "true" ? true : false;
calls.emplace(callId, std::move(callInfo));
if (!linked.owner.confProperties.allowIncoming) {
if (!linked.owner.confProperties.allowIncoming && linked.owner.profileInfo.type == profile::Type::RING) {
linked.refuse(callId);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment