The sendDTMF function
The sendDTMF function is used to send DTMF tones while the call is put on hold. If the request is unsuccessful, then the CTI server will return an error to the CTI toolbar.
This function uses the following parameters:
Parameters of the sendDTMF function
Parameter | Description |
---|---|
callId | The call identifier that is used to answer the call. |
digits | The string of tones that are sent while the call is put on hold. |
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 send DTMF tone request to the CTI server, copy the function from the interface file and implement it.
Previous topic The retrieveCall function Next topic Advanced call control functions