Record Caller

About Record Caller

Record the media stream, sending it to a configured URL on call completion.

Schema

Record the caller’s audio stream

KeyDescriptionTypeDefaultRequiredSupport Level
formatWhat format to store the recording on diskstring('mp3' | 'wav')false
media_idDoc ID of the created recording - if unspecified, 2600Hz will generate onestring()false
media_namethe name of mediastring()false
methodHTTP verb to use when sending the recording to the supplied URLstring('put' | 'post')putfalse
originHow the recording was startedstring()false
record_min_secThe minimum length, in seconds, the recording must be to be considered successful. Otherwise it is deletedinteger()false
record_on_answerWhether to delay the recording until the channel is answeredboolean()falsefalse
record_on_bridgeWhether to delay the recording until the channel is bridgedboolean()falsefalse
record_sample_rateWhat sampling rate to use on the recordinginteger()false
should_follow_transferIf true, the recording will continue after a transfer on the active legboolean()truefalse
silence_detectionWhether to stop the recording if no speech is detected for a period of time. When silence is detected, a timer will start, see silence_final_timeout and silence_initial_timeout.boolean()false
silence_final_timeoutThe timeout in milliseconds to stop the recording when silence is detected. This timeout is different from initial timeout in that in final timeout the speech is already detected since the recording is started.integer()5false
silence_initial_timeoutThe timeout in milliseconds to stop the recording when silence is detected and no speech is detected since the start of recordinginteger()0false
silence_thresholdThe energy level below which is considered silence.integer()200false
skip_moduleWhen set to true this callflow action is skipped, advancing to the wildcard branch (if any)boolean()false
time_limitTime limit, in seconds, for the recordinginteger(5..10800)3600false
urlThe URL to use when sending the recording for storagestring(5..)false