参数 | 说明 | 类型 |
---|---|---|
callId | 呼叫id,调用话机接口返回值可与此值关联(仅调用话机接口生成的通话记录有值) | String |
callSessionId | 会话id,记录唯一ID | String |
called | 被叫号码 | String |
calledInfo | 被叫信息 | String |
caller | 主叫 | String |
ccode | 国家码 | String |
ccodeName | 国家名称 | String |
agentName | 坐席名称 | String |
agentGroupName | 坐席组名称 | String |
callDuration | 通话时长(秒) | Int |
callType | 呼叫类型,1-群呼转坐席,2-呼入,3-呼出 | Int |
hangupCode | sip code | String |
hangupReason | 挂机原因,0-呼出未接听,1-呼出被挂断,2-转接响铃挂断,3-转接成功挂断,4-呼叫异常,5-被叫运营商暂无服务,6-被叫不在服务区,7-被叫忙线,8-呼入未接听,9-呼入被挂断 | Int |
hangingDirection | 挂断方向,0-客户挂断,1-坐席挂断,3-系统挂断 | Int |
labels | 标签名称 | Array[String] |
remark | 备注 | String |
callStartTime | 呼叫开始时间,格式:yyyy-MM-dd HH:mm:ss | String |
answerTime | 接听时间,格式:yyyy-MM-dd HH:mm:ss | String |
callEndTime | 呼叫结束时间,格式:yyyy-MM-dd HH:mm:ss | String |
voiceUrl | 录音URL | String |
Request URL:
用户配置的http推送地址
Request Method:
POST
Request Headers:
Content-Type: application/json;charset=UTF-8
Request Body:
{
"agentGroupName":"TAOTAO",
"agentName":"0705C049_053",
"answerTime":"2023-11-17 13:42:33",
"callDuration":15,
"callEndTime":"2023-11-17 13:42:48",
"callSessionId":"23111713424802472",
"callId":"23111714122312000001",
"callStartTime":"2023-11-17 13:42:30",
"callType":3,
"called":"918613237978737",
"caller":"91778800001",
"ccode":"91",
"hangingDirection":1,
"hangupReason":1,
"labels":[
"意向客户",
"级别高"
],
"remark":"",
"voiceUrl":"https://prod-itnio-cc-s3.itniotech.com/agent-call-record-231117/23111713424802472.wav"
}