Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.54 KB

RecordUtterance.md

File metadata and controls

30 lines (24 loc) · 1.54 KB

Freeclimb::RecordUtterance

Properties

Name Type Description Notes
action_url String URL to which information on the completed recording is submitted. The PerCL received in response is then used to continue with Call processing.
silence_timeout_ms Integer Interval of silence that should elapse before ending the recording. [optional]
finish_on_key String Key that triggers the end of the recording. any digit, '#', or '*' [optional]
max_length_sec Integer Maximum length for the command execution in seconds. [optional]
play_beep Boolean Indicates whether to play a beep sound before the start of the recording. If set to `false`, no beep is played. [optional]
auto_start Boolean If `false`, recording begins immediately after the RecordUtterance command is processed. If `true`, recording begins when audio is present and if audio begins before the `maxLengthSec` timeout. If no audio begins before `maxLengthSec`, no recording is generated. [optional]
privacy_mode Boolean Parameter `privacyMode` will not log the `text` as required by PCI compliance. [optional]

Example

require 'freeclimb'

instance = Freeclimb::RecordUtterance.new(
  action_url: null,
  silence_timeout_ms: null,
  finish_on_key: null,
  max_length_sec: null,
  play_beep: null,
  auto_start: null,
  privacy_mode: null
)