presence-server
Documentation based on repostory git version commit 2.7.0-alpha-59-g8e95ef31
Presence server
Flexisip presence server parameters.
----
Configuration options:
| Name | Description | Default Value | Default Unit | Type |
|---|---|---|---|---|
| enabled | Enable presence server | true | Boolean | |
| transports | List of white space separated SIP URIs where the presence server must listen. Must not be tls. | sip:127.0.0.1:5065;transport=tcp | StringList | |
| expires | Default expires of PUBLISH request. | 600 | second | DurationS |
| notify-limit | Max number of presentity sent in a single NOTIFY by default. | 200 | Integer | |
| long-term-enabled | Enable long-term presence notifies | false | Boolean | |
| rls-database-connection | Soci connection string for the resource list database. | String | ||
| rls-database-request | SQL request to obtain the list of the users corresponding to an resource list subscription. | String | ||
| rls-database-max-thread | Max number of threads. | 50 | Integer | |
| rls-database-max-thread-queue-size | Max legnth of threads queue. | 50 | Integer | |
| soci-user-with-phone-request | Soci SQL request used to obtain the username associated with a phone alias. Example: select login from accounts where phone = :phone | String | ||
| soci-users-with-phones-request | Same as 'soci-user-with-phone-request' but allows to fetch several users by a unique SQL request. | String | ||
| max-presence-elements | Maximum number of presence element by identity saved in memory. | 10 | Integer | |
| bypass-condition | If user agent contains it, can bypass extended notifiy verification. | false | String | |
| leak-detector | Enable belle-sip leak detector | false | Boolean | |
| last-activity-retention-time | Duration in milliseconds during which the last activity is kept in memory. Default is 1 day. | 86400000 | Integer | |
| support-legacy-client | Enable to maintain compatibility with legacy clients (linphone-sdk < 5.4). Some behaviors of the presence server previously violated RFC standards (e.g., using 'Event: Presence' instead of 'Event: presence'). Setting this parameter to false enforces RFC compliance but may break compatibility with older clients. | true | Boolean |