﻿# RTP DTMF end retransmissions: repeated packets must not create repeated digits

RTP DTMF end retransmissions: repeated packets must not create repeated digits. A focused voice-infrastructure guide with the documented mechanism, a reproducible validation scenario, evidence and operational limits.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/voice-dtmf-repeated-end-one-event/
Language: en

An RTP telephone-event packet is an update about a telephony event, not necessarily a new keypress. Final event reports can be repeated to survive loss. A voice-agent gateway that triggers a workflow for every packet can therefore submit the same digit repeatedly even though the caller pressed the key only once.

## The audio contract

The event payload includes an event code, duration and end indication. Reports for the same ordinary event retain its media-time origin while updating duration, and repeated final reports do not create additional user actions. RTP sequence numbers identify packet progression, not semantic event identity. Long-event segmentation and redundancy have additional protocol rules, so a basic deduplication design should declare its supported scope rather than assuming that one simple timestamp rule covers every event form. Preserve the source and negotiated event interpretation.

## Implementation details

Maintain event state using the relevant source, event identity and timing contract. Update the observed duration and completion state without repeating an already committed application action. Keep packet receipt counters separate from recognized keypress counters. Decide when the application commits a digit and how it handles an event whose final report never arrives. Bound retained deduplication state so late repeats are handled deliberately without treating every future same-code event as a duplicate. Do not infer authorization or user intent beyond the negotiated telephone-event signal itself.

## A constructed validation case

Construct one ordinary digit event with intermediate updates and repeated end reports, then a genuine later press of the same digit. Reorder or omit selected reports within the declared supported receiver policy. Verify that the first event produces only its intended application action and that the later press remains distinct. Add separate sources to check state isolation. Acceptance requires correct event-level behavior despite packet repetition, with unresolved completion handled explicitly rather than guessed from the number of received messages.

## Operational limits

Telephone events are not the same input as spoken digits recognized by ASR. Keep their provenance separate when combining telephony and language-model workflows. This avoids making a protocol retransmission look like repeated speech or a deliberate repeated instruction from the caller.

## Primary references

[Rfc4733](https://www.rfc-editor.org/rfc/rfc4733.html); [Rfc3550](https://www.rfc-editor.org/rfc/rfc3550.html).

This is a proposed voice-system validation, not an executed Retrivium benchmark. Preserve the implementation version and unresolved outcomes; interface documentation does not establish the quality or timing of a deployed voice service.

## Related reading

[An inference API conformance matrix for providers](/journal/provider-api-conformance-matrix/); [Moshi full-duplex dialogue: model streams do not remove microphone echo handling](/journal/fg2-moshi-duplex-audio-client-echo-boundary/).
