(30033) 录音下载完成
录音文件通过 API 异步下载成功时,PBX 会向第三方应用发送一个事件报告。
报告参数
| 参数 | 类型 | 说明 |
|---|---|---|
| type | Integer | 事件 ID。 |
| sn | String | PBX 序列号 (SN 码)。 |
| msg | Object <Recording_Info> | 事件详情。 |
- Recording_Info
-
参数 类型 说明 key String 事件名称。 result String 录音下载结果。 SUCCESS:成功。FAILURE:失败。
file String 录音文件名称。 download_resource_url String 下载录音的 URL。 error String 返回错误信息。
报告示例
{
"type": 30033,
"sn": "3631A2124788",
"msg": {
"key": "recording_download",
"result": "success",
"file": "20250819095658-1755568612.24-2192-2193-Internal.mp3",
"download_resource_url": "/api/downloadattachment/P570-Recording-37.20.0.53-download-20250822182917-Ib9fcemxhk4X1RRj.mp3",
"error": ""
}
}