diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 9933817e2..1c21da964 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -1892,6 +1892,7 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) { factory = factoryIpad; } _configDb = linphone_config_new_for_shared_core(kLinphoneMsgNotificationGroupId.UTF8String, @"linphonerc".UTF8String, factory.UTF8String); + lp_config_clean_entry(_configDb, "misc", "max_calls"); } #pragma mark - Audio route Functions diff --git a/Classes/ProviderDelegate.swift b/Classes/ProviderDelegate.swift index 9f293d20a..867ac0d78 100644 --- a/Classes/ProviderDelegate.swift +++ b/Classes/ProviderDelegate.swift @@ -69,7 +69,7 @@ class ProviderDelegate: NSObject { providerConfiguration.iconTemplateImageData = UIImage(named: "callkit_logo")?.pngData() providerConfiguration.supportedHandleTypes = [.generic] - providerConfiguration.maximumCallsPerCallGroup = 3 + providerConfiguration.maximumCallsPerCallGroup = 10 providerConfiguration.maximumCallGroups = 2 //not show app's calls in tel's history @@ -135,7 +135,6 @@ extension ProviderDelegate: CXProviderDelegate { func provider(_ provider: CXProvider, perform action: CXEndCallAction) { let uuid = action.callUUID let callId = callInfos[uuid]?.callId - Log.directLog(BCTBX_LOG_MESSAGE, text: "CallKit: Call ended with call-id: \(String(describing: callId)) an UUID: \(uuid.description).") // remove call infos first, otherwise CXEndCallAction will be called more than onece if (callId != nil) { @@ -147,6 +146,7 @@ extension ProviderDelegate: CXProviderDelegate { if (call != nil) { do { try call!.terminate() // TODO PAUL + Log.directLog(BCTBX_LOG_MESSAGE, text: "CallKit: Call ended with call-id: \(String(describing: callId)) an UUID: \(uuid.description).") } catch { Log.directLog(BCTBX_LOG_ERROR, text: "CallKit: Call ended \(uuid) failed because \(error)") } diff --git a/Resources/linphonerc b/Resources/linphonerc index ffc700895..97a80c1be 100644 --- a/Resources/linphonerc +++ b/Resources/linphonerc @@ -49,7 +49,6 @@ reg_expires=1314000 [misc] file_transfer_server_url=https://www.linphone.org:444/lft.php -max_calls=3 real_early_media=1 prefer_basic_chat_room=-1