📜 ⬆️ ⬇️

VAD (Voice Application Designer). Part 2 components (Call Related)



Let's talk about the components that are available in the constructor and at the end a small example of the components described. For convenience, the components are divided into three categories:

1. Call Related (call management)
2. Control Structures
3. Advanced (advanced features
')

Category Call Related .



A set of components that are responsible for managing the call depending on the routing or the DTMF sending from the caller.



And now in order.

Menu

Component selection menu. The basis of the IVR tree, with a choice of buttons used:



Component Settings:




In addition, in the Menu component you need to select sound files for different events:











TimeoutPrompts is a message that is played if no actions have been entered.

User Input

A component that is responsible for the ability to dial an internal number or any other number of digits depending on the task of this component.



Component Settings:





Has a setting for voice messages, a complete analogy as for the component Menu .

Prompt Playback

The component that is responsible for inserting various voice messages with the ability to allow or prohibit character input during file playback.



Component Settings:





Record

The component that is responsible for recording conversations.



Component Settings:








Transfer

The component that is responsible for transferring a call to a specific number or to a buffer or to any other available place where the dialed number is processed:



Component Settings:



You can redirect a call:
  1. Javascript Expression - Java Expression
  2. Variable - options available on the current CallFlow (i.e. all available components on the current workspace are taken into account)
  3. VAD Expression - the expressions used by VAD, the preset expressions:



Disconnect Call

Component call completion.



The component does not have any tweaks, but simply turns on or off.

An example of building a simple IVR menu:



This IVR provides:
1. Incoming call
2. Next, a message that offers either to connect to the "Managers" queue or click on the "2" button to dial the extension number.
3. After pressing the “2” button, the client goes to a separate menu, where he is allowed to dial an internal number, I want to note that in the main menu it is forbidden to dial internal numbers.
4. Further, if he dials the correct internal number, the PBX will connect the client with the internal subscriber, if not the boards, the system will inform you that the client has dialed the wrong internal number and ends the call.
5. If the client has not typed anything, the system will issue a voice message provided for the timeout action.
Here is a simple IVR menu, you can assemble in 5 minutes and make restrictions on dialing a number.

In the next article, I will talk about the capabilities of the components of Control Structures .

Source: https://habr.com/ru/post/266695/


All Articles