- DarkLight
Make a Call
- DarkLight
Overview
This API allows a user to make a call. To make a call, a new Dialog object is created. This object specifies the fromAddress (the caller's extension) and the toAddress (the destination target). The new Dialog object is posted to the Dialog collection for that user. The user can also use this API to pass call variables with the MAKE_CALL request. The API supports 10 call variables (call variable 1 through call variable 10) and ECC variables. You cannot pass BA variables or wrap-up reasons with the request.
Pre-requisite
The Agent must be in the Ready state.
Sequence Diagram

Message Structure
Request Parameters | Value |
|---|---|
channel | Cisco |
topic | InboundCall |
subtopic | SetMakeCall |
source | «app-name-broadcasting-this-message» |
data | «JSON Object» |
Data Parameters
Parameter | Data Type | Description | Sample Value |
|---|---|---|---|
toAddress | String | The destination number for the call. | 961084524 |
Sample Request
{ "channel": "Cisco",
"topic": "InboundCall",
"subtopic": "SetMakeCall",
"data": {
"ToAddress ": "961084524"
}
}Sample Response
No sample response