SIGN UP

IVRSettings

IVR menu state settings

Properties

inputLength

inputLength: Number

For inputfixed - length of desired input

inputValidator

inputValidator: Function

For inputunknown states - function that returns whether input is complete or not (input is passed as string)

nextState

nextState: Object

Next state to go - for noinput state type

nextStates

nextStates: Object

For select type, map of IVR states to go to according to user input. If there is no next state for specific input, o onInutComplete is invoked

prompt

prompt: IVRPrompt

Prompt settings

terminateOn

terminateOn: String

When this digit is entered in inputunknown mode, input is considered to be complete

timeout

timeout: Number

Timeout in milliseconds for user input. The default value is 5000 ms

type

type: String

Menu type. Possible values: select, inputfixed, inputunknown, noinput