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);