Set up inbound calling

Applies to: Dynamics 365 Contact Center—embedded, Dynamics 365 Contact Center—standalone, and Dynamics 365 Customer Service

Configure inbound calling to set up the voice channel in Dynamics 365. You can enable your customer service representatives to communicate with customers on the phone to resolve issues using the voice channel.

Prerequisites

Ensure that the following prerequisites are met:

Set up a voice workstream

Important

If the enhanced voice experience is available for your region, you can create new workstreams that support the voice-enabled Copilots. For existing deployments, make sure that you update your existing workstreams to support voice Copilots.

Do the following to configure a workstream for voice:

  1. On the left pane, select Workstreams, and then on the Create a workstream dialog, enter the following.

  2. Enter the following details for the workstream:

    • Name: An intuitive name, such as Contoso voice workstream.
    • Type: Select Voice.

    Note

    By default, Owner and Channel are predefined and unavailable, and only push is available for work distribution mode.

  3. Select Create. The workstream that you created is displayed.

    Workstream for voice

Configure a voice channel

To configure the voice channel, you need to associate the workstream with a phone number for routing the calls. You can view the list of available phone numbers by selecting Phone numbers in the left pane.

  1. Go to the workstream that you created, and on the page that appears, select Set up voice.

  2. On the Phone number page, select a number from the list, and select Next.

    Note

    • Only those numbers are displayed that have inbound calls enabled and are not already associated with any other workstream. Use the steps in Acquire a phone number if you want to configure a new number.
    • The voice channel supports anonymous inbound calls on those numbers only that are configured via Azure Communication Services direct routing.
  3. On the Language page, select Add primary language and perform the steps to configure the primary language. Learn more in Allow customers to choose a language.

  4. On the Behaviors tab, turn on the Customer wait time toggle, and select the following options:

  5. Turn on the Channel operating hours toggle, and select an operating hour record. Learn more in Configure operating hours for your business

  6. Configure the settings for transcription and recording of the calls in the Transcription and recording area. Learn more in Configure call recordings and transcripts

  7. Select Add for Custom automated messages, then select a default template message as the trigger, and then enter the custom automated message text. For information about automated messages, see Configure automated messages

  8. Turn on the toggle for the agents to be able to transfer calls and consult with external numbers and Microsoft Teams users. See Transfer calls to external numbers and Teams users.

  9. On the Summary page, select Save and close.

The phone number is associated with the workstream.

Configured workstream for voice

Add a phone number to the workstream and configure language settings

  1. In the Customer Service admin center or Contact Center admin center app, go to the voice workstreams, and then select the workstream to configure the phone number.

  2. Select Edit next to the pencil icon, and then on the Voice settings page, select the number to add to the workstream, and then select Next.

  3. On the Language tab, select Add primary language. A language page is displayed, where you set the primary language for the channel. You can add more languages to this voice channel, and each language has its own settings. The Primary language is the first language the bot uses to greet the customer. Your organization can have one phone number that services multiple languages, rather than have multiple phone numbers, each with one language, and then ask customers to call the right number.

  4. Select the type of hold and wait music you want the customer to hear.

  5. In Voice profile, select a voice, voice style, speaking speed, and pitch for the bot.

    Important

    Make sure that you select a neural voice because standard voice is deprecated as on August 31, 2024. For existing voice workstreams, Microsoft Dynamics 365 team would have migrated the settings for you automatically by end of July, 2024. Learn more in Upgrade to Text-to-Speech Neural Voice  by 31 August 2024

  6. Turn on the Post-call survey toggle if you want the bot to present a survey to the customer at the end of the call. If this feature is turned on, the call will automatically get transferred to the survey bot after the agent hangs up.

  7. After you finish configuring the settings, select Confirm.

Transfer calls to external numbers and Teams users

You see the following transfer and consult options:

  • Enhanced voice options: Actions available for workstreams created in or migrated to the enhanced voice experience.
  • Existing voice options: Actions available for workstreams that aren't migrated to the enhanced voice channel.

Note

In the embedded and standalone experiences of Dynamics 365 Contact Center, the enhanced voice options only are available.

  1. Set the toggles for External phone number and External Microsoft Teams users in Consult and Transfer. This allows agents to consult with other agents or Teams subject matter experts during an ongoing call, and also enables them to transfer calls.
  2. Select the Use bridged transfers checkbox. The following actions occur when an agent transfers a call to an external phone number or a Microsoft Teams user:
    • Call ends for the primary agent as soon as the secondary agent or Teams user accepts or rejects a call.
    • The caller ID on the call to the external number is the Dynamics phone number.
    • The customer hears a transfer message followed by hold music. The original call continues.
    • The recording and transcription continue when the call is transferred.
    • Customers can't send Dual Tone Multi Frequency (DTMF) inputs to external numbers.
    • Post conversation survey, if configured, is triggered once the external agent or Teams user hangs up.
  3. If the Use bridged transfers checkbox isn't selected, the following actions occur when an agent transfers a call to an external phone number or a Microsoft Teams user:
    • Call ends for the primary agent as soon as the secondary agent or Teams user accepts or rejects a call.
    • The caller ID on the call to the external user is the customer's phone number.
    • The customer hears a transfer message followed by ringing. A new call begins.
    • Customers can send DTMF inputs to external numbers.
    • The recording and transcription is stopped.
    • Post conversation call survey isn't sent to the customer.

Note

If you are a Direct Routing customer, when the Use bridged transfers checkbox isn't selected you need to configure your Session Border Controller to accept a "REFER-TO: sip.pstnhub.microsoft.com", and convert it to an INVITE that's sent back to sip.pstnhub.microsoft.com for the transfer to complete. Learn more at Call Transfer.

Create queues for voice channels

In Dynamics 365 Contact Center or Dynamics 365 Customer Service, work items are assigned to a queue and agent with the help of unified routing. Unified routing is an intelligent, scalable, and enterprise grade routing and assignment capability that can assign the incoming work item to the best suited queue and agent while adhering to work item requirements and matching them with the agent's capabilities using round robin routing. Learn more in Overview of unified routing

In this section, we cover information on how to create a queue for the voice channel and routing rules to evaluate conditions and assign work items.

Create a queue for the voice channel

In the left pane, select Queues, and then complete the following steps to create a queue for the voice channel:

  1. On the Queues page, select New, and on Create a queue dialog, enter the following details.

    • Name: Specify a name.
    • Type: Select Voice.
    • Group number: Enter a number.
  2. Select Create. The queue is created.

  3. On the queue page, select Add users, and on the Add users flyout menu that appears, select the users and select Add.

    Note

    • You can add only those users who are configured for unified routing.
    • After 20 minutes of being added to a queue, agents must refresh their dashboards to be able to receive calls.

    Configure queue for voice.

Configure user input recognition

The Voice channel supports DTMF recognition to allow agents to provide input to IVR and human agents using the phone keypad. This is supported through Azure Communication Services. Learn more in Gathering user input with Recognize action to configure DTMF recognition.

The supported configurations for the voice channel are as follows:

  • Agents can send DTMF input to a phone number in the E.164 format only.

  • Agents must use the dialpad icon to send DTMF input. Screenshot of external dialpad icon

  • Agents can send the following DTMF tones:

    
      private readonly static HashSet<string> ValidDTMFValues = new HashSet<string> 
    
      { 
    
       "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "#", "A", "B", "C", "D" 
    
      }; 
    
    

Note

The DTMF input isn't supported if the call is transferred to an external phone number in the existing voice experience.

Configure call overflow for the voice queue

With call overflow, you can reduce the wait time for customer calls by setting options for voice queues. Learn more in Manage overflow

Assignment rules for a queue

By default, the assignment method for a voice queue is round robin. In the round robin method, work items are prioritized in the order they enter the queue. Among the agents who match skills, presence, and capacity, work is assigned to agents in the order they're listed. The agent listed on the top is assigned first. You can also choose highest capacity or create custom assignment methods. Learn more in Assignment methods

For a simple and quick voice call routing, you don't need to set up any rules for unified routing. By default, all the incoming voice calls are routed to the "default voice queue" and will be assigned to the agents with the round robin assignment method.

Configure routing rules for the voice workstream

Go to the workstream for which you've configured the voice channel and do the following steps:

  1. In the Routing rules area, in the Route to queues option, select Create ruleset.

  2. On the Created route-to-queues ruleset dialog, provide a name and description, and then select Create.

  3. On the page that appears, select Create rule.

  4. On the Create rule page, enter a rule name, and in Conditions, define the set of conditions using the conversation entity and related entity attributes.

  5. In Route to queues, select the queue that you created and to which the voice call must be routed when the conditions specified are met.

  6. To configure percentage-based distribution of work items, see Percentage-based allocation of work to queues

  7. Select Create. The rule is created and appears in the list of rules.

  8. Create as many rules as your business requires.

Configure work classification rules

You can configure work classification rules for the voice workstream to add detailed information to incoming work items. This information can be used to route the calls optimally. Learn more in Configure work classification

Overview of voice channel
Overview of unified routing
Assignment methods
Set up outbound calling
Configure outbound and inbound profiles
Manage phone numbers
Use voicemail to handle overflow of calls