IOSOR Learn
Encoding Cost-Per-Segment Reconciliation Gate for Route Comparison
Reconcile billed segments against encodings actually sent per route: gsm7/ucs2 mix, multipart overhead, and gateway normalization before committing volume.
Lead Telecom & Routing Architect · Lausanne, CH
Billed segments must reconcile with the encodings actually transmitted on each route before you commit volume, because gsm7/ucs2 mixing, multipart overhead, and gateway normalization silently inflate cost per delivered message. Run the reconciliation gate per route, per sender, per template class, and only then compare partners.
Define the segment-truth baseline per route
Start by freezing the canonical encoding profile you intend to send: character set, effective payload per single segment (160 gsm7 septets versus 70 ucs2 units), concatenation header overhead for multipart (6 bytes / 7 septets per part), and template class. Record what the application encoded, the SMSC PDU, and the billed segment count as three separate evidence columns.
Detect multipart and gsm7/ucs2 overhead inflation
Multipart overhead is the usual suspect: one ucs2 character above the gsm7 boundary forces the whole message into ucs2, shrinking payload from 160 to 70 units and multiplying segments. Gateway normalization can push a message over the boundary after your own encoder validated it.
Gate sender and template changes through reconciliation
Sender ID registration, template rewrites, and locale updates all change the encoding profile. Rerun the reconciliation gate whenever a sender or template gate changes, otherwise a template edit that adds one accented character can shift an entire traffic class into ucs2 unnoticed.
Establish reconciliation tolerances and escalation
Document tolerances per traffic class: zero unexplained segment variance for OTP and Verify, small bounded variance for bulk. Set an escalation path: route flagged, partner query with PDU evidence, temporary volume cap, and re-run of the gate. Track webhook latency and DLR completeness alongside segment variance because missing DLRs can hide misbilling.
Cross-check adjacent encoding audits before sign-off
Do not run this gate in isolation. Sender ID registration, template rewrites, and locale updates all change the encoding profile. Rerun the reconciliation gate whenever a sender or template gate changes, otherwise a template edit that adds one accented character can shift an entire traffic class into ucs2 unnoticed.
Start with IOSOR
Run the operational checklist in order: (1) freeze the encoding profile and test corpus per sender and template class; (2) capture encoded PDU, billed segments, DLR receipt, and webhook latency for each boundary test; (3) compare per-route segment ratios against the baseline; (4) flag unexplained variance and cap volume on that route; (5) re-run after every sender or template change; (6) escalate twice-failed routes out of the shortlist.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Start by freezing the canonical encoding profile you intend to send: character set, effective payload per single segment (160 gsm7 septets versus 70 ucs2 units), concatenation header overhead for multipart (6 bytes / 7 septets per part), and template class. Do not run this gate in isolation (/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.












