mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
workaround unreliable IPv6 connections of our Freebox V6
This commit is contained in:
parent
788f6cc4fc
commit
ac1ce42bad
1 changed files with 4 additions and 0 deletions
|
|
@ -59,6 +59,9 @@ const char* test_route="sip2.linphone.org";
|
|||
const char *userhostsfile = "tester_hosts";
|
||||
bool_t liblinphonetester_ipv6 = TRUE;
|
||||
bool_t liblinphonetester_show_account_manager_logs = FALSE;
|
||||
int liblinphonetester_transport_timeout = 9000; /*milliseconds. it is set to such low value to workaround a problem with our Freebox v6 when connecting to Ipv6 addresses.
|
||||
It was found that the freebox sometimes block SYN-ACK packets, which prevents connection to be succesful.
|
||||
Thanks to the timeout, it will fallback to IPv4*/
|
||||
|
||||
const char *liblinphone_tester_mire_id="Mire: Mire (synthetic moving picture)";
|
||||
|
||||
|
|
@ -158,6 +161,7 @@ LinphoneCore* configure_lc_from(LinphoneCoreVTable* v_table, const char* path, c
|
|||
chatdb = ms_strdup_printf("%s/messages-%p.db",bc_tester_get_writable_dir_prefix(),lc);
|
||||
|
||||
linphone_core_enable_ipv6(lc, liblinphonetester_ipv6);
|
||||
linphone_core_set_sip_transport_timeout(lc, liblinphonetester_transport_timeout);
|
||||
|
||||
sal_enable_test_features(lc->sal,TRUE);
|
||||
sal_set_dns_user_hosts_file(lc->sal, dnsuserhostspath);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue