IOSOR Gabay
Pagdetekta ng Carrier DLR Message ID Collisions Sa Mga Route
Suriin ang integridad ng DLR sa pamamagitan ng pagtukoy ng duplicate message IDs sa mga carrier na sira ang reconciliation. Beripikahin ang deduplication logic at idempotency guarantees sa pamamagitan ng partner route comparison.
Sinuri ng Eksperto ng IOSOR · Lausanne, CH
Ang duplicate carrier-assigned message IDs sa mga route ay tahimik na sira ang DLR reconciliation, nagdudulot ng false delivery confirmations at billing disputes. Kailangan ng operators na suriin ang collision patterns sa pamamagitan ng pag-correlate ng carrier receipts sa internal correlation IDs sa bawat corridor.
Istriktura ng Carrier DLR Field At Collision Vectors
Ang mga carrier ay nag-eemit ng DLR receipts na may provider-specific message_id formats — ilan ay nagrerereuse ng numeric sequences per batch, iba ay nagre-recycle ng alphanumeric tokens pagkatapos ng 24–72 oras. Kapag maraming carrier ang nagde-deliver sa parehong destination pool, lumalabas ang identical message_id values sa webhook payloads na may ibang correlation_id contexts.
Integridad ng Correlation ID Bilang Primary Key
Ang internal correlation_id (UUIDv4 o ULID) ay dapat manatiling immutable reconciliation key — hindi kailanman ang carrier message_id. Ipagpatuloy ang correlation_id presence sa bawat outbound submit at i-validate ang pagbabalik nito sa bawat DLR webhook. I-reject o i-quarantine ang anumang DLR na kulang sa correlation_id o may mismatched pair. I-log ang carrier message_id kasama ang correlation_id para sa audit trails ngunit hindi kailanman i-join dito.
Disenyo ng Webhook Deduplication Gate
Ipapatupad ang two-tier deduplication gate: una, exact correlation_id match sa loob ng 48-hour sliding window ay nagdro-drop ng duplicate webhooks; pangalawa, carrier_message_id + carrier_id + destination tuple match ay nagfa-flag ng potential collisions para sa manual review. I-store ang first-seen timestamp, carrier, at raw payload para sa bawat tuple. Mag-alerta kapag lumampas ang collision rate sa 0.1% ng daily volume per corridor.
Multi-Carrier Reconciliation Workflow sa PAYG corridor
Patakbuhin ang nightly reconciliation jobs na nagjo-join ng internal send logs, carrier DLR webhooks, at partner billing CSVs sa correlation_id. I-flag ang records kung saan: (a) maraming DLRs ang nagsh-share ng isang correlation_id na may ibang carrier_message_ids, (b) isang carrier_message_id ang tumuturo sa maraming correlation_ids, o (c) billing records ang tumutukoy sa message_ids na wala sa webhook logs.
Idempotency Guarantees At Retry Safety
Idisenyo ang submit retries na panatilihin ang original correlation_id — hindi kailanman gumawa ng bago. Ang carrier-side retries (SMSC re-queue) ay dapat bumalik sa parehong carrier_message_id; beripikahin ang contract na ito per carrier. Kung ang carrier ay nag-i-issue ng bagong message_ids sa retry, tratin ang bawat isa bilang distinct delivery attempt at i-correlate sa pamamagitan ng iyong correlation_id. Idokumento ang carrier-specific retry behavior sa route registry.
Magsimula sa IOSOR
Ihambing ang verified partner routes para sa SMS corridors gamit ang Decision Brief upang suriin ang deduplication SLAs, correlation_id passthrough guarantees, at collision audit tooling.
Kaugnay: reserbang PAYG bago ang unang debit · mga hangganan ng wallet bago ang production traffic.
Buod ng IOSOR
Ang mga carrier ay nag-eemit ng DLR receipts na may provider-specific message_id formats — ilan ay nagrerereuse ng numeric sequences per batch, iba ay nagre-recycle ng alphanumeric tokens pagkatapos ng 24–72 oras. Idokumento ang carrier-specific retry behavior sa route registry (/tools/brief · DLR / webhook).
Nakatulong ba ang gabay na ito?
Mga kaugnay na gabay
- Pagpapatunay ng Cost-Band ng Ruta ng SMS at Failover Readiness Gate
I-verify ang mga quoted cost band ng ruta ng SMS laban sa carrier at aggregator tier, pagkatapos kumpirmahin na pinapanatili ng failover route ang delivery SLA bago mag-commit ng volume.
- Pagpapatunay ng Cost-Band ng Ruta ng SMS Bago Mag-commit ng Volume
I-verify ang mga quoted cost band ng SMS laban sa totoong carrier at aggregator route economics, i-audit ang DLR at failover behavior, pagkatapos ihambing ang mga partner route bago mag-commit ng campaign volume.
- I-audit ang mga SMS Webhook Signature Bago Mag-failover ng Provider
I-verify ang SMS webhook signing, replay protection, at acknowledgement behavior bago lumipat ng provider, pagkatapos ihambing ang partner routes at webhook guarantees sa Decision Brief.












