Do not display CallKit error screen but ours

This commit is contained in:
Benjamin Reis 2017-02-06 17:16:13 +01:00
parent a2e1ab26bb
commit 1bf8383c44

View file

@ -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) {