IOSOR Learn

SMPP Concatenation Logic and Segment Billing Audit Strategies

Master SMPP concatenation logic to audit segment billing. Learn to verify UDH headers, SAR parameters, and reconcile PDU counts against partner route invoices for accuracy.

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

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Effective SMPP auditing requires verifying how gateways process User Data Header (UDH) bytes and SAR parameters to ensure segment billing matches actual PDU transmission counts. By reconciling PDU logs against partner invoices, engineers can identify over-billing caused by inefficient reassembly or payload-based splitting.

Understanding UDH and SAR Parameter Mechanics

When sending messages exceeding 160 GSM characters or 70 UCS2 characters, the SMPP client must decide between using UDH (User Data Header) in the short_message field or utilizing Optional TLV parameters like sar_msg_ref_num, sar_total_segments, and sar_segment_seq_num.

Identifying Segment Splitting Discrepancies

Billing discrepancies often arise when a gateway ignores the ESM_CLASS bit 6 (indicating a UDH is present) and treats the header as plain text, or when it fails to reassemble segments correctly before delivery. You must monitor the submit_sm_resp for each PDU.

Reconciling PDU Counts with DLR Metadata

To perform a precise audit, correlate your outbound PDU logs with incoming deliver_sm (DLR) receipts. A transparent partner route should provide a DLR that references the original message_id of the first segment or a single DLR for the entire concatenated set. If you receive multiple DLRs for a single logical message, the gateway is likely billing per segment.

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

Payload-Based Concatenation vs SAR Support

Modern SMPP implementations prefer the message_payload TLV for long messages, allowing the gateway to handle segmentation. However, many legacy routes require manual segmentation via UDH. You must audit whether your partner supports the message_payload parameter (up to 64KB) or if they enforce a hard 255-byte limit on the short_message field.

Technical Audit and Routing Documentation

For deeper integration analysis, consult these technical resources to align your SMPP stack with global routing standards:

Start with IOSOR

Open your SMPP gateway console and inspect the submit_sm logs for active long-form traffic. Verify that your application stack correctly populates the ESM_CLASS field or utilizes the message_payload TLV for segmented dispatches. Run a test batch to audit whether your partner route drops UDH headers or bills each segment independently.

IOSOR takeaway

This article proved that undetected SMPP concatenation discrepancies silently inflate messaging costs through improper segment billing and split-delivery failures. Accurate audits require strict correlation between outbound PDU counts and incoming DLR metadata.

Do map your gateway segmentation strategy against legacy UDH limitations and modern TLV payload support before scaling traffic. Don't assume your routing partner automatically reconciles fragmented deliveries without verifying submit_sm_resp and deliver_sm receipt parameters.

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