You can subscribe to AlicomAgentCallRecord messages using Message Service (MNS). After a call ends, you can retrieve the file name, download URL, and other information for the call recording.
Return parameters
Parameter name | Parameter Type | Example | Description |
callId | String | 10000161****^1000018**** | The call ID. |
duration | Integer | 125 | The duration of the call in seconds. |
endTime | String | 2025-05-22 12:31:31 | The time when the call ended. The format is yyyy-MM-dd HH:mm:ss. |
recordFile | String | http://alicom-fc-record-biz.cn-hangzhou.oss.aliyuncs.com/********** | The URL of the recording file. Note The recording URL is valid for 7 days. |
startTime | String | 2025-05-22 12:29:20 | The time when the call started. The format is yyyy-MM-dd HH:mm:ss. |
taskId | String | 1181************** | The task ID. |
detailId | String | 9662************* | The detail ID. |
batchId | String | B202****** | The batch ID. |
outId | String | 123456 | If you provide an outId, this field returns that ID. |