Maintenance Notice - PDF Generation
Dynamic PDF generation for web-based content is temporarily unavailable. This maintenance affects dynamic PDF files that are generated from either the HTML-based page or manual that you are viewing. Links that normally allow this functionality have been hidden, and will reappear as soon as the feature is restored.


Note: Access to static files, including PDF files that are not dynamically generated from our web-based content, is unaffected.

Jump to: navigation, search

Dual-Tone Multi Frequency

Also known as DTMF. A signaling system that sends pairs of audio frequencies to represent digits on a telephone keypad. Often, it is used interchangeably with the term Touchtone (an AT&T trademark).



Glossary

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

SendDTMF

This operation is part of the Voice API section of the Web Services API.

Overview

Sends the provided DTMF digits. You can send DTMF digits individually with multiple requests or together with multiple digits in one request.

Important
If your solution uses SIP Server, you might need to set the sip-dtmf-send-rtp option to true for this request to succeed. Consult the SIP Server documentation for details.
Request URL /api/v2/me/calls/{id}
HTTP method POST
Required features api-voice

Parameters

Parameter Value
operationName SendDtmf
digits A string consisting of one or more digits (0-9).

Sample

Request

POST api/v2/me/calls/012PUFMMS0ASNAK48O7GK2LAES00000J
{
  "operationName": "SendDtmf",
  "digits": "5"
}

HTTP response

{
  "statusCode": 0
}

CometD notification

{  
   "data":{  
      "notificationType":"DtmfSent",
      "call":{  
         "id":"012PUFMMS0ASNAK48O7GK2LAES00000J",
         "state":"Established",
         "callUuid":"012PUFMMS0ASNAK48O7GK2LAES00000J",
         "connId":"007102719260b013",
         "deviceUri":"http://127.0.0.1:8080/api/v2/devices/631608b3-ceb1-472b-ba05-2ae39555b0d1",
         "participants":[  
            {  
               "e164Number":"",
               "formattedPhoneNumber":"15001",
               "phoneNumber":"15001",
               "digits":"15001"
            }
         ],
         "dnis":"15000",
         "callType":"Internal",
         "capabilities":[  
            "SingleStepTransfer",
            "InitiateConference",
            "Hold",
            "SingleStepConference",
            "InitiateTransfer",
            "SendDtmf",
            "DeleteUserData",
            "AttachUserData",
            "DeleteUserDataPair",
            "Hangup",
            "UpdateUserData"
         ],
         "duration":"27",
         "mute":"Off",
         "supervisorListeningIn":false,
         "monitoredUserMuted":false,
         "monitoring":false,
         "uri":"http://127.0.0.1:8080/api/v2/me/calls/012PUFMMS0ASNAK48O7GK2LAES00000J",
         "path":"/calls/012PUFMMS0ASNAK48O7GK2LAES00000J"
      },
      "phoneNumber":"15000",
      "extensions":{  
         "BusinessCall":0
      },
      "messageType":"CallStateChangeMessage"
   },
   "channel":"/v2/me/calls"
}
This page was last edited on March 25, 2016, at 18:22.

Feedback

Comment on this article:

blog comments powered by Disqus