Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-libclient
Commits
bb8a5e1a
Commit
bb8a5e1a
authored
Nov 12, 2019
by
Andreas Traczyk
Browse files
SIP calls: allow incoming from untrusted peers
Change-Id: Ibed85b8d12d7ab14f062c07313a86a0a684b1534
parent
ff082587
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/newcallmodel.cpp
View file @
bb8a5e1a
...
@@ -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
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment