All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bandwidth.voice.bxml.verbs.SendDtmf Maven / Gradle / Ivy

Go to download

The official client SDK for Bandwidth's Voice, Messaging, MFA, and WebRTC APIs

There is a newer version: 12.0.1
Show newest version

package com.bandwidth.voice.bxml.verbs;

import lombok.Builder;

import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.XmlAttribute;

/**
 * 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.
  • *
*/ @Builder @XmlType(name = SendDtmf.TYPE_NAME) public class SendDtmf implements Verb { public static final String TYPE_NAME = "SendDtmf"; @XmlValue private String digits; /** * (optional) The length (in milliseconds) of each DTMF tone. Default value is * 200. Range: decimal values between 50 - 5000. */ @XmlAttribute private Double toneDuration; /** * (optional) The duration of silence (in milliseconds) following each DTMF * tone. Default value is 400. Range: decimal values between 50 - 5000. */ @XmlAttribute private Double toneInterval; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy