Documentation based on repostory git version commit 2.4.0-alpha-137-g08a21b3d 

Presence server

Flexisip presence server parameters.
----

Configuration options:

NameDescriptionDefault ValueDefault UnitType
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 secondDurationS
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.
Named parameters are:
 * ':from' : the URI of the sender of the SUBSCRIBE. (mandatory)
 * ':to' : the URI of the users list which the sender want to subscribe to. (mandatory)

  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.
The string MUST contains the ':phone' keyword which will be replaced by the phone number to look for.
The result of the request is a 1x1 table containing the name of the user associated with the phone number.

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.
The string MUST contains the ':phones' keyword which will be replaced by the list of phone numbers to look for. Each element of the list is seperated by a comma character and is protected by simple quotes (e.g. '0336xxxxxxxx','0337yyyyyyyy','034zzzzzzzzz').
If you use phone number linked accounts you'll need to select login, domain, phone in your request for flexisip to work.
Example: select login, domain, phone from accounts where phone in (:phones)

  String
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
Tags: