The makeCall function
The makeCall function is used to place a new call to a destination number that is specified on the interface file. This function uses the destination parameter to send the new call request to the CTI server. If the call is successful, then no data is returned from the CTI server. If the make call request is unsuccessful, then the CTI server returns an error to the CTI toolbar.
This function uses the following parameters:
Parameters of the makeCall function
Parameter | Description |
---|---|
destination | The phone number that is used to dial to send the new call request. |
options | The object that holds the additional parameters that are required to complete the request. |
success | The call back function that is invoked on success. |
failure | The call back function that is invoked on failure. |
To send the make call request to the CTI server, copy the function from the interface file and implement it.
Previous topic The holdCall function Next topic The hangUpCall function