Contacts

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 result entries
  48. type: integer
  49. minimum: 1
  50. maximum: 32000 -->
  51. <maxHits>20</maxHits>
  52. <!-- what names are you looking for
  53. type: string -->
  54. <nameAttributes>cn sn givenName company o</nameAttributes>
  55. <!-- what numbers are you looking for
  56. type: string -->
  57. <numberAttributes>mobile telephoneNumber homePhone</numberAttributes>
  58. <!-- find contact by incoming call number
  59. type: boolean -->
  60. <reverseNumberLookupIncoming>true</reverseNumberLookupIncoming>
  61. <!-- find contact by outgoing call number
  62. type: boolean -->
  63. <reverseNumberLookupOutgoing>true</reverseNumberLookupOutgoing>
  64. </ldap>
  65. <!-- name sorting order for contact query results
  66. type: string
  67. accepted values:
  68. orderByFirstname
  69. orderByLastname -->
  70. <orderBy>orderByFirstname</orderBy>
  71. </contacts>