XML: <Record>

The Record verb allows call recording. At the end of the call, a call recording event containing the media with recorded audio URL is generated.


requestUrl (optional) Absolute URL to send event and request new BXML.
requestUrlTimeout (optional) The time in milliseconds to wait for requestUrl response.
fileFormat (optional) The format that the recording will be saved - mp3 or wav.
transcribe (optional) A boolean value to indicate that recording must be transcribed.
Default is false.If transcription is requested, the only supported file format is wav. mp3 file format is not supported.
transcribeCallbackUrl Absolute URL to send transcribed event. Required if the transcribe attribute is set to true.

Callbacks Recevied

Callbacks Can reply with more BXML
Recording No
Transcription No

Example: Recording Verb

This shows how to use Bandwidth XML record a phone call.

<?xml version="1.0" encoding="UTF-8"?>


<SpeakSentence voice="paul" gender="male" locale="en_US">Recording your call</SpeakSentence>


<Record requestUrl="https://record.url.server/record" transcribe="true" transcribeCallbackUrl="https://transcribe.url/result"/ >


results matching ""

    No results matching ""