LDAP Configurations on Grandstream Phone

In this example, we demonstrate how to configure and use LDAP phonebook using Grandstream GXP1628 (version 1.0.4.100).

Configuration Example

The example configurations are set according to default settings of Yeastar S-Series VoIP PBX 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.

Table 1.
Setting Description Example
LDAP protocol Specify the connection mode between the LDAP server and the IP phone.
  • LDAP
  • LDAPS
    Note:

    Yeastar S-Series VoIP PBX supports LDAP.

LDAP
Server Address Enter the IP address of PBX. 192.168.6.36
Port Enter the LDAP server port. 389
Base Specify a starting point in the directory tree from which to search.
  • To search all contacts, enter the Base DN of LDAP server.
  • To search part of contacts, enter the desired phonebook node.
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.

  • The * symbol in the filter stands for any character.
  • The % symbol in the filter stands for the entering string used as the prefix of the filter condition.
(|(telephoneNumber=%)(homePhone=%)(mobile=%))
LDAP Name Filter

Specify the name attributes for LDAP searching.

  • The * symbol in the filter stands for any character.
  • The % symbol in the filter stands for the entering string used as the prefix of the filter condition.
(|(cn=%)(sn=%))
LDAP Version Yeastar S-Series VoIP PBX 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.