Revert changing expires from 1 year to 1 month

This commit is contained in:
Sylvain Berfini 2023-05-05 15:18:38 +02:00
parent 6bb6daadba
commit 981ee0ac8e
3 changed files with 2 additions and 3 deletions

View file

@ -25,7 +25,6 @@ Group changes to describe their impact on the project, as follows:
### Changed
- Switched Account Creator backend from XMLRPC to FlexiAPI, it now requires to be able to receive a push notification
- Email account creation form is now only available if TELEPHONY feature is not available, not related to screen size anymore
- Account EXPIRES is now set to 1 month instead of 1 year for sip.linphone.org accounts
- Replaced voice recordings file name by localized placeholder text, like for video conferences invitations
- Decline incoming calls with Busy reason if there is at least another active call
- Open keyboard when replying to a message if no text / file / voice record is pending

View file

@ -8,7 +8,7 @@
<entry name="quality_reporting_collector" overwrite="true">sip:voip-metrics@sip.linphone.org;transport=tls</entry>
<entry name="quality_reporting_enabled" overwrite="true">1</entry>
<entry name="quality_reporting_interval" overwrite="true">180</entry>
<entry name="reg_expires" overwrite="true">2629800</entry>
<entry name="reg_expires" overwrite="true">31536000</entry>
<entry name="reg_identity" overwrite="true">sip:?@sip.linphone.org</entry>
<entry name="reg_proxy" overwrite="true">&lt;sip:sip.linphone.org;transport=tls&gt;</entry>
<entry name="reg_route" overwrite="true">&lt;sip:sip.linphone.org;transport=tls&gt;</entry>

View file

@ -498,7 +498,7 @@ class CoreContext(
val params = account.params.clone()
if (fiveOneMigrationRequired) {
val newExpire = 2629800 // 1 month
val newExpire = 31536000 // 1 year
if (account.params.expires != newExpire) {
Log.i(
"[Context] Updating expire on account ${params.identityAddress?.asString()} from ${account.params.expires} to newExpire"