Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
linphone-iphone
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
linphone-iphone
Commits
e6e5fced
Commit
e6e5fced
authored
Nov 12, 2018
by
Christophe Deschamps
Committed by
Benjamin REIS
Feb 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Terminate CallKit end poing upon cancel or failuer
parent
588b9860
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
LinphoneManager.m
Classes/LinphoneManager.m
+10
-0
No files found.
Classes/LinphoneManager.m
View file @
e6e5fced
...
...
@@ -802,6 +802,16 @@ static void linphone_iphone_display_status(struct _LinphoneCore *lc, const char
CXTransaction
*
tr
=
[[
CXTransaction
alloc
]
initWithAction
:
act
];
[
LinphoneManager
.
instance
.
providerDelegate
.
controller
requestTransaction
:
tr
completion
:
^
(
NSError
*
err
){}];
LOGI
(
@"CallKit - clearing CK as call ended on uuid %@"
,
uuid
);
[
LinphoneManager
.
instance
.
providerDelegate
.
provider
reportOutgoingCallWithUUID
:
uuid
connectedAtDate
:[
NSDate
date
]];
[
self
.
providerDelegate
.
uuids
removeObjectForKey
:
callId2
];
[
self
.
providerDelegate
.
calls
removeObjectForKey
:
uuid
];
[
self
.
providerDelegate
.
provider
reportCallWithUUID
:
uuid
endedAtDate
:[
NSDate
date
]
reason
:
(
state
==
LinphoneCallError
?
CXCallEndedReasonFailed
:
CXCallEndedReasonRemoteEnded
)];
}
else
{
// Can happen when Call-ID changes (Replaces header)
if
(
linphone_core_get_calls_nb
(
LC
)
==
0
)
{
// Need to clear all CK calls
for
(
NSUUID
*
myUuid
in
self
.
providerDelegate
.
calls
)
{
...
...
Write
Preview
Markdown
is supported
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