IOSOR Learn
Detect UDH Reference Reuse in Multipart SMS Reassembly
Operators audit multipart reassembly failures caused by UDH reference number collisions across high-volume routes. A detection gate identifies reference reuse before it corrupts message reconstruction, triggering partner comparison for gateways with robust reference management.
Lead Telecom & Routing Architect · Lausanne, CH
UDH reference reuse occurs when a gateway reassigns the same 8-bit or 16-bit reference number to a new multipart sequence before the previous one expires, causing handsets to stitch unrelated fragments together. This gate monitors reference allocation patterns across DLR receipts and webhook logs to flag collisions in real time.
Reference Allocation Window Analysis
Track the time-to-live of each reference number per sender ID and destination prefix. A reference must remain reserved until all fragments are acknowledged or the maximum reassembly timer (typically 60–120 seconds) expires. Gate logic compares active reference counts against the theoretical maximum (256 for 8-bit, 65 536 for 16-bit) and raises an alert when utilization exceeds 70 %.
Fragment Sequence Integrity Verification
Correlate inbound fragment PDUs by reference, sequence number, and total-parts field. Mismatched total-parts values or duplicate sequence numbers under the same reference indicate reuse. The gate validates that every fragment set forms a contiguous 1…N sequence with identical payload encoding before releasing the reference back to the pool.
DLR Receipt Cross-Check
Match each submitted fragment's message ID against its final DLR status. Orphaned DLRs — receipts for message IDs never seen in the submit stream — reveal references recycled prematurely. The gate aggregates orphan rates per partner route; sustained rates above 0.5 % trigger a route review.
Webhook Latency & Ordering Guard
Webhooks must deliver fragment statuses in submission order. Out-of-order or delayed callbacks (> 5 s p95) increase the risk of reference reuse because the gateway cannot confirm completion. The gate measures callback latency distributions per corridor and flags partners whose p99 exceeds 10 s.
Sender & Template Gate Alignment
Ensure sender ID registration and template whitelists are synchronized with the reference allocator. A sender/template change mid-sequence without a reference reset causes silent corruption. The gate verifies that every new template version or sender migration forces a reference-space flush.
Start with IOSOR
Compare verified partner routes for multipart reference management at Decision Brief. Checklist: 1) Confirm 16-bit reference support per corridor. 2) Validate reference TTL ≥ max fragment latency + 30 s. 3) Require DLR orphan rate < 0.5 %. 4) Enforce webhook p99 ≤ 10 s. 5) Mandate reference flush on sender/template change. 6) Review related failure modes: Multipart UDH Reference Collision Causing Reassembly Failure, Detecting UDH Reference Exhaustion in Multipart SMS, Detect Multipart SMS Reassembly Failures Across Routes.
IOSOR takeaway
Track the time-to-live of each reference number per sender ID and destination prefix. The gate verifies that every new template version or sender migration forces a reference-space flush (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Encoding Route Selection: Verify Charset Cost Bands Before You Commit
Pick an SMS or email route only after charset handling and segment billing match your payload mix. Verify cost bands and DLR charset consistency before volume.
- UDH Reference Lifecycle Reconciliation Across Multipart Routes
Verify how each multipart route allocates, reuses, and expires UDH reference numbers, then compare partner behavior when collisions or exhaustion threaten reassembly and billing.
- UDH Concatenation Reference Window Exhaustion: Pre-Send Gate and Route Comparison
Decide if your SMS route survives multipart UDH reference windows: pre-send gate checks, DLR segment accounting, and partner route comparison via /tools/brief.












