From e220d2ef80d095dfdd725fc15cde76ef4bf8a260 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Mon, 16 Apr 2018 11:03:47 +0200 Subject: [PATCH] Added a param to configure bellesip refresher retry after timeout value --- coreapi/linphonecore.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 796e82d82..2a92c87e8 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -2226,7 +2226,9 @@ static void linphone_core_init(LinphoneCore * lc, LinphoneCoreCbs *cbs, LpConfig // We need the Sal on the Android platform helper init msplugins_dir = linphone_factory_get_msplugins_dir(lfactory); image_resources_dir = linphone_factory_get_image_resources_dir(lfactory); + lc->sal=new Sal(NULL); + lc->sal->set_refresher_retry_after(lp_config_get_int(lc->config, "sip", "refresher_retry_after", 60000)); lc->sal->set_http_proxy_host(linphone_core_get_http_proxy_host(lc)); lc->sal->set_http_proxy_port(linphone_core_get_http_proxy_port(lc));