Provision LDAP for Yealink IP Phone

This guide would show you how to utilize the Template > Custom feature to provision the LDAP parameters. You might need understand how does it work first: https://help.yeastar.com/en/s-series/topic/add_additional_settings_in_custom_template.html

 

Then check out the following procedure.

Provision LDAP by Template

1. Add LDAP parameter for the Template.

1.1 Select Manufacture - Yealink.

1.2 Select the model you need.

1.3 Select the Other tab.

(If you edit the existed template, skip the above 3 steps)

1.4 Input the following parameters in the Other tab box:

ldap.enable= 1
ldap.user= cn=admin,dc=pbx,dc=com
ldap.password= password
ldap.base= dc=pbx,dc=com
ldap.port= 389
ldap.host= 192.168.9.126
ldap.ldap_sort= 1
ldap.version = 3
ldap.display_name= %cn
ldap.numb_attr= telephoneNumber homePhone mobile mail departmentNumber
ldap.name_attr= cn sn displayName
ldap.max_hits= 50
ldap.number_filter= (|(telephoneNumber=%)(homePhone=%)(mobile=%))
ldap.name_filter= (|(cn=%)(sn=%))
ldap.call_out_lookup = 1
ldap.call_in_lookup = 1
ldap.incoming_call_special_search.enable = 1

mceclip0.png

1.5 Click Save.

2. Go back to the Device List.

Apply the template for the IP phone required.

2.1 Select the correct model

2.2 Select the Template. If this phone has been provisioned before, re-select the template.

mceclip1.png

2.3 Click Save and Reboot the IP phone.

Provision LDAP by Common.cfg

You would need understand the mechanism of MAC.cfg and Common.cfg for the Yealink IP phones first, which you can read their provisioning guide.

Basically the Common.cfg file is used for a specific model of phones. For example, the y000000000036.cfg is for Yealink T41P. You can utilize this file to provision LDAP for all provisioned T41P IP phones or the ones pending to be provisioned.

Just refer the procedure in the following:

1. Make sure your phone has been provisioned in the Device List.

mceclip2.png

2.  Add the LDAP parameter in the Common.cfg file.

ldap.enable= 1
ldap.user= cn=admin,dc=pbx,dc=com
ldap.password= password
ldap.base= dc=pbx,dc=com
ldap.port= 389
ldap.host= 192.168.9.126
ldap.ldap_sort= 1
ldap.version = 3
ldap.display_name= %cn
ldap.numb_attr= telephoneNumber homePhone mobile mail departmentNumber
ldap.name_attr= cn sn displayName
ldap.max_hits= 50
ldap.number_filter= (|(telephoneNumber=%)(homePhone=%)(mobile=%))
ldap.name_filter= (|(cn=%)(sn=%))
ldap.call_out_lookup = 1
ldap.call_in_lookup = 1
ldap.incoming_call_special_search.enable = 1

 mceclip0.png

3. Upload the Common.cfg file in the Upload Files tab.

mceclip1.png

4. Reboot the provisioned the IP phones to perform the provisioning process for downloading the Common.cfg file which includes the LDAP parameters.

Have more questions? Submit a request

1 Comments

  • 0
    Avatar

    If the LDAP doesn't show it the Directory menu. Add the parameter additionally in the custom template:

    directory_setting.ldap.enable=1
Please sign in to leave a comment.