Enable callers to select options using their phone keypad.
Setting | Description |
---|---|
Inter-digit timeout (seconds) | How long to wait between key presses before timing out. |
Number of digits expected | How many digits the caller must enter (1–32). |
End key | Optional key (such as # or * ) to signal the end of input. |
Collect data while the agent is speaking | Allow input collection during speech playback. |
Mark collected data as PII | Flag collected values as Personally Identifiable Information. |
discard recording
function to remove the current call’s recording.
discard recording
functiondiscard recording
function is a built-in command that removes the recording for the current call. The call will not recorded or stored.
Property | Description |
---|---|
Purpose | Deletes the audio recording for the current call from the conversation record. |
When to call | Any time during the call except in the end function. |
Arguments | None. |
Effect | The conversation record will show no recording for that call. |
Persistence | This action is irreversible — once discarded, the recording cannot be recovered. |
“This call may be recorded for quality and training purposes. To opt out, press 1.”You can play this message either:
start
function), orstart
function runs. If you want to collect the opt-out keypress before any other audio is played, override the greeting in your start
function with an empty string. start
function runs. If your start
function plays a greeting, that greeting will play before DTMF capture begins.
If you need DTMF input collected before any greeting plays, override the greeting by setting it to an empty string in the start
function.
“This call may be recorded. To opt out, press 1. How can I help you today?” and still capture the caller’s keypress while they hear the welcome message.