mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Do not display CallKit error screen but ours
This commit is contained in:
parent
a2e1ab26bb
commit
1bf8383c44
1 changed files with 6 additions and 3 deletions
|
|
@ -864,9 +864,12 @@ static void linphone_iphone_display_status(struct _LinphoneCore *lc, const char
|
|||
|
||||
[self.providerDelegate.uuids removeObjectForKey:callId2];
|
||||
[self.providerDelegate.calls removeObjectForKey:uuid];
|
||||
[self.providerDelegate.provider reportCallWithUUID:uuid
|
||||
endedAtDate:NULL
|
||||
reason:CXCallEndedReasonRemoteEnded];
|
||||
|
||||
CXEndCallAction *act = [[CXEndCallAction alloc] initWithCallUUID:uuid];
|
||||
CXTransaction *tr = [[CXTransaction alloc] initWithAction:act];
|
||||
[LinphoneManager.instance.providerDelegate.controller requestTransaction:tr
|
||||
completion:^(NSError *err){
|
||||
}];
|
||||
}
|
||||
} else {
|
||||
if (data != nil && data->notification != nil) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue