Add IMDN Threshold

This commit is contained in:
Benoit Martins 2025-03-04 11:46:55 +01:00
parent 63a1886ff5
commit 0b81887728
6 changed files with 79 additions and 56 deletions

View file

@ -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] = []

View file

@ -22,6 +22,8 @@
<entry name="cpim_in_basic_chat_rooms_enabled" overwrite="true">1</entry>
<entry name="rtp_bundle" overwrite="true">1</entry>
<entry name="lime_server_url" overwrite="true">https://lime.linphone.org/lime-server/lime-server.php</entry>
<entry name="lime_algo" overwrite="true">c25519</entry>
<entry name="supported" overwrite="true"></entry>
</section>
<section name="nat_policy_default_values">
<entry name="stun_server" overwrite="true">stun.linphone.org</entry>

View file

@ -21,6 +21,8 @@
<entry name="cpim_in_basic_chat_rooms_enabled" overwrite="true">0</entry>
<entry name="rtp_bundle" overwrite="true">0</entry>
<entry name="lime_server_url" overwrite="true"></entry>
<entry name="lime_algo" overwrite="true"></entry>
<entry name="supported" overwrite="true">outbound</entry>
</section>
<section name="nat_policy_default_values">
<entry name="stun_server" overwrite="true">stun.linphone.org</entry>

View file

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

View file

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

View file

@ -128,8 +128,10 @@ class AccountLoginViewModel: ObservableObject {
// Also set the newly added account as default
core.defaultAccount = account
DispatchQueue.main.async {
self.domain = "sip.linphone.org"
self.transportType = "TLS"
}
} catch { NSLog(error.localizedDescription) }
}