diff --git a/Linphone/Core/CoreContext.swift b/Linphone/Core/CoreContext.swift index 021cb3bf3..d8070c598 100644 --- a/Linphone/Core/CoreContext.swift +++ b/Linphone/Core/CoreContext.swift @@ -153,6 +153,8 @@ final class CoreContext: ObservableObject { self.mCore.config!.setString(section: "misc", key: "file_transfer_server_url", value: "https://files.linphone.org:443/http-file-transfer-server/hft.php") self.mCore.config!.setString(section: "misc", key: "version_check_url_root", value: "https://download.linphone.org/releases") + self.mCore.imdnToEverybodyThreshold = 1 + let shortcutsCount = self.mCore.config!.getInt(section: "ui", key: "shortcut_count", defaultValue: 0) if shortcutsCount > 0 { var shortcuts: [ShortcutModel] = [] diff --git a/Linphone/Ressources/assistant_linphone_default_values b/Linphone/Ressources/assistant_linphone_default_values index 54453d542..6d6253ca2 100644 --- a/Linphone/Ressources/assistant_linphone_default_values +++ b/Linphone/Ressources/assistant_linphone_default_values @@ -1,37 +1,39 @@
- 1 - 0 - 1 - 120 - sip:voip-metrics@sip.linphone.org;transport=tls - 1 - 180 - 31536000 - sip:?@sip.linphone.org - <sip:sip.linphone.org;transport=tls> - <sip:sip.linphone.org;transport=tls> - 1 - nat_policy_default_values - sip.linphone.org - sip:conference-factory@sip.linphone.org - sip:videoconference-factory@sip.linphone.org - 1 + 1 + 0 + 1 + 120 + sip:voip-metrics@sip.linphone.org;transport=tls + 1 + 180 + 31536000 + sip:?@sip.linphone.org + <sip:sip.linphone.org;transport=tls> + <sip:sip.linphone.org;transport=tls> + 1 + nat_policy_default_values + sip.linphone.org + sip:conference-factory@sip.linphone.org + sip:videoconference-factory@sip.linphone.org + 1 1 - 1 - 1 - https://lime.linphone.org/lime-server/lime-server.php + 1 + 1 + https://lime.linphone.org/lime-server/lime-server.php + c25519 +
- stun.linphone.org - stun,ice + stun.linphone.org + stun,ice
- zrtp - 1 + zrtp + 1
- 1 + 1
diff --git a/Linphone/Ressources/assistant_third_party_default_values b/Linphone/Ressources/assistant_third_party_default_values index bd9c9b79f..4d1243295 100644 --- a/Linphone/Ressources/assistant_third_party_default_values +++ b/Linphone/Ressources/assistant_third_party_default_values @@ -1,33 +1,35 @@
- 0 - 0 - 0 - -1 - - 0 - 0 - 3600 - - - - 1 - - - - - 0 - 0 - 0 - + 0 + 0 + 0 + -1 + + 0 + 0 + 3600 + + + + 1 + + + + + 0 + 0 + 0 + + + outbound
- stun.linphone.org - stun,ice + stun.linphone.org + stun,ice
- srtp - 0 + srtp + 0
diff --git a/Linphone/Ressources/linphonerc-default b/Linphone/Ressources/linphonerc-default index bf0cadf9a..ad3d01833 100644 --- a/Linphone/Ressources/linphonerc-default +++ b/Linphone/Ressources/linphonerc-default @@ -11,6 +11,8 @@ sip_tcp_port=-1 sip_tls_port=-1 media_encryption=none update_presence_model_timestamp_before_publish_expires_refresh=1 +use_rfc2833=1 +use_info=1 [net] #Because dynamic bitrate adaption can increase bitrate, we must allow "no limit" @@ -28,19 +30,29 @@ tunnel=disabled auto_download_incoming_voice_recordings=1 auto_download_incoming_icalendars=1 - [tunnel] host= port=443 [misc] -log_collection_upload_server_url=https://files.linphone.org:443/http-file-transfer-server/hft.php -file_transfer_server_url=https://files.linphone.org:443/http-file-transfer-server/hft.php +log_collection_upload_server_url=https://files.linphone.org/http-file-transfer-server/hft.php +file_transfer_server_url=https://files.linphone.org/http-file-transfer-server/hft.php version_check_url_root=https://download.linphone.org/releases max_calls=10 +history_max_size=100 conference_layout=1 +hide_empty_chat_rooms=1 [fec] fec_enabled=1 +[magic_search] +return_empty_friends=1 + +[chat] +imdn_to_everybody_threshold=1 + +[ui] +contacts_filter=sip.linphone.org + ## End of default rc diff --git a/Linphone/Ressources/linphonerc-factory b/Linphone/Ressources/linphonerc-factory index 429ef55c8..fd56c7cd9 100644 --- a/Linphone/Ressources/linphonerc-factory +++ b/Linphone/Ressources/linphonerc-factory @@ -15,10 +15,10 @@ accept_any_encryption=1 guess_hostname=1 register_only_when_network_is_up=1 auto_net_state_mon=1 -auto_answer_replacing_calls=0 +auto_answer_replacing_calls=1 ping_with_options=0 use_cpim=1 -zrtp_key_agreements_suites=MS_ZRTP_KEY_AGREEMENT_K255_KYB512 +zrtp_key_agreements_suites=MS_ZRTP_KEY_AGREEMENT_K255_MLK512,MS_ZRTP_KEY_AGREEMENT_K255_KYB512 chat_messages_aggregation_delay=1000 chat_messages_aggregation=1 update_presence_model_timestamp_before_publish_expires_refresh=1 @@ -27,6 +27,9 @@ rls_uri=sips:rls@sip.linphone.org [sound] #remove this property for any application that is not Linphone public version itself ec_calibrator_cool_tones=1 +disable_ringing=1 + +[audio] [video] auto_resize_preview_to_keep_ratio=1 diff --git a/Linphone/UI/Assistant/Viewmodel/AccountLoginViewModel.swift b/Linphone/UI/Assistant/Viewmodel/AccountLoginViewModel.swift index b442f3632..988bd9dc7 100644 --- a/Linphone/UI/Assistant/Viewmodel/AccountLoginViewModel.swift +++ b/Linphone/UI/Assistant/Viewmodel/AccountLoginViewModel.swift @@ -128,8 +128,10 @@ class AccountLoginViewModel: ObservableObject { // Also set the newly added account as default core.defaultAccount = account - self.domain = "sip.linphone.org" - self.transportType = "TLS" + DispatchQueue.main.async { + self.domain = "sip.linphone.org" + self.transportType = "TLS" + } } catch { NSLog(error.localizedDescription) } }