使用者配置的HTTP推送位址
參數 | 説明 | 類型 |
---|---|---|
voiceId | 記錄唯一id | String |
type | 業務類型:1-群呼,2-驗證碼,3-話機通話,4-話機直撥 | Int |
callee | 被叫號碼 | String |
displayNum | 顯示號碼 | String |
submitTime | 提交時間(毫秒時間戳) | long |
callTime | 撥號時間(毫秒時間戳) | long |
ringingTime | 響鈴時間(毫秒時間戳) | long |
answerTime | 接聽時間(毫秒時間戳) | long |
hangupTime | 掛斷時間(毫秒時間戳) | long |
callDuration | 通話時長(秒) | Int |
chargedDuration | 計費時長(秒) | Int |
billPeriod | 計費週期:20+20,60+60 | String |
code | 地區運營商 | String |
voiceFileId | 語音檔id | String |
rate | 費率(報價幣種) | String |
baseCost | 基礎費用(美元) | String |
cost | 消費金額(報價幣種) | String |
terminationCode | sip code,200代表成功建立通話 | String |
terminationReason | 狀態碼描述 | String |
sipCode | sip碼 | String |
feedbackValue | 按鍵 | String |
calledInfo | 被叫資訊,0-1000位字符 | String |
ringDuration | 響鈴時長 | String |
currency | 報價幣種,EUR/USD(報價幣種非美金時有值) | String |
settleRate | 本幣費率(報價幣種非美金時有值) | String |
quoteExchange | 客戶側報價匯率(報價幣種非美金時有值) | String |
settlePay | 本幣消費金額(報價幣種非美金時有值) | String |
Request URL:
使用者配置的HTTP推送位址
Request Method:
POST
Request Headers:
Content-Type: application/json;charset=UTF-8
Request Body:
{
"voiceId": "22121121451211349002",
"type": 1,
"callee": "63123456788",
"displayNum": "6311012125",
"submitTime": 1670939112097,
"callTime": 1670939568000,
"ringingTime": 1670939570000,
"answerTime": 1670939582000,
"hangupTime": 1670939595000,
"chargedDuration": 20,
"callDuration": 13,
"billPeriod": "20+20",
"code": "India(Karnataka)",
"voiceFileId": "12043042052c5b61378df42324286fe4a4ace40ve.mp3",
"rate": "0.023625",
"baseCost": "0.0",
"costEur": "0.007875",
"terminationCode": "200",
"terminationReason": "Called hang up",
"sipCode":"200",
"cost": "0.2",
"feedbackValue":"0",
"calledInfo":"calledInfo",
"ringDuration":1,
"currency":"EUR",
"settleRate": "1.2793",
"quoteExchange": "0.938",
"settlePay":"1.2793"
}
點擊此處開啟人工服務