Integrate a third-party IVR system with voice channel

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

Azure direct routing lets you integrate a third-party interactive voice response (IVR) system with the voice channel, and perform a contextual call transfer between them.

Prerequisites

Before you proceed with this section, you must be familiar with the following concepts.

Set up contextual call transfer using Azure direct routing

This section lists the high-level steps you must perform to enable contextual call transfer between a third-party IVR system and the voice channel.

  1. Set up Azure direct routing and connect a Session Border Controller (SBC), which is linked to the third-party IVR system, with Azure Communication Services resource, which is in turn connected to the application.

  2. Follow the steps in the section Bring your own phone number to register the phone number that’s assigned to the third-party IVR system with the application.

  3. To transfer a call from the IVR system, issue an SIP (Session Initiation Protocol) INVITE request to the Azure Communication Services resource that'll transfer the call to the Azure resource that's connected to th application.

  4. To include context in the payload, populate the SIP UUI (User-to-User Information) header with context data: "User-to-User": "param1=value1;param2=value2". For SIP UUI header with context data, the following formats are supported:

    • Plain text or string. Seperate the key value pairs by a semicolon. For example, "sipkey1=sipval1;sipkey2=sipval2"
    • Hex encoding format. Specify the encoding key word. For example, "7369706B6579313D73697076616C313B7369706B6579323D73697076616C32;encoding=hex"
  5. Create context variables with the same names as the SIP UUI header.

    1. In Customer Service admin center or Contact Center admin center, go to Customer support > Workstreams. A list of workstreams including voice workstreams is displayed.
    2. Select a voice workstream and then select Edit to configure the workstream.
    3. In the Advanced settings area, select Add context variable.
    4. In the Edit dialog that opens, select Add, and then select Add context variable.
    5. Enter the values for Name and Type. Ensure that the names of the context variables match exactly with the param names in the SIP UUI header.
    6. Select Create.

    The SIP UUI payload is automatically converted into context data that can be used in the voice channel for routing and to show relevant information to the agent.

You can now call the phone number assigned to the third-party IVR system and achieve a contextual call transfer with the voice channel.

Note

Call record and transcriptions from the third-party IVR call with the customer aren't available for agents.

Overview of the voice channel
Manage phone numbers
Set up outbound calling
Connect to Azure Communication Services
Bring your own carrier