IOSOR Learn
SMPP Replace-If-Present Collision Audit & Idempotency Gate
Audit replace-if-present flag behavior across carriers to prevent duplicate deliveries and message ID collisions. Verify idempotency handling and collision resolution SLAs through partner route comparison.
Lead Telecom & Routing Architect · Lausanne, CH
Operators must verify how each carrier interprets the replace-if-present flag in submit_sm PDUs to prevent duplicate message delivery and message ID collisions. This audit establishes idempotency gates that ensure retries or resubmissions do not create unintended duplicates across the delivery chain.
Carrier Flag Interpretation Matrix
Document each carrier's handling of replace-if-present when message_id matches an existing queued or delivered message. Record whether the carrier replaces, rejects, or duplicates the submission. Capture DLR receipt correlation for both original and replacement attempts to prove idempotent behavior.
Message ID Collision Detection
Deploy sequence-number gap detection alongside message_id tracking to identify collisions where distinct submissions receive identical message_ids. Correlate submit_sm_resp timestamps with DLR arrival windows to flag non-unique IDs. Require carriers to expose collision metrics in periodic audit reports.
Idempotency Gate Implementation
Enforce a deterministic idempotency key per submission combining source_addr, destination_addr, short_message hash, and submission timestamp window. Reject or deduplicate at the application layer before PDU emission. Validate gate effectiveness by injecting controlled duplicate submit_sm sequences and measuring DLR uniqueness.
DLR Receipt Correlation & Webhook Latency
Map each submit_sm to its final DLR state (DELIVERED, EXPIRED, REJECTED) and measure webhook delivery latency. Replace-if-present operations must produce a single terminal DLR per idempotency key. Flag carriers where replacement generates multiple DLRs or where webhook latency exceeds 500 ms for terminal states.
Sender & Template Gate Alignment
Verify that replace-if-present respects sender ID registration and template approval gates. A replacement must not bypass content filters or sender whitelists. Test with registered vs unregistered senders and approved vs pending templates to confirm gate enforcement remains consistent across replace operations.
Start with IOSOR
Compare verified partner routes for SMPP replace-if-present handling and idempotency SLAs using IOSOR route comparison. Cross-reference carrier audit results with replace-if-present idempotency gate, SMPP Submit SM Sequence Number Gap Detection, and SMPP Message State Machine Consistency Audit to build a collision-free submission pipeline.
IOSOR takeaway
Document each carrier's handling of replace-if-present when message_id matches an existing queued or delivered message. Test with registered vs unregistered senders and approved vs pending templates to confirm gate enforcement remains consistent across replace operations (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Submit SM Response Timeout vs DLR Gap: Route Reliability Audit
Separate submit_sm response timeouts from missing DLRs to pinpoint whether a route fails at bind, carrier handoff, or receipt callback, then compare partner routes.
- SMPP Submit_SM Response Timeout: Retry Classification and Failover Gate
Classify submit_sm timeouts as committed, ambiguous, or uncommitted before retrying, and gate failover on deterministic response telemetry from verified partner routes.
- SMPP Submit_SM Response Timeout: Retry vs Dedup Decision Gate
Decide retry, suppress, or fail over when submit_sm responses time out or arrive late — without duplicate deliveries, inflated cost, or broken DLR reconciliation.












