IOSOR Learn
Detecting UDH Parsing Failures in Inbound SMS
Identify malformed UDH headers breaking MO concatenation reassembly, then compare partner inbound parsing reliability and DLR fidelity via Decision Brief.
Lead Telecom & Routing Architect · Lausanne, CH
Malformed UDH headers in inbound MO traffic cause concatenation reassembly failures, dropping message fragments and corrupting DLR chains. Operators must isolate gateway-specific parsing defects before they cascade into billing disputes or delivery gaps.
UDH Structure Validation Points
Inspect the first octet of each UDH for correct IEI (0x00) and length fields. Reject segments where the declared length exceeds remaining payload or where reserved bits are set. Log gateway ID, timestamp, and raw hex dump for every violation. Alert when violation rate exceeds 5 per 10k segments over a 5-minute window; quarantine gateway after 50 violations per hour.
Fragment Sequence Integrity
Verify that reference numbers match across all fragments of a concatenated message. Flag gaps in sequence numbers or duplicate sequence values. Correlate with sender MSISDN and SMSC to identify systematic gateway misbehavior. Reassemble only when all fragments arrive within 30 seconds; discard incomplete sequences after 60 seconds and emit a partial-loss alert.
During pre-flight verification, validate that automatic failover thresholds trigger deterministic rerouting without duplicating outbound segments or exhausting retry backoff budgets under peak regional load.
DLR Correlation for Reassembly Failures
Match each failed reassembly event to its DLR receipt. Missing or delayed DLRs for specific reference numbers indicate silent drops at the partner SMSC. Capture webhook latency and final status codes (DELIVERED vs UNDELIVERED) per fragment. Verify webhook delivery within 2 seconds; treat DLRs arriving after 10 seconds as stale and flag for manual review.
Compare live route telemetry, throughput ceilings, and SLA stability inside the Decision Brief workflow (/tools/brief) so primary and standby paths maintain continuous operational compliance.
Gateway-Specific Parsing Quirks
Document per-gateway deviations: some strip UDH entirely, others mishandle 16-bit reference numbers, and a few misalign TP-UDL after UDH removal. Build a parsing profile per inbound route and regression-test on every firmware update.
Automated Detection Pipeline
Deploy a stream processor that parses raw PDUs, validates UDH checksums, and emits alerts on anomaly thresholds. Feed results into a dashboard showing reassembly success rate, fragment loss %, and DLR fidelity by partner corridor. Set alert thresholds at >2% fragment loss or <98% reassembly success per corridor per hour.
Start with IOSOR
Compare verified partner inbound parsing reliability and DLR fidelity for your corridors using the Decision Brief: Compare encoding routes.
- Multipart reassembly failure detection.
- MO charset normalization gate.
- Multipart UDH header corruption detection.
IOSOR takeaway
Inspect the first octet of each UDH for correct IEI (0x00) and length fields. Feed results into a dashboard showing reassembly success rate, fragment loss %, and DLR fidelity by partner corridor (/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.












