通用api - 通话记录回调参数说明
通话记录回调参数说明
话单回调需要给对应的账号配置上回调地址即可。
话单的回调地址配置:由客户提供一个可以接收json数据的接口地址,由我们配置或客户自行在后台配置都可以。
通话记录回调数据格式json
{
"id": 263056202,
"companycode": "9513923",
"direction": "callout",
"type": "callout",
"callmethod": 6,
"starttime": "2025-10-16 17:31:13",
"answertime": "",
"endtime": "2025-10-16 17:31:21",
"duration": 8,
"billsec": 0,
"userid": "0",
"memberid": "0",
"chengshudu": "0",
"ext": "0",
"disnumber": "219513923001",
"destnumber": "81351111451",
"extnumber": "",
"recordfilename": "",
"downloadip": "",
"hangupdirection": 10040,
"hangupcause": 10020,
"uuid": "db4a44cc-aa72-11f0-ad78-1d7ff0749d07",
"userkey": "",
"customuuid": "76c33d997640d36b033d43b1d2d3964e",
"taskid": "",
"round": 0,
"recordurl": ""
}
通话记录回调参数说明Call Record Callback Parameter Description
| callmethod | int | |
| starttime | string | |
| answertime | string | |
| endtime | string | |
| duration | int | |
| billsec | int | |
| userid | string | |
| ext | string | |
| chengshudu | string | |
| hangupdirection | int | |
| hangupcause | int | |
| memberid | string | |
| disnumber | string | |
| destnumber | string | |
| downloadip | string | |
| recordfilename | string | |
| companycode | string | |
| type | string | |
| extnumber | string | |
| uuid | string | |
| userkey | string | |
| customuuid | string | |
| taskid | string | |
| round | string | |
| recordurl | string | |