forked from mirrors/linphone-iphone
Update sip “expires” of existing accounts to be 1 month (2629800 seconds)
This commit is contained in:
parent
61047e3ea0
commit
0298f986ca
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue