Updated on 2024-10-12 GMT+08:00

Voice Playback

This diagram element is used to play a voice (for example, welcome voice) or video segment without interacting with the customer. The system supports WAV (8 kHz, 8 bits) voice files, TTS files, and video files.

Diagram Element

Parameter Description

The following figure shows the parameters of the Voice Playback diagram element.

The parameters are described as follows:

  • Node Name: Enter a diagram element name. The value can be customized.
  • Voice Prompt: Select Voice, TTS, Video, or Variable voice. You can click an option button to select a voice type.
    • Voice: Upload a voice file in WAV format. Currently, the UAP supports only WAV (8 kHz, 8-bit) voice files.
    • TTS: Generate a voice file in TTS mode. TTS channels must have been configured. You can enable Advanced TTS settings to set voice playback parameters. Click in the drop-down list to select a sound effect and speaking speed. If this function is disabled, Sound effect is set to Female voice, Speaking speed is set to Low, and TTS extended parameter is not set by default.
      • Sound effect: Select the sound effect. The options are Male voice and Female voice.
      • Speaking speed: Select the speaking speed. The options are Low, Medium, and High.
      • TTS extended parameter: Set this parameter based on site requirements. The value contains a maximum of 200 characters.

        To use the TTS function, you need to contact the system administrator to sign in to the AICC, choose Configuration Center > Chatbot Management > Flow Management > System > TTS/ASR, and configure a TTS server for your tenant space.

    • Video: Upload a video file in 3GP format, whose size must be less than or equal to 5 MB.
    • Voice File: The system filters approved voice files, TTS files, or video files based on the selected voice type, and displays the files in the drop-down list. You can click and select a required file.
    • Variable voice: Voices can be customized by setting the language, type, and content.

      • Language: Select a voice playback language.

        If you select a non-Mandarin or non-English language for the variable voice, contact O&M personnel to customize the syntax package and voice file.

      • Type: Select a voice playback type. The options are Phone number, Number, time(hh:mm:ss), Date(yyyymmdd), and Price.
      • Content: Select the content defined by the global variable (GLOBAL.*) or flow variable (FLOW.*).

        If Type is set to date or time, the format of the selected variable must be consistent with that in the brackets.

  • Click Save to save all parameters set on the current page.

Condition Branch Description

Table 1 Condition branch description

Condition Branch

Description

Usage

Voice playback failure

Failure to play a voice, video, TTS, or variable voice

Triggered upon a playback failure.

Typical Application Scenario

  • When a voice call is transferred to an IVR flow, the system plays the welcome voice.
  • During execution of an IVR flow or when an IVR flow is about to end, the system plays a voice prompt.