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
Branches
Tags
No related merge requests found
...@@ -654,7 +654,7 @@ NewCallModelPimpl::slotIncomingCall(const std::string& accountId, const std::str ...@@ -654,7 +654,7 @@ NewCallModelPimpl::slotIncomingCall(const std::string& accountId, const std::str
callInfo->isAudioOnly = callDetails["AUDIO_ONLY"] == "true" ? true : false; callInfo->isAudioOnly = callDetails["AUDIO_ONLY"] == "true" ? true : false;
calls.emplace(callId, std::move(callInfo)); 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); linked.refuse(callId);
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment