Updated presence's publish's expires to 2 minutes

This commit is contained in:
Sylvain Berfini 2023-02-28 10:03:30 +01:00
parent 5a14a2d1eb
commit 4c6155b305
4 changed files with 8 additions and 1 deletions

View file

@ -12,7 +12,11 @@ Group changes to describe their impact on the project, as follows:
## [5.1.0] - Unreleased
### Added
- Showing short term presence for contacts whom publish it + added setting to disable it (enabled by default for sip.linphone.org accounts)
### Changed
- 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
- Removed jetifier as it is not needed
@ -25,7 +29,7 @@ Group changes to describe their impact on the project, as follows:
### Changed
- Updated translations
## [5.0.6] - Unreleased
## [5.0.6] - 2023-02-17
### Fixed
- Wrong country displayed in assistant after picking it in the list if another country has the same international prefix (such as +1)

View file

@ -4,6 +4,7 @@
<entry name="avpf" overwrite="true">0</entry>
<entry name="dial_escape_plus" overwrite="true">0</entry>
<entry name="publish" overwrite="true">0</entry>
<entry name="publish_expires" overwrite="true">-1</entry>
<entry name="quality_reporting_collector" overwrite="true"></entry>
<entry name="quality_reporting_enabled" overwrite="true">0</entry>
<entry name="quality_reporting_interval" overwrite="true">0</entry>

View file

@ -4,6 +4,7 @@
<entry name="avpf" overwrite="true">1</entry>
<entry name="dial_escape_plus" overwrite="true">0</entry>
<entry name="publish" overwrite="true">1</entry>
<entry name="publish_expires" overwrite="true">120</entry>
<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>

View file

@ -454,6 +454,7 @@ class CoreContext(
if (!account.params.isPublishEnabled) {
Log.i("[Context] Enabling presence publish on proxy config ${params.identityAddress?.asString()}")
params.isPublishEnabled = true
params.publishExpires = 120
paramsChanged = true
}
}