Skip to main content

Predictive outbound - Callback data description

Callback data description

illustrate:

After the pre-test outbound task starts, the system will call the corresponding number according to the parameters passed in when creating the task. When the target number is connected, the system will assign the user to the task group according to the busy status of the agents in the task group to which the task belongs Among the free agent extensions in , the corresponding extension will ring (at this time, the extension ringing status callback data will be sent to the extension status callback address configured in the background), and when the customer service personnel answer (the extension status callback address configured in the background will be sent to After sending extension answering status callback data) and then hanging up (at this time, the extension hangup status callback data will be sent to the extension status callback address configured in the background), the system will send bill callback data to the bill push callback address configured in the background.
The callback method is to submit a form-data form to the callback address, the field name is detail, and the value is a json string

Example of extension status callback data

{
    "buuid":"9c6f2092-6aad-11eb-a1b9-5107cdf1d50a",
    "callee":"89683227899",
    "caller":"20280005",
    "companycode":"2028",
    "direction":"callout",
    "disnumber":"2120280001",
    "extnumber":"20280005",
    "isbleg":"true",
    "method":"2",
    "starttime":"1612857945",
    "status":"ring",
    "type":"call",
    "uuid":"9c568ac8-6aad-11eb-a1b3-5107cdf1d50a"
}

field description

field type illustrate
buuid string Unique id on side B
callee string Called number (user number)
caller string Call Number (extension)
companycode string company code
direction string Call direction callin incoming call, callout outgoing call
disnumber string display number
extnumber string Ext
isbleg string Is it B side
method string Call mode, 1 extension, 2 manual, 3 interface, 4 double call, 5 prediction
starttime string call start time
status string Extension status ring ringing answer answer hangup hangup
type string call
uuid string call unique id

Callback Data Example

{
    "type":"callout",
    "callmethod":6,
    "starttime":"2021-02-09 10:00:03",
    "answertime":"",
    "endtime":"2021-02-09 10:00:15",
    "duration":12,
    "billsec":0,
    "crmid":"0",
    "memberid":"0",
    "chengshudu":"0",
    "disnumber":"211040260001",
    "destnumber":"81211623586",
    "extnumber":"000000",
    "recordfilename":"",
    "downloadip":"",
    "hangupdirection":10040,
    "hangupcause":10020,
    "companycode":"104026",
    "uuid":"863ff91e-6a7a-11eb-acf1-5107cdf1d50a",
    "userkey":"",
    "customuuid":"110001475"
}

field description

field type illustrate
type string call method
callmethod int call method
starttime string call time
answertime string answering time
endtime string Hang up time
duration int waiting time
billsec int call time
crmid string agent id
memberid string Custom parameters
chengshudu string Custom parameters
disnumber string calling number
destnumber string target number
extnumber string Ext
recordfilename string call file name
downloadip string download ip
hangupdirection int hang up directions
hangupcause int hang up reason
companycode string company code
uuid string call unique id
userkey string user button
customuuid string Custom parameters