LDAP Configurations on Grandstream Phone
In this example, we demonstrate how to configure and use LDAP phonebook using Grandstream GXP1630 (version 1.0.4.100).
Configuration Example
The example configurations are set according to default settings of UC-Series IPPBX LDAP server. You can use the following settings as a starting point and adjust the filter and display attributes according to your needs.
Log in the Grandstream web interface, go to Contacts > LDAP to configure LDAP client.
Setting | Description | Example |
LDAP protocol | Specify the connection mode between the LDAP server and the IP phone.
UC-Series IPPBX supports LDAP. |
LDAP |
Server Address | Enter the IP address of PBX. | 172.16.101.230 |
Port | Enter the LDAP server port. | 389 |
Base | Specify a starting point in the directory tree from which to search.
|
dc=pbx,dc=com |
User Name | Enter the user name to log in the LDAP server. | cn=admin,dc=pbx,dc=com |
Password | Enter the password to log in the LDAP server. | password |
LDAP Number Filter | Specify the number attributes for LDAP searching.
|
(|(telephoneNumber=%)(homePhone=%)(mobile=%)) |
LDAP Name Filter | Specify the name attributes for LDAP searching.
|
(|(cn=%)(sn=%)) |
LDAP Version | UC-Series IPPBX LDAP server uses Version 3. | Version 3 |
LDAP Name Attributes | Specify the name attributes of each record to be returned by the LDAP server. You can configure multiple name attributes separated by space. | cn sn displayName |
LDAP Number Attributes | Specify the number attributes of each record to be returned by the LDAP server. You can configure multiple number attributes separated by space. | telephoneNumber homePhone mobile mail departmentNumber |
LDAP Display Name | Specify the display name of the contact record displayed on the LCD screen. This parameter value must start with % symbol. | %cn |
Max. Hits | Specify the maximum number of search results to be returned by the LDAP server. | 50 |
Search Timeout | Specify the interval for the LDAP server to process the request and the client waits for server to return. The valid range is 0 to 180. | 30 |
Sort Results | Enable or disable IP phone to sort out search results . | Yes |
LDAP Lookup | Enable or disable IP phone to perform an LDAP search when receiving an incoming call or placing an outgoing call. | Incoming Calls Outgoing Calls |
Lookup Display Name | Specify the display name when the LDAP looks up the name for incoming call or outgoing call. | %cn |
Search LDAP Contacts
Enter the search criteria to search a contact from LDAP phonebook and call the contact.
1. Press the LDAP Search soft key on the phone.
2. Search the contact name or number using the keypad and press OK. The contacts whose name or phone number match the characters entered will appear on the LCD screen.
3. Press the navigation key to select the desired contact.
4. Press Dial to call the contact.