Bandwidth.Resources.Calls.DTMF
Perform DTMF-related actions for a specific call.
Summary↑
send(client, call_id, dtmf \\ %{}) | Send DTMF (phone keypad digit presses) |
Functions
Specs:
- send(Client.t, binary, Map.t) :: Client.response
Send DTMF (phone keypad digit presses).
Example:
case Bandwidth.Resources.Calls.DTMF.send(client, "some-call-id", %{ dtmfOut: "1234" }) do
{:ok, {200, _, _}} -> IO.puts "DTMF sent"
{:error, reason} -> IO.puts "Error: #{reason}"
end