转接第三方坐席挂断事件
更新时间: 2021/12/15 02:21:44
转接第三方坐席挂断事件
描述:转接第三方坐席挂断,会触发此事件通知给业务方
URL
- 请求方法:POST
- 业务方URL:
http://xxx.xxx.xxx/xxx
HTTP请求头参数
- 详见回调鉴权
请求体参数
参数名称 | 类型 | 示例 | 描述 |
appId | String | eca23f68c66d4acfceee77c200200359 | 应用ID。 |
channel | String | eca23f68c66d4acfceee77c245343534 | 坐席会话id。 |
callId | String | eca23f68c66d4acfceee77c245343534 | 会话session ID。 |
seatId | string | 123 | 业务方坐席id。 |
code | int | 5 | 5:响铃 6:接听。 |
funcType | string | 0 | 功能类型. 0: 普通呼叫, 1: 智能呼叫。 |
startTime | string | 通话开始时间。 | |
endTime | string | 通话结束时间。 | |
ringTime | string | 通话响铃时间。 | |
answerTime | string | 通话接起时间。 | |
duration | string | 通话持续时间。 | |
recordUrl | string | https://xxx.xxx.xxx/xx.wav | 录音文件地址。 |
conferenceId | string | 123456 | 会议id。 |
data | string | 我是透传数据 | 透传数据。 |
eventType | string | otherhangup | 转接第三方坐席挂断事件。 |
请求示例
{
"appId": "6cb256b10fa45a066605363fc01e2a96",
"channel": "dfsad10fa45a066605363ewqewq",
"callId": "ewtrgfdsd32324fds",
"seatId": "15700084166",
"code": 5,
"funcType": 0,
"startTime": 0,
"endTime": 0,
"ringTime": 0,
"answerTime": 0,
"duration": 0,
"recordUrl": "https://xxx.xxx.xxx/xx.wav",
"conferenceId": 123456,
"data":"data",
"eventType": "otherhangup"
}
正常返回示例
HTTP成功200
此文档是否对你有帮助?