Home Support SMS API

Get Voice Report Pushed by BUKA Platform

Description: After our operators configure the customer's HTTP push address, the platform will generates a status report on the voice bill and actively pushes it to the corresponding address of the customer.

Push parameters description:

Parameters Description Type

voiceId

Record unique ID

String

type

Service type: 1-group call, 2-verification code, 3-telephone call, 4-telephone direct dialing

Int

callee

Called number

String

displayNum

Display number

String

submitTime

Submission time (millisecond timestamp)

long

callTime

Call time (millisecond timestamp)

long

ringingTime

Ring time (millisecond timestamp)

long

answerTime

Answer Time(millisecond timestamp)

long

hangupTime

Hang up time (millisecond timestamp)

long

callDuration

Call duration (seconds)

Int

chargedDuration

Billing duration (seconds)

Int

billPeriod

Billing cycle: 20+20, 60+60

String

code

Regional operators

String

voiceFileId

Voice file ID

String

rate

Rate(Currency of quotation)

String

baseCost

Base Cost(Currency of quotation)

String

costEur

Cost Eur(€)

String

terminationCode

Sip code, 200 means the call is successfully established

String

terminationReason

Status code description

String

calledInfo

Called information, 0-1000 characters.

String

cost

Consumption amount(Currency of quotation)

String

sipCode

Sip code

String

feedbackValue

Button feedback (-1: nothing, non-1: button)

String

ringDuration

Ringing duration

String

currency

Quoted currency, EUR/USD (valued when the quoted currency is not USD)

String

settleRate

Local currency rate (valued when the quoted currency is not USD)

String

quoteExchange

Client-side quoted exchange rate (valued when the quoted currency is not USD)

String

settlePay

Consumption amount in local currency (valued when the quoted currency is not USD)

String

Push URL:

                    
                      user configured HTTP push address
                    
                  

Push Sample:

                    
                      	Request URL:
							User configured HTTP push address
						Request Method:
							POST
						Request Headers:
						User-Agent: Java/1.8.0_232
							Content-Type: application/json;charset=UTF-8
						Request Body:
						{
							"voiceId":"12205181141482000029",
							"type":1,
							"callee":"63123456788",
							"displayNum":"6311012125",
							"submitTime":1652845308038,
							"callTime":1652845308353,
							"ringingTime":1652845308353,
							"answerTime":1652845308353,
							"hangupTime":1652845308353,
							"callDuration":0,
							"chargedDuration":0,
							"billPeriod":"20+20",
							"code":"India(Karnataka)",
							"voiceFileId":"220220518a35e5dbc3037464bbea64a6a95dae0c8.mp3",
							"rate":"0.82",
							"baseCost":"1.0",
							"costEur":"1.0",
							"terminationCode":"200",
							"terminationReason":"Call failed",
							"calledInfo":"calledInfo",
						    "cost": "0.007875",
						    "sipCode":"200",
						    "feedbackValue":"0",
						    "ringDuration":1,
						    "currency":"EUR",
							"settleRate": "1.2793",
							"quoteExchange": "0.938",
							"settlePay":"1.2793"
						}

                    
                  

Response Sample:

                    
                      HTTP response 200 is successful, and the platform does not verify the response content
                    
                  
 

Previous Topic: Recording File Deletion
Next Topic: BUKA SDK

Feedback

0/500

Need help?

Click here and start chatting with us!