XML: <SendDtmf>

The SendDtmf verb is used to play DTMF digits in the call.

  • The , and lowercase w characters introduce a half-second pause into the DTMF sequence.
  • An uppercase W character introduces a one-second pause into the DTMF sequence.
  • *, #, a-d, and A-D are also supported in addition to the numeric characters 0-9.


ATTRIBUTE Description
None None

Text Content

Name Description
digits String containing the DTMF characters to be sent in a call. Allows a maximum of 50 characters. The digits will be sent one-by-one with a marginal delay.

Callbacks Received


Example 1 of 1: PlayAudio Verb

This shows how to use Bandwidth XML to play 1, 2, pause, 3, 4 on a call.

<?xml version="1.0" encoding="UTF-8"?>
Response response = new Response();

SendDtmf sendDtmf = new SendDtmf();
sendDtmf.Digits = "12w34";


response = Bandwidth::Voice::Response.new()
send_dtmf = Bandwidth::Voice::SendDtmf.new({
    :dtmf => "12w34"

puts response.to_bxml()
response = Response()
send_dtmf = SendDtmf("12w34")


results matching ""

    No results matching ""