mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix repeat outgoing call connected
This commit is contained in:
parent
f43ad2d447
commit
a9952c479d
2 changed files with 4 additions and 1 deletions
|
|
@ -414,9 +414,11 @@ class CoreManagerDelegate: CoreDelegate {
|
|||
let uuid = CallManager.instance().providerDelegate.uuids["\(callId!)"]
|
||||
if (uuid != nil) {
|
||||
let callInfo = CallManager.instance().providerDelegate.callInfos[uuid!]
|
||||
if (callInfo?.isOutgoing ?? false) {
|
||||
if (callInfo != nil && callInfo!.isOutgoing && !callInfo!.connected) {
|
||||
Log.directLog(BCTBX_LOG_MESSAGE, text: "CallKit: outgoing call connected with uuid \(uuid!) and callId \(callId!)")
|
||||
CallManager.instance().providerDelegate.reportOutgoingCallConnected(uuid: uuid!)
|
||||
callInfo!.connected = true
|
||||
CallManager.instance().providerDelegate.callInfos.updateValue(callInfo!, forKey: uuid!)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ import os
|
|||
var isOutgoing = false
|
||||
var sasEnabled = false
|
||||
var declined = false
|
||||
var connected = false
|
||||
|
||||
|
||||
static func newIncomingCallInfo(callId: String) -> CallInfo {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue