Common API - call record callback parameters
call record callback parameters
Bill callback needs to be configured with a callback address for the corresponding account. Callback address configuration of bills: The customer provides an interface address that can receive json data, which can be configured by us or configured by the customer in the background.
Call record callback data format json
{
"callmethod": 3,
"starttime": "2018-03-14 12:18:21",
"answertime": "",
"endtime": "2018-03-14 12:18:35",
"duration": 14,
"billsec": 0,
"crmid": "2001",
"hangupdirection": 10015,
"chengshudu": "0",
"hangupcause": 10001,
"memberid": "18533700187590656",
"disnumber": "02566823420",
"destnumber": "015029913692",
"downloadip": "120.76.152.137",
"recordfilename": "",
"companycode": 20000013,
"type": "callout",
"id": 982,
"extnumber": "7003"
"uuid": "cda5c6c4-0a17-11e8-b177-e7cbf2bd1f36"
"userkey":1
"customuuid": "customuuid"
}
Description of Call Record Callback Parameters
parameter name | type | illustrate |
---|---|---|
callmethod | int | Call method: 0, unlimited; 1, mutual extension dial; 2, extension direct dial (manual dial); 3, API call (default); 4, API double call; 5, predictive outbound call; 6, IVR/group call . |
starttime | string | call time |
answertime | string | response time |
endtime | string | call end time |
duration | int | call waiting time |
billsec | int | call time |
crmid | string | employee number |
hangupdirection | int | On-hook direction |
chengshudu | string | Custom Parameters - Maturity |
hangupcause | int | Hangup Reason 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 | Ext |
uuid | string | call uuid |
userkey | string | user button |
customuuid | string | Custom parameter - customer id |