IOSOR Learn

SMPP UDH Concatenation Logic and Segment Billing Audit

Verify UDH parsing accuracy and per-segment billing alignment across SMPP routes. Compare partner concatenation handling and cost models via Decision Brief.

Oleksandr (Alex) Petukhov — IOSOR Telecom Expert
✓ Verified by IOSOR ExpertOleksandr (Alex) Petukhov

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Engineers must confirm that UDH headers are parsed identically across all SMPP routes and that each concatenated segment maps to the correct billable unit. Misalignment between UDH reference numbers, sequence counters, and DLR receipts causes silent overbilling or delivery gaps.

UDH Header Structure Validation

Inspect the 0x00 IE (concatenated short message, 8-bit reference) and 0x08 IE (16-bit reference) in every submit_sm PDU. Verify that the reference number stays constant across all parts of a single logical message and that the sequence counter increments from 1 to total_parts without gaps. Any deviation — duplicate sequence numbers, missing parts, or mismatched reference — flags a partner route for deeper audit.

Billing Unit Reconciliation

Billing Unit Reconciliation. Cross-reference the UDH-declared total_parts with the operator's billed segment count per message_id. Use DLR receipts (receipted_message_id + stat) to confirm each part reached the handset. A single message_id with three UDH parts must generate exactly three billable segments; four indicates padding or double-count, two indicates loss. Log discrepancies per partner route and corridor.

Encoding Impact on Segmentation Boundaries

GSM-7 payloads allow 153 chars/segment (UDH consumes 7 bytes); UCS-2 allows 67 chars/segment. Verify that the partner's segmentation engine respects these limits after UDH insertion. Overlong segments that silently split into extra billable units are a common billing leak. Test with boundary-length payloads (153, 154, 306, 307 GSM-7 chars) and confirm segment count matches expectation.

⚡ IOSOR Expert · Q&A · Verified partners (×44)

DLR Correlation and Part-Level Visibility

Require part-level DLRs (not just aggregate) from each partner. Map each DLR's sequence_number back to the original UDH sequence. Missing DLRs for intermediate parts (e.g., part 2 of 3) while part 1 and 3 arrive indicate selective filtering or buffering issues. Correlate webhook latency per part; >5 s variance between parts of the same message suggests queue misordering.

Partner Route Concatenation Behavior Matrix

Build a matrix: partner × corridor × max_parts_supported × UDH_IE_type (0x00/0x08) × billing_granularity (per_part/per_message) × DLR_granularity. Flag routes that truncate >5 parts, force 0x00 only, or bill per_message while delivering per_part. This matrix drives the Decision Brief comparison.

Start with IOSOR

Open the Decision Brief to compare verified partner routes for your SMPP corridor: Compare SMPP routes. Cross-reference with SMPP concatenation logic and segment billing audit, SMPP encoding DCS segmentation billing audit, and SMPP submit_multi vs single-part throughput audit.

IOSOR takeaway

Inspect the 0x00 IE (concatenated short message, 8-bit reference) and 0x08 IE (16-bit reference) in every submit_sm PDU. This matrix drives the Decision Brief comparison (/tools/brief · DLR / webhook).

Was this guide helpful?

Related guides

VERIFIED BY IOSOR EXPERT · B2B ROUTING, SLA & PROVIDER Q&A

IOSOR Expert — Verified Q&A & B2B Messaging Decisions

Every Q&A decision below is audited by the IOSOR Telecom Architecture Expert against live 90-day uptime telemetry, carrier compliance rules (10DLC, DLT, GDPR), and real partner TCO.

All Q&A Triggers
#01 · Compliance & Sender ID📖 Knowledge hub · US A2P / 10DLC

US A2P / 10DLC

“Why do US 10DLC TCR campaigns get rejected and which partner handles fast onboarding?”

✓ Verified by IOSOR Expert

10DLC brand and campaign programs for US A2P traffic — not general privacy compliance.

All Q&A Triggers
#02 · OTP & verification📖 Knowledge hub · India DLT

India DLT

“How do engineering teams prevent India TRAI DLT template scrubbing drops on OTPs?”

✓ Verified by IOSOR Expert

DLT and PE-TM registration for India A2P — not an India corridor coverage guide.

All Q&A Triggers
#03 · OTP & verification📖 Knowledge hub · Verify / OTP

Verify / OTP

“How do we eliminate OTP p95 timeout spikes and trigger a 20–30s multi-rail fallback?”

✓ Verified by IOSOR Expert

Login codes without chaos: abuse, latency, and cost control.

All Q&A Triggers
#04 · Transactional email📖 Knowledge hub · Email

Email

“Why do password reset and 2FA emails land in Spam when sharing bulk marketing IPs?”

✓ Verified by IOSOR Expert

Transactional email alongside SMS, voice, and WhatsApp in one routing architecture.

All Q&A Triggers
#06 · WhatsApp Business📖 Knowledge hub · WhatsApp & RCS

WhatsApp & RCS

“How do Meta per-conversation fees and template pauses impact WhatsApp Business TCO?”

✓ Verified by IOSOR Expert

Rich channels when profiles and templates are ready: honest setup.

All Q&A Triggers
#08 · Failover & backup routing📖 Knowledge hub · Failover & rails

Failover & rails

“How do we keep a second standby provider warm for failover at $0/month idle cost?”

✓ Verified by IOSOR Expert

Ordered backup paths when a primary rail fails - distinct from DLR status truth.

All Q&A Triggers