Contacts

Defaults

contacts.xml
  1. <!-- Describes a contacts setup -->
  2. <contacts>
  3. <!-- Describes a ldap setup -->
  4. <ldap>
  5. <!-- use this service or not
  6. type: boolean -->
  7. <active>false</active>
  8. <!-- ldap server address fqdn or ip address
  9. type: string -->
  10. <server>ldap.example.org</server>
  11. <!-- ldap lts modes
  12. type: string
  13. accepted values:
  14. ldap
  15. ldapStartTls
  16. ldaps -->
  17. <ldapProtocol>ldap</ldapProtocol>
  18. <!-- ldap server port 389 or 636 (LDAPS)
  19. type: integer
  20. minimum: 1
  21. maximum: 65535 -->
  22. <port>389</port>
  23. <!-- ldap protocol version 2 or 3
  24. type: string
  25. accepted values:
  26. two
  27. three -->
  28. <ldapVersion>three</ldapVersion>
  29. <!-- username to login
  30. type: string -->
  31. <username>telephoneNumber=1234, dc=example</username>
  32. <!-- The password to authenticate the for the ldap server
  33. type: string -->
  34. <password></password>
  35. <!-- name filter according to RFC2254
  36. type: string -->
  37. <nameFilter>(|(cn=%*)(cn=* %*)(sn=%*)(sn=* %*)(givenName=%*)(givenName=* %*))</nameFilter>
  38. <!-- number filter according to RFC2254 for reverse number lookup
  39. type: string -->
  40. <numberFilter>(|(telephoneNumber=*%)(mobile=*%)(homePhone=*%))</numberFilter>
  41. <!-- number filter according to RFC2254 for the number suggestion list in the dialer
  42. type: string -->
  43. <dialerNumberFilter>(|(telephoneNumber=*%*)(mobile=*%*)(homePhone=*%*))</dialerNumberFilter>
  44. <!-- scope that will be searched
  45. type: string -->
  46. <baseDN>dc=example</baseDN>
  47. <!-- maximum size of a result list for a filtered search
  48. type: integer
  49. minimum: 1
  50. maximum: 32000 -->
  51. <maxHits>20</maxHits>
  52. <!-- Maximum size of a result list for an unfiltered search when starting the contacts app
  53. type: integer
  54. maximum: 32000 -->
  55. <maxEntriesOnStart>100</maxEntriesOnStart>
  56. <!-- what names are you looking for
  57. type: string -->
  58. <nameAttributes>cn sn givenName company o</nameAttributes>
  59. <!-- what numbers are you looking for
  60. type: string -->
  61. <numberAttributes>mobile telephoneNumber homePhone</numberAttributes>
  62. <!-- find contact by incoming call number
  63. type: boolean -->
  64. <reverseNumberLookupIncoming>true</reverseNumberLookupIncoming>
  65. <!-- find contact by outgoing call number
  66. type: boolean -->
  67. <reverseNumberLookupOutgoing>true</reverseNumberLookupOutgoing>
  68. </ldap>
  69. <!-- name sorting order for contact query results
  70. type: string
  71. accepted values:
  72. orderByFirstname
  73. orderByLastname -->
  74. <orderBy>orderByFirstname</orderBy>
  75. </contacts>