Sending DTMF by an employee
| Method |
send.dtmf |
| API version |
v4.0 |
| Description |
Sending DTMF by an employee. Method Used if there is an IVR on the client side and you need to select a menu item in it. |
| Return to list of methods |
Request parameters
| Title |
Type |
Required |
Valid values |
Description |
| access_token |
string |
yes |
|
Authentication session key |
| call_session_id |
number |
yes |
|
A unique call session identifier that can be received in a response message when calling the start.informer_call, start.vnumber_call, start.scenario_call, start.employee_call methods using the notification server or DATA API. |
| dtmf_string |
string |
yes |
0-9, *, # |
Specifies the DTMF that will be sent to the subscriber specified in the contact parameter. In case of an outgoing call from a virtual PBX to the called subscriber. DTMF sending is only possible with single characters. It is also possible to call configured talk options. For outgoing calls, talk options become available after 30 seconds. |
Example request```json
{
"jsonrpc": "2.0",
"method": "send.dtmf",
"id": "req1",
"params": {
"access_token": "2fRN4g217ca0b4224a67988aff3e584f91964a692045415f36fa66146f5a3c1ae1f6093d",
"call_session_id": 27934036,
"dtmf_string": "1"
}
}
#### Sample answer```json
{
"jsonrpc": "2.0",
"id": "req1",
"result": {
"data": {
"success": "true"
}
}
}