Company Wide Phonebook Directory via Exchange Server and LDAP
pixel500w-500x1
Zero Admin
With the new Dashboard
pixel500w-500x1
Bulletproof Security
With SSL certs and NGINX
pixel500w-500x1
Install on $150 Appliance
Intel MiniPC architecture
pixel500w-500x1
New, Intuitive Windows Client
More themes, more UC
pixel500w-500x1
More CRM Integrations
Scripting Interface to add your own
pixel500w-500x1
Improved Integrated Web Conferencing
iOS and Android apps included
pixel500w-500x1
Personal Click2Meet URLs

Company Wide Phonebook Directory via Exchange Server and LDAP

The Phonebook / Directory Service

On this topic

The Phonebook / Directory Service

Introduction

Synchronize the Phonebook With your IP Phones

Resolves Caller ID to Name

Using the Phonebook

Link to Exchange Server, LDAP or ODBC

Import & Export of Phonebook entries

Importing Phonebook Entries

Exporting Phonebook Entries

Synchronising with Exchange Server (PRO)

How it Works

Configuring the Exchange Connector (MS Exchange Sync)

Enabling Exchange Calendar Profile Switching

Configuring LDAP Directory Search (PRO)

Configuring ODBC Database Search (PRO)

See Also

Introduction

The phonebook feature allows you to easily publish a phonebook company wide. Used in tandem with a personal phonebook, it allows users to quickly launch calls without wasting time finding a contact’s number and subsequently entering it in the phone.

The Company phonebook is company wide and is managed from the management console. The personal phonebook is only available to a particular extension and is managed from 3CXPhone on that extension.

Synchronize the Phonebook With your IP Phones

The company phonebook is also published to a directory in a format that Cisco, Fanvil, Htek, Polycom, snom, and Yealink phones can download. These phones can then show the same phonebook on their display.

Resolves Caller ID to Name

One of the most important features of the phonebook is that incoming caller IDs are searched against the phonebook, and if a match is found, the caller’s name is shown in the caller ID rather than just showing the number.

Using the Phonebook

To use the phonebook, users enter a name, or part of the name, in the search box of the 3CXPhone Phonebook. 3CXPhone will automatically resolve the name or part of the name to a phonebook entry. To launch a call, the user just needs to double-click the name and click the “Call” button.

Link to Exchange Server, LDAP or ODBC

The 3CX Phonebook / Directory service can also synchronize with and query external data sources including Microsoft Exchange Server, a Microsoft LDAP server or an ODBC database.

Import & Export of Phonebook entries

Importing Phonebook Entries

You can import phonebook entries from a CSV file. Each entry should be on a new line, and the fields separated by a comma as follows:

  • First name, Last name, Company, Mobile, Mobile2, Home, Home2, etc” 

You can download a Sample Phonebook .csv and populate it with your phonebook entries.

To import the company phonebook entries into 3CX Phone System do the following:

  1. Log into the 3CX Management Console and click on the “Settings” node.
  2. Click on “Company Phonebook” and select “Import”.
  3. Browse to your saved CSV file, select it and click “Open”.
  4. Your Company Phonebook entries will be imported into 3CX.

Exporting Phonebook Entries

You can export your phonebook entries from the Company Phonebook in order to save them as a backup or to modify them and import them back at a later stage. To export your phonebook entries follow these steps:

  1. Log into the 3CX Management Console and click on the “Settings” node.
  2.  Click on “Company Phonebook” and click the “Export” button.
  3. Select a file location and a file name for your CSV file.
  4. Click “Save” to export and save your Company Phonebook.

Note: By default 3CX will match at least 6 numbers to a phonebook entry before it considers the number a match. You can change this number by going to “Phonebook options” in the Phonebook node.

Synchronising with Exchange Server (PRO)

The 3CX Company Directory Service allows the Exchange Connector to connect the 3CX Phonebook with Microsoft Exchange Server 2013 SP1 and Office 365 (with Exchange) to import Exchange contacts to either the company or the personal phonebook. The following import functions are available:

  • Ability to select a public folder of contacts to be imported into the 3CX Company Phonebook.
  • Ability to import personal contacts from one or more Exchange users and import them to their personal 3CX Phonebook.

How it Works

3CX Phone System will connect to Microsoft Exchange Server via an “Impersonated User Account” and import all the contacts from Exchange. Once per day (at 4am), the connector will login to the Exchange Server and check if there are any new updates to existing contacts, new contacts or to check where contacts need to be deleted.

IMPORTANT: 3CX Phone System will sync the contacts from Exchange to 3CX. If you want to make changes, then you need to make them at Exchange level first. 3CX Phone System will not allow you to edit an imported contact.

Configuring the Exchange Connector (MS Exchange Sync)

In order to configure 3CX Phone System to work and synchronize with Microsoft Exchange you will first need to Create an Impersonated Microsoft Exchange User Account.

After configuring 3CX MS Exchange Sync section by following these steps:

  1. Log in to your 3CX Management Console, select the “Settings > Directory Search” node, and click the “Exchange” tab.
  2. Fill in the following fields:
  • FULL FQDN to OWA of the Microsoft Exchange Server. Office 365 users will need to use https://outlook.office365.com/owa.
  • Insert your impersonated account details in the “Impersonated User Account” and “User Account Password” fields.
  1. Select the email address and the public folders that you want synchronized and click “Apply”.
  2. To check if your Exchange contacts have been synchronized with the 3CX Phone System Company Phonebook go to “Settings” and then select “Company Phonebook”.
  3. You should see a list of contacts in the 3CX Company Phonebook imported from the email address that you selected to synchronize.

Enabling Exchange Calendar Profile Switching

After having successfully configured MS Exchange Sync, you can take advantage of the ability to automatically change your extension status, based on your status in the Outlook calendar (requires Exchange version 2013 SP1). If you have scheduled appointments where your “Show As” status is set to “Working Elsewhere” (only exchange 2013) or “Out Of Office”, then your status in 3CX Phone System will automatically change to the “Away” or “Out Of Office” status respectively.

To enable this feature, select “Settings” > “Directory Search” > “Exchange” and check the “Enable Calendar Profile Switching” checkbox. A full guide on How to Use Exchange Calendar Status Synchronization details this process.

Configuring LDAP Directory Search (PRO)

LDAP (Lightweight Directory Access Protocol) Directory Search has the ability to connect with an external directory server, for instance, your company's Microsoft active directory. When an incoming call is received, 3CX Phone System can access LDAP and look for a contact match. If a match is found, the contact will be automatically added to the 3CX Company Phonebook and the contact information will be displayed for subsequent calls made by this caller.

To Configure LDAP Directory Search with 3CX Phone System:

  1. Log in to the 3CX Management Console and click on the “Settings > Directory Search” node. Click on the “LDAP” tab.
  2. Specify
  • Fill in the LDAP server IP address or FQDN as in the example above.
  • Insert the LDAP server port number - default 389
  • Insert the LDAP User name and User Password.
  • Specify your LDAP search base. In this example we used “OU=User, DC=test, DC=local” which means that the LDAP search will take place in the User contacts container, in the “test.local” domain.
  • Add a number of days that these contacts will  be kept inside the 3CX Phone Book. Default is 1 year.
  1. When you receive a call, 3CX Phone System will search for a match in the the 3CX Company phonebook. If a match is not found then it will contact the LDAP server. If a match is found, it will be automatically added to the 3CX Company Phonebook.

Configuring ODBC Database Search (PRO)

3CX Phone System has an ODBC Search function that allows 3CX Phone System to connect to any data source which can be accessed via an ODBC driver. In this way any database driven ERP or CRM can import contact data from the shared database when an incoming call is received. See our detailed step-by-step configuration guide on How to Setup Company Directory Synchronization - ODBC Search.

See Also

You might also be interested in:


Ask a Question

Please only post questions in regards to the document you are currently reading.
Technical support or pre sales questions must be posted via the support or sales channels and such comments will be deleted. Thank you for understanding

Leave a Reply

  1. Carsten

    Hello I want to use the Exchnage + LDAP Sync.
    But where can I dee the Logs.
    Everything looks fine, no Error-Message arrived, but 0 Contacts are imported….

    Greetz

    Carsten

    December 5, 2015 at 5:27 pm Reply
    • Charalambos Eleftheriou

      Hi Carsten, thanks for the question. LDAP sync does not import users directly to the 3CX Company Phonebook. When an incoming call is received, 3CX Phone System can access LDAP and look for a contact match. If a match is not found already in the 3CX Company Phonebook, the contact will be automatically added and the contact information will be displayed for subsequent calls made by this caller. Exchange does import to your 3CX Company Phonebook from either a single users contact list or a public folder contacts list, but requires Exchange 2013 sp1 or Office 365 (with Exchange) for this to operate. Also be aware that the Sync takes place at 04.00 am daily by default. If the version of your Ms Exchange server is correct but it still does not work, then you would need to open a support ticket with our support team to investigate this for you. Please contact your 3CX reseller\partner to open a ticket on your behalf if you do not have a support contract with us yourself.

      December 7, 2015 at 4:10 pm
    • Carsten

      Hi Charalambos,

      thank you for your reply!
      So there is no LOG-File to check error Messages?
      Yes we have Exchange Server 2013 KU8. (I will update to KU10)
      As we have also an “impersonated user account” for backup (other software) which is working, we do not see any reason for not importing Contacts.
      A little “Data/Form check” in 3cx when you click OK would be very helpfull.

      Greetz

      Carsten

      December 8, 2015 at 9:43 pm
    • Charalambos Eleftheriou

      @Carsten, thanks for the reply. You can find a log file called CallHistoryService.log that provides details for this, it can be found under C:\ProgramData\3CX\Instance1\Data\Logs on the 3CX Phone system server.

      December 8, 2015 at 11:02 pm
  2. Gabriel

    Hello, i want printing my contacts list, where I found this function? because I need have a control for calls in my office!!
    Thanks !

    January 29, 2016 at 9:01 pm Reply
    • Yes it does.

      August 1, 2016 at 9:34 am
<