Audio Element

The audio element plays an audio file.

The element can be nested in the following parent elements: block, choice, error, field, filled, if, menu, noinput, nomatch, record, timeout, transfer.

It cannot have child elements.

* = Specific to Sinch Contact Pro

Attributes for audio Element

Description

Condition

Define the condition for playing the audio element. Use one of the following options:

  • Use a ready-made condition:

    1. Select the condition from the drop-down list, they are indicated with Condition:.

    2. Select x (and y) from the drop-down list, or write the value, variable or Python statement.

    3. Click OK.

  • Choose a query, status, variable or other statement from the drop-down list, and complete the Python statement. For example, to make a condition that A-number must be 12345, choose a variable {ANUMBER} from the drop-down list and enter == "12345".

  • Enter the whole statement in Python code.

Show All Prompt Types

To show all prompts in the system in the prompt selection field below, choose this checkbox. Otherwise only IVR prompts are shown.

Prompt

Choose the prompt to be played from the list. To add a prompt to the list, record the audio file, import it to the system as a prompt file, and create a prompt in Queue Management.

Prompt Language

Specify the language the prompt is played on. If prompt language is not selected, the call’s language is used. If the call’s language has not been set, the system language is used.

Audio File Expression

For advanced use: Define with a Python expression the prompt file to be played. Define the expression with one of the ways:

  • Use a predefined template:

    1. Select the expression template from the drop-down list.

    2. Select x (and y) from the drop-down list, or write the value, variable or Python statement.

    3. Click OK.

  • Choose a variable from the drop-down list and complete the Python statement, if needed.

  • Enter the whole statement in Python code.

    Note:

    If you define a local path, Python requires that you enter the path in quotes and you must double the backslashes in the path definition. For example "\\\\Server\\Prompts\\EN\\Welcome.wav".

Description*

Enter a description of your element; what is it planned for, its requirements and limitations.

Terminating Digit*

Choose the DTMF digit that users use for terminating the call or recording. This option is not displayed if audio element is nested in menu or field elements.

Audio File Path*

If you use the default central path defined in System Services > Voicemail/Recording/Prompt Settings, choose one of the default paths.

To define other than any of the default paths, choose the option Use Audio File Expression, and define the path with Python expression in Audio File Expression.