SIGN UP
Navigation

IVRSettings

IVR menu state settings

Properties

Number inputLength

For inputfixed - length of desired input

Function inputValidator

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

Object nextState

Next state to go - for noinput state type

Object nextStates

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

IVRPrompt prompt

Prompt settings

String terminateOn

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

Number timeout

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

String type

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