handle DTMF signaling across PSTN and WebRTC using RFC 4733 telephone-event

domain: datatracker.ietf.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Negotiate the telephone-event RTP payload type in SDP on both sides, with an fmtp listing supported event values (0–15 at minimum for DTMF digits).
  2. On the sending side, generate telephone-event RTP packets instead of, or alongside, in-band audio tones when a user presses a key.
  3. On the receiving/gateway side, decode telephone-event packets and, if bridging to PSTN, regenerate the actual DTMF/tone signal to inject into the TDM leg.
  4. For WebRTC specifically, use RTCDTMFSender (built on this RFC) rather than hand-rolling telephone-event packets.
  5. Verify interop by testing DTMF capture across the full call path (WebRTC leg + SIP trunk + PSTN termination), since mismatched payload type numbers are a common failure point.

Known gotchas

Related routes

Enable WebRTC simulcast with VP8 spatial layers in a browser sender using RTCRtpSendParameters
developer.mozilla.org · 5 steps · unrated
choose between WebTransport and WebRTC data channels for realtime browser-to-server data
w3.org · 5 steps · unrated
Understand and verify DTLS-SRTP fingerprint exchange in WebRTC signaling
webrtcforthecurious.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans