Skip to main content

@wildix/wim-voicebots-client > VoiceBotPipelineSettings

VoiceBotPipelineSettings interface

Signature:

export interface VoiceBotPipelineSettings 

Properties

Property

Modifiers

Type

Description

endCallEnabled?

boolean

(Optional) If enabled the bot can hangup the call.

endCallPhases?

string

(Optional) A list of phases separated by comma, which will end the call matched.

interuptionsEnabled?

boolean

(Optional) If enabled the user can interrupt the the bot playback.

maximumDuration?

number

(Optional) The maximum number of seconds a call will last.

maximumDurationAction?

VoiceBotPipelineTerminateAction

(Optional) An action that should be performed when max duration reached.

silenceTimeout?

number

(Optional) How long to wait before a call is automatically ended due to inactivity.

silenceTimeoutAction?

VoiceBotPipelineTerminateAction

(Optional) An action that should be performed when silence timeout reached.