The StartRecording verb allows a segment of a call to be recorded while other verbs are executing.
|recordingAvailableUrl||(optional) URL to send the Recording Available event to once it has been processed. Does not accept BXML.|
|recordingAvailableMethod||(optional) The HTTP method to use for the request to
|username||(optional) The username to send in the HTTP request to
|password||(optional) The password to send in the HTTP request to
|tag||(optional) A custom string that will be sent with this and all future callbacks unless overwritten by a future
May be cleared by setting
Max length 256 characters.
|fileFormat||(optional) The audio format that the recording will be saved as:
|multiChannel||(optional) A boolean value indicating whether or not the recording file should separate each side of the call into its own audio channel. Default value is
recordingAvailableUrl attribute is specified, then the Recording Available
event is sent to the URL once the recording is available for download, indicating the
mediaUrl and if there was any issue processing the recording.
BXML returned in response to this callback will be ignored.
|Callbacks||Can reply with more BXML|
Example 1 of 1: Recording of a call
This shows how to use Bandwidth XML to record a phone call.
"1.0" encoding="UTF-8" xml version=<Response> <SpeakSentence voice="bridget">This call is being recorded. Please wait while we transfer you.</SpeakSentence> <StartRecording recordingAvailableUrl="https://myapp.com/noBXML"/> <Transfer> <PhoneNumber>+15554567892</PhoneNumber> </Transfer> <StopRecording/> <SpeakSentence voice="bridget">Thanks for your call. Have a nice day!</SpeakSentence> </Response>
//coming soon ;
# coming soon