说明: 查询指定话机记录信息(最近两个月内)。
参数 | 说明 | 是否必填 | 类型 |
---|---|---|---|
voiceId |
记录唯一id |
是 |
String |
https://api.onbuka.com/v3/voice/recordSip/{voiceId}
RequestURL:
https://api.onbuka.com/v3/voice/recordSip/{voiceId}
RequestMethod:
GET
RequestHeaders:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
参数 | 说明 | 类型 |
---|---|---|
status |
状态码,0成功,其他失败参见状态码说明 |
String |
reason |
失败原因说明 |
String |
data |
记录详情 |
JSONObject |
voiceId |
记录唯一id |
String |
sipGroupName |
话机组名称 |
String |
phoneName |
话机名称 |
String |
callee |
被叫号码 |
String |
displayNum |
显示号码 |
String |
code |
地区运营商 |
String |
submitTime |
提交时间 |
String |
callTime |
呼叫时间 |
String |
ringingTime |
响铃时间 |
String |
answerTime |
接听时间 |
String |
hangupTime |
挂断时间 |
String |
callDuration |
通话时长(秒) |
Int |
chargedDuration |
计费时长(秒) |
Int |
terminationCode |
sip code,200代表成功建立通话 |
String |
terminationReason |
状态码描述 |
String |
costEur |
消费金额(€) |
String |
billPeriod |
计费周期:20+20,60+60 |
String |
rate |
费率(€) |
String |
recordingFileId |
录音文件唯一id |
String |
{
"status": "0",
"reason": "success",
"data":{
"voiceId": "2203031113381000002",
"sipGroupName": "group1",
"phoneName": "sipName8555",
"callee": "8613500000000",
"displayNum": "1008122211",
"code": "Afghanistan(Kandahar)",
"submitTime": "2022-02-18T14:42:40+08:00",
"callTime": "2022-02-18T14:42:45+08:00",
"ringingTime": "2022-02-18T14:42:47+08:00",
"answerTime": "2022-02-18T14:42:50+08:00",
"hangupTime": "2022-02-18T14:42:55+08:00",
"callDuration": 5,
"chargedDuration": 5,
"terminationCode": "200",
"terminationReason": "success",
"costEur": "2",
"billPeriod": "20+20",
"rate": "1.2",
"recordingFileId": "3e2f0781-9642-40ec-8bbe-df35abec72d4"
}
}