From d1ef067729fd056e0820b86982053bee628e0e80 Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Tue, 23 Apr 2019 17:59:45 +0300 Subject: [PATCH] - Take prefer_ipv6 from config --- app/src/main/cpp/baresip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/cpp/baresip.c b/app/src/main/cpp/baresip.c index f39738c5..816e3432 100644 --- a/app/src/main/cpp/baresip.c +++ b/app/src/main/cpp/baresip.c @@ -385,7 +385,7 @@ Java_com_tutpro_baresip_BaresipService_baresipStart(JNIEnv *env, jobject instanc goto out; } - err = baresip_init(conf_config(), false); + err = baresip_init(conf_config()); if (err) { LOGW("baresip_init() failed (%d)\n", err); goto out; @@ -394,7 +394,7 @@ Java_com_tutpro_baresip_BaresipService_baresipStart(JNIEnv *env, jobject instanc play_set_path(baresip_player(), path); err = ua_init("baresip v" BARESIP_VERSION " (" ARCH "/" OS ")", - true, true, true, false); + true, true, true); if (err) { LOGE("ua_init() failed (%d)\n", err); goto out;