Skip to main content

Common API - Extension call state callback parameters

Extension call state callback parameters

To call back the call status of an extension, you need to configure a callback address for the corresponding account. Callback address configuration for extension call status: The customer provides an interface address that can receive json data, which can be configured by us or by the customer in the background.

Extension call status callback data format

{
"buuid":"526d643a-e8fe-11ea-a84a-cf6e45e88543",
"callee":"87847569524",
"caller":"90240005",
"companycode":"9024",
"customuuid":"123Abc",
"direction":"callout",
"disnumber":"2190240001",
"extnumber":"90240005",
"isbleg":"false",
"method":"3",
"starttime":"1598598959",
"status":"ring",
"type":"call",
"uuid":"526d637c-e8fe-11ea-a849-cf6e45e88543"
}

Explanation of extension call status callback parameters

parameter name type illustrate
buuid string The uuid of the called number on side b of the call
callee int called number
caller int calling number
companycode int The company id corresponding to the account
customuuid string Custom parameter - customer id
direction string Call direction: 1. Incoming; 2. Outgoing;
disnumber int Destination number to call
extnumber int Ext
isbleg string true is ringing on the mobile phone side; false is ringing on the seat side;
method string Call method: 0, unlimited; 1, mutual extension dial; 2, extension direct dial; 3, API call (default); 4, API double call; 5, predictive outbound call; 6, IVR/group call.
starttime string call time
status string call type
type string call type
uuid string call uuid