Skip to main content

通用api - 通话记录回调参数说明

{
    "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

Parameter Name Type Description
callmethod int Calling method: 0, Unrestricted; 1, Extension inter-dial; 2, Extension direct dial (manual); 3, API call (default); 4, API dual call; 5, Predictive dialing; 6, IVR/Group call.
starttime string Calling time
answertime string Answer time
endtime string Call end time
duration int Call waiting duration
billsec int Call duration
userid string Employee ID
ext string Custom parameter - Extended parameter
chengshudu string Custom parameter - Value and ext are the same
hangupdirection int Hang-up direction
hangupcause int Hangup cause code
memberid string Custom parameter - Member ID
disnumber string Calling number
destnumber string Called number
downloadip string Recording download IP
recordfilename string Recording file name
companycode string Company ID
type string Call type
extnumber string Extension number
uuid string Call UUID
userkey string User key
customuuid string Custom parameter - Customer ID
taskid string Task ID
round string Call Round
recordurl string Audio Recording Download URL