{"json_modified": "2017-03-30T14:31:56.934755", "uuid": "db8ace9d-41cb-4888-9359-ea37e0fdefa4", "title": "Using DTMF with WebRTC", "url": "/en-US/docs/Web/API/WebRTC_API/Using_DTMF", "tags": ["API", "WebRTC API", "DTMF", "Guide", "Media", "WebRTC", "Example", "RTCDTMFSender", "RTCPeerConnection", "Touch-tone"], "translations": [], "modified": "2017-03-30T14:31:56.554694", "label": "Using DTMF with WebRTC", "localization_tags": [], "locale": "en-US", "id": 201941, "last_edit": "2017-03-30T14:31:51.978240", "summary": "In order to more fully support audio/video conferencing, <a href=\"/en-US/docs/Web/API/WebRTC_API\">WebRTC</a> supports sending <a title=\"DTMF: Dual-Tone Multi-Frequency (DTMF) signaling is a system by which audible tones are used to represent buttons being pressed on a keypad. Frequently referred to in the United States as &quot;touch tone&quot; (after the Touch-Tone trademark used when the transition from pulse dialing to DTMF began), DTMF makes it possible to signal the digits 0-9 as well as the letters &quot;A&quot; through &quot;D&quot; and the symbols &quot;#&quot; and &quot;*&quot;. Few telephone keypads include the letters, which are typically used for control signaling by the telephone network.\" href=\"/en-US/docs/Glossary/DTMF\" class=\"glossaryLink\">DTMF</a> to the remote peer on an <a title=\"The RTCPeerConnection interface represents a WebRTC connection between the local computer and a remote peer. It provides methods to connect to a remote peer, maintain and monitor the connection, and close the connection once it's no longer needed.\" href=\"/en-US/docs/Web/API/RTCPeerConnection\"><code>RTCPeerConnection</code></a>. This article offers a brief high-level overview of how DTMF works over WebRTC, then provides a guide for everyday developers about how to send DTMF over an <code>RTCPeerConnection</code>. The DTMF system is often referred to as \"touch tone,\" after an old trade name for the system.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Sending_DTMF_on_an_RTCPeerConnection", "title": "Sending DTMF on an RTCPeerConnection"}, {"id": "Simple_example", "title": "Simple example"}, {"id": "HTML", "title": "HTML"}, {"id": "JavaScript", "title": "JavaScript"}, {"id": "Global_variables", "title": "Global variables"}, {"id": "Initialization", "title": "Initialization"}, {"id": "Starting_the_connection_process", "title": "Starting the connection process"}, {"id": "Adding_the_audio_to_the_connection", "title": "Adding the audio to the connection"}, {"id": "When_a_tone_finishes_playing", "title": "When a tone finishes playing"}, {"id": "Adding_candidates_to_the_caller", "title": "Adding candidates to the caller"}, {"id": "Dialing_once_the_connection_is_open", "title": "Dialing once the connection is open"}, {"id": "Negotiating_the_connection", "title": "Negotiating the connection"}, {"id": "Tracking_other_state_changes", "title": "Tracking other state changes"}, {"id": "Adding_candidates_to_the_receiver", "title": "Adding candidates to the receiver"}, {"id": "Adding_media_to_the_receiver", "title": "Adding media to the receiver"}, {"id": "Logging", "title": "Logging"}, {"id": "Result", "title": "Result"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/WebRTC_API/Using_DTMF", "review_tags": []}