VoiceRecordReport

Updated at:

Subscribe to the VoiceRecordReport message to retrieve call recording records after a call ends.

Parameters

Parameter name

Parameter type

Description

call_id

String

The ID of the call.

start_time

String

The time when the call started. This field is empty if the call was not connected.

end_time

String

The time when the call ended. This field is empty if the call was not connected.

duration

String

The duration of the call in seconds. The value is 0 if the call was not connected.

status_code

String

The status code of the call result. For more information, see Call status codes.

smart_status_code

String

The status code of the smart call result. For more information, see Smart status codes.

record_file

String

The URL of the recording file. The URL is valid for 7 days.

out_id

String

The passthrough extension field. The value of this field is the same as the value passed in the API call.

record_begin_time

String

The time when the recording started.

Example request

[
 {
	"duration": 0,
	"start_time": "2023-03-15 16:02:07",
	"status_code": "200005",
	"smart_status_code": "ANSWERED",
	"end_time": "2023-03-15 16:03:07",
	"record_file": "http://aliyuncs.com/Free_record.wav?Expires=****2&OSSAccessKeyId=b****LI&Signature=zqj4****",
	"out_id": "2aqbhgty1***************2",
	"record_begin_time": "2023-03-15 16:02:11",
	"call_id": "1*******5^2*******0"
 }
]