IVRState
Represents an IVR menu state. Add the following line to your scenario code to use the interface:
require(Modules.IVR);
Constructors
constructor
Parameters
name:
string
State name.
settings:
IVR menu state settings.
onInputComplete:
Function
Function to be called after a user correctly provides input. User input should be passed as an argument.
onInputTimeout:
Function
Function to be called in case of input timeout. User input should be passed as an argument.
Props
input
input: string
This property is set when IVR leaves the specific state and holds user input