From 0298f986ca6bd4e9475415341bbfa37192d93b69 Mon Sep 17 00:00:00 2001 From: QuentinArguillere Date: Fri, 7 Apr 2023 12:12:52 +0200 Subject: [PATCH] =?UTF-8?q?Update=20sip=20=E2=80=9Cexpires=E2=80=9D=20of?= =?UTF-8?q?=20existing=20accounts=20to=20be=201=20month=20(2629800=20secon?= =?UTF-8?q?ds)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Classes/LinphoneManager.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 854e1d53f..7afeb86bf 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -502,6 +502,8 @@ static int check_should_migrate_images(void *data, int argc, char **argv, char * if (strcmp(appDomain.UTF8String, linphone_account_params_get_domain(newAccountParams)) == 0 && !linphone_account_params_rtp_bundle_enabled(newAccountParams)) { linphone_account_params_enable_rtp_bundle(newAccountParams, true); linphone_account_set_params(account,newAccountParams); + LOGI(@"Setting the sip 'expires' parameters of existing account to 1 month (2629800 seconds)"); + linphone_account_params_set_expires(newAccountParams, 2629800); } linphone_account_params_unref(newAccountParams);