From ed08190ff4ad6e3e0d568e7db7ae9bade63c6e56 Mon Sep 17 00:00:00 2001 From: Benoit Martins Date: Mon, 15 Dec 2025 13:21:12 +0100 Subject: [PATCH] Reset CallKit UUID on invite resend --- Linphone/GeneratedGit.swift | 4 ++-- Linphone/TelecomManager/TelecomManager.swift | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Linphone/GeneratedGit.swift b/Linphone/GeneratedGit.swift index a8f9be836..8427aee09 100644 --- a/Linphone/GeneratedGit.swift +++ b/Linphone/GeneratedGit.swift @@ -1,7 +1,7 @@ import Foundation public enum AppGitInfo { - public static let branch = "feature/mwi" - public static let commit = "742aa8025" + public static let branch = "master" + public static let commit = "57b7b857b" public static let tag = "6.1.0-alpha" } diff --git a/Linphone/TelecomManager/TelecomManager.swift b/Linphone/TelecomManager/TelecomManager.swift index eedf117d2..61139420f 100644 --- a/Linphone/TelecomManager/TelecomManager.swift +++ b/Linphone/TelecomManager/TelecomManager.swift @@ -433,6 +433,7 @@ class TelecomManager: ObservableObject { func onCallStateChanged(core: Core, call: Call, state cstate: Call.State, message: String) { let callLog = call.callLog let callId = callLog?.callId ?? "" + if !callInProgress && participantsInvited { if let remoteAddress = call.remoteAddress { let uuid = UUID() @@ -621,6 +622,11 @@ class TelecomManager: ObservableObject { Log.info("CallKit: outgoing call started connecting with uuid \(uuid!) and callId \(callId)") providerDelegate.reportOutgoingCallStartedConnecting(uuid: uuid!) + } else if callId != "" && cstate == .OutgoingInit { + if let uuidTmp = providerDelegate.uuids["\(callId)"] { + providerDelegate.uuids.removeValue(forKey: callId) + providerDelegate.uuids.updateValue(uuidTmp, forKey: "") + } } else { referedToCall = callId }