Skip to content

Route Inbound Calls by Matched Phonebook Contacts

Once your company contacts are organized into phonebooks, you can build inbound routes that steer each incoming call to the right team based on the phonebook a caller’s number is saved in. An inbound route is the rule your phone system (PBX, short for Private Branch Exchange) uses to decide where a call coming in from outside should go. Routing by phonebook lets you split incoming traffic by customer group without asking callers to press a menu option.

Make sure both of the following are in place:

Suppose Company ABC runs two teams, each with its own set of customers. An administrator has already sorted those customers into two separate phonebooks:

TeamPhonebook
Sales Team (Queue 6401)Customers_Abroad
Support Team (Queue 6402)Customers_China

A Queue is a holding line that rings a group of agents, and the number in brackets is the extension callers reach it at. The goal is for every call from a Sales customer to land on the Sales queue, and every call from a Support customer to land on the Support queue. You achieve this with two inbound routes, each keyed to a different phonebook.

Create the inbound route for the Sales Team

Section titled “Create the inbound route for the Sales Team”

Add an inbound route with these settings:

  1. Name: Enter a label that makes the route easy to recognize later.

  2. DID Pattern: Leave this empty so the route is not restricted to specific numbers.

  3. Caller ID Pattern: Choose Match Contacts’ Caller ID in Specific Phonebooks, then select the Customers_Abroad phonebook.

    Caller ID pattern set to match contacts in the Customers_Abroad phonebook

  4. Trunk: Select the trunk these customers call in on.

  5. Default Destination: Decide whether calls should follow different destinations by time of day. In this example, every matching call goes to the same place regardless of when it arrives:

    • Default Destination: Set to Queue and choose the Sales Team.
    • Time Condition: Leave unselected.

    Default destination pointing matched calls to the Sales queue

  6. Fax Detection: Keep the default settings.

Create the inbound route for the Support Team

Section titled “Create the inbound route for the Support Team”

Add a second inbound route the same way, pointing it at the other phonebook. The settings below mirror the Sales route, so the notes above apply here too.

  1. Name: Enter a label that makes the route easy to recognize later.

  2. DID Pattern: Leave this empty so the route is not restricted to specific numbers.

  3. Caller ID Pattern: Choose Match Contacts’ Caller ID in Specific Phonebooks, then select the Customers_China phonebook.

    Caller ID pattern set to match contacts in the Customers_China phonebook

  4. Trunk: Select the trunk these customers call in on.

  5. Default Destination: As with the first route, send every matching call to the same destination:

    • Default Destination: Set to Queue and choose the Support Team.
    • Time Condition: Leave unselected.

    Default destination pointing matched calls to the Support queue

  6. Fax Detection: Keep the default settings.

With both routes in place, the system sorts incoming calls by phonebook:

  • Calls from contacts in Customers_Abroad reach the Sales Team.
  • Calls from contacts in Customers_China reach the Support Team.