action for the initial recording event and callbackUrl for the completed recording event and ready file information.
Attributes
Parameters sent to the action URL
Vobiz requestsaction near the start of recording. The request includes the standard call parameters and the recording identifier.
Other recording fields may be absent or incomplete in the action request. Do not use this request as proof that recording has finished or that the file is ready.
Parameters sent to the callback URL
Vobiz sendsEvent=RecordStop to callbackUrl after recording finishes. Use this request for completed recording metadata.
Possible
RecordingEndReason values include:
RecordingTimeout: silence reached the configuredtimeoutmaxLength: recording reached the configuredmaxLengthFinishedOnKey: the caller pressed a configuredfinishOnKeyHungUp: the call ended
Parameters sent to the transcription URL
Examples
Record a voicemail message
Speak a prompt, then record until the caller stays silent, presses a key, or hitsmaxLength. See Record a voicemail.
Record the entire call session
SetrecordSession="true" to capture the full call (including subsequent Speak, Play, and bridged audio). The recording ends when the call hangs up.
<Record/> before <Dial> so whole-session recording starts before the bridge. The final RecordStop callback includes the completed duration and recording file information.
Record the answered leg of an outbound dial
NestRecord with startOnDialAnswer="true" so recording begins only once the called party answers.
Completed recording webhook sent to callbackUrl
After recording ends, Vobiz postsRecordStop, the standard call parameters, and final recording metadata to callbackUrl. Use action only for the earlier recording event and RecordingID.
Completed recording
Edge cases and tips
timeoutvsmaxLength.timeoutends the recording after a stretch of silence (default 60 s) and is not a total cap.maxLengthis the hard ceiling on recording length (default 60 s). SetmaxLengthgenerously for voicemails so callers are not cut off mid-sentence. TheRecordingEndReasonparameter tells you which limit fired (RecordingTimeout,maxLength,FinishedOnKey, orHungUp).actionandcallbackUrlserve different stages.actionreceives the initial recording event and identifier.callbackUrlfires after recording stops with final duration and file information. ArecordSession="true"flow can usecallbackUrlwithoutaction.- Use the completion callback for the file. Process or download the recording after
callbackUrlreceivesRecordStopwithRecordFileorRecordUrl. finishOnKeydefaults to all keys. By default any of1234567890*#stops the recording. Narrow it (for examplefinishOnKey="#") if callers might press other digits during their message.recordSessionvs a standaloneRecord. UserecordSession="true"to capture the whole call for compliance; use a standaloneRecordelement to capture a single message (voicemail) and then continue the flow.- Compliance. Announce recording before it starts where required by law (for example, two-party-consent jurisdictions and TRAI rules in India). Use a
Speak/PlaybeforeRecordor setplayBeep="true".