Intelligent voice interaction outbound call workflow

Updated at:

This topic describes the workflow for making intelligent voice interaction outbound calls.

Prerequisites

Background information

The intelligent voice interaction outbound call API works with the intelligent voice interaction outbound call callback HTTP API. When the Voice Service platform initiates a call, it sends you the transcribed text. You must then return the next action to the Voice Service platform.

Procedure

The following diagram shows the workflow for using an API to initiate an intelligent voice interaction outbound call.呼出

Step 1: Configure the callback address

  1. Log on to the Voice Service console. In the left-side navigation pane, choose Common Settings.

  2. Click the Callback URLs tab and enable Intelligent Speech Interaction Callback URL.

  3. Enter the callback URL.

For configuration details, see Configure an intelligent voice interaction callback URL.

Step 2: Initiate an outbound call via API

You can initiate an intelligent voice interaction outbound call by using either of the following APIs:

  • Call the SmartCall API to initiate an intelligent voice interaction outbound call.

  • Call the SmartCallOperate API to perform a specified action during an intelligent voice interaction outbound call.

After you initiate an intelligent voice interaction outbound call by using an API, the system automatically sends callbacks to your configured HTTP endpoint. These callbacks contain the real-time transcribed text of the user's speech. Your application must then return the next action to the Voice Service platform, enabling the intelligent voice interaction between the bot and the user.

Step 3: Query call details

You can query call details using either of the following methods:

  • Query details in the console: In the console, choose Business Statistics > Voice Record Query. Filter by voice service type, time, calling number, called number, and other criteria to find and view task details.

  • Query using an API: Call the QueryCallDetailByCallId API to query the details of a specific call.

Next steps

After a call completes, Voice Service delivers a receipt message to you. You can receive these messages in a Message Service (MNS) queue or through an HTTP POST request to a specified URL. For more information, see Introduction to receipt messages.