diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index d6b3f842c..b80514e58 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -1955,9 +1955,11 @@ static int apply_transports(LinphoneCore *lc){ transport_error(lc,"tcp",tr->tcp_port); } } - if (tr->tls_port!=0){ - if (sal_listen_port (sal,anyaddr,tr->tls_port,SalTransportTLS,TRUE)!=0){ - transport_error(lc,"tls",tr->tls_port); + if (linphone_core_sip_transport_supported(LinphoneTransportTls)){ + if (tr->tls_port!=0){ + if (sal_listen_port (sal,anyaddr,tr->tls_port,SalTransportTLS,TRUE)!=0){ + transport_error(lc,"tls",tr->tls_port); + } } } apply_user_agent(lc); diff --git a/tester/call_tester.c b/tester/call_tester.c index c655e4b88..3e8ef9475 100644 --- a/tester/call_tester.c +++ b/tester/call_tester.c @@ -542,6 +542,8 @@ static void _call_with_ice(bool_t random_ports) { CU_ASSERT_TRUE(wait_for(pauline->lc,marie->lc,&pauline->stat.number_of_LinphoneCallStreamsRunning,2)); CU_ASSERT_TRUE(wait_for(pauline->lc,marie->lc,&marie->stat.number_of_LinphoneCallStreamsRunning,2)); + CU_ASSERT_TRUE(check_ice(pauline,marie,LinphoneIceStateHostConnection)); + liblinphone_tester_check_rtcp(marie,pauline); /*then close the call*/ linphone_core_terminate_all_calls(pauline->lc);