Show last authors
1 // Documentation based on repostory git version commit 2.2.0-alpha-15-g8951f16a //
2
3 =Presence server=
4
5 Flexisip presence server parameters.
6 {{{--}}}{{{--}}}
7
8 Configuration options:
9 |=(% style="text-align: center; border: 1px solid #999" %)Name|=(% style="text-align: center; border: 1px solid #999" %)Description|=(% style="text-align: center; border: 1px solid #999" %)Default Value|=(% style="text-align: center; border: 1px solid #999" %)Type
10 |=(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)enabled|(% style="text-align: left; border: 1px solid #999" %)(((Enable presence server)))|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %) ##true##|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)Boolean
11 |=(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)transports|(% style="text-align: left; border: 1px solid #999" %)(((List of white space separated SIP URIs where the presence server must listen~. Must not be tls~.)))|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %) ##sip~:127~.0~.0~.1~:5065~;transport~=tcp##|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)StringList
12 |=(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)expires|(% style="text-align: left; border: 1px solid #999" %)(((Default expires of PUBLISH request in second~.)))|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %) ##600##|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)Integer
13 |=(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)notify-limit|(% style="text-align: left; border: 1px solid #999" %)(((Max number of presentity sent in a single NOTIFY by default~.)))|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %) ##200##|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)Integer
14 |=(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)long-term-enabled|(% style="text-align: left; border: 1px solid #999" %)(((Enable long~-term presence notifies)))|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %) ##false##|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)Boolean
15 |=(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)rls-database-connection|(% style="text-align: left; border: 1px solid #999" %)(((Soci connection string for the resource list database~.)))|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %) ####|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)String
16 |=(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)rls-database-request|(% style="text-align: left; border: 1px solid #999" %)(((SQL request to obtain the list of the users corresponding to an resource list subscription~.
17 Named parameters are~:
18 ~* ~'~:from~' ~: the URI of the sender of the SUBSCRIBE~. ~(mandatory~)
19 ~* ~'~:to~' ~: the URI of the users list which the sender want to subscribe to~. ~(mandatory~)
20 )))|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %) ####|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)String
21 |=(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)rls-database-max-thread|(% style="text-align: left; border: 1px solid #999" %)(((Max number of threads~.)))|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %) ##50##|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)Integer
22 |=(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)rls-database-max-thread-queue-size|(% style="text-align: left; border: 1px solid #999" %)(((Max legnth of threads queue~.)))|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %) ##50##|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)Integer
23 |=(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)soci-user-with-phone-request|(% style="text-align: left; border: 1px solid #999" %)(((Soci SQL request used to obtain the username associated with a phone alias~.
24 The string MUST contains the ~'~:phone~' keyword which will be replaced by the phone number to look for~.
25 The result of the request is a 1x1 table containing the name of the user associated with the phone number~.
26
27 Example~: select login from accounts where phone ~= ~:phone )))|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %) ####|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)String
28 |=(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)soci-users-with-phones-request|(% style="text-align: left; border: 1px solid #999" %)(((Same as ~'soci~-user~-with~-phone~-request~' but allows to fetch several users by a unique SQL request~.
29 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~'~)~.
30 If you use phone number linked accounts you~'ll need to select login~, domain~, phone in your request for flexisip to work~.
31 Example~: select login~, domain~, phone from accounts where phone in ~(~:phones~))))|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %) ####|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)String
32 |=(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)bypass-condition|(% style="text-align: left; border: 1px solid #999" %)(((If user agent contains it~, can bypass extended notifiy verification~.)))|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %) ##false##|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)String
33 |=(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)leak-detector|(% style="text-align: left; border: 1px solid #999" %)(((Enable belle~-sip leak detector)))|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %) ##false##|(% style="text-align: center; vertical-align: middle; border: 1px solid #999" %)Boolean