IOSOR Learn
Opt-Out Keyword Race Condition: STOP vs. Send Triage Gate
Compare partner opt-out handling: keyword honoring parity across routes, mid-campaign STOP enforcement on queued and in-flight messages, and DLR evidence per suppressed segment.
Lead Telecom & Routing Architect · Lausanne, CH
A mid-campaign STOP is honored only if every queued and in-flight message is re-triaged against the suppression state before carrier handoff, not just the next batch. Partner routes differ in where that gate sits, so compare keyword honoring parity and DLR evidence per suppressed segment before you commit.
Why the STOP-versus-send race exists in the first place
Opt-out processing and campaign dispatch run as separate concurrent flows. A STOP arrives on an inbound webhook, gets normalized to E.164, and writes to a suppression list; meanwhile the send pipeline has already pulled a batch, rendered templates, and queued segments for handoff. The race window is the interval between suppression commit and the last queued segment leaving the queue.
Where partner routes place the suppression gate
Evaluation asks one question first: at which pipeline stage does the route re-read suppression state? Three patterns appear. Batch-gate routes check once per campaign build, so a STOP landing mid-send misses the in-flight tail. Handoff-gate routes re-check each segment immediately before carrier submission, shrinking the window to carrier transit latency. Dual-gate routes check at build and handoff and additionally cancel unsubmitted queue entries on webhook receipt.
DLR evidence per suppressed segment
Proof of honoring is a DLR trail, not a dashboard count. Request per-segment records for the test run with message ID, submission timestamp, carrier status, and suppression decision. The decisive field is whether post-STOP segments show a suppressed or cancelled status with a timestamp later than the suppression commit. Check that DLR webhook payloads carry the same message ID used at submission so reconciliation joins cleanly; mismatches hide post-STOP sends inside aggregate reports.
Failover behavior during concurrent keyword processing
Failover is the weakest point in the race. When the primary route degrades mid-campaign and traffic shifts, the secondary route must inherit the suppression list, including the STOP committed seconds earlier on the primary. Test this explicitly: trigger failover during dispatch, submit a STOP, and observe whether the secondary honors it on its in-flight queue.
Reconciling partial sends after an opt-out mid-campaign
The operational baseline of this gate is a clean partial-send reconciliation, which is covered in depth in abort and partial-send reconciliation. Pair that with an audit of message ID integrity at the carrier boundary, detailed in carrier DLR message ID collision audit.
Start with IOSOR
Run the comparison before signing: open partner route comparison and shortlist only partners that document gate position, share suppression state across failover routes, and export per-segment DLR records.
IOSOR takeaway
Opt-out processing and campaign dispatch run as separate concurrent flows. Test this explicitly: trigger failover during dispatch, submit a STOP, and observe whether the secondary honors it on its in-flight queue (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- SMS Route Cost-Band Verification and Failover Readiness Gate
Verify quoted SMS route cost bands against carrier and aggregator tiers, then confirm failover routes preserve delivery SLAs before committing volume.
- SMS Route Cost-Band Verification Before Volume Commitment
Verify quoted SMS cost bands against real carrier and aggregator route economics, audit DLR and failover behavior, then compare partner routes before committing campaign volume.
- Audit SMS Webhook Signatures Before Provider Failover
Verify SMS webhook signing, replay protection, and acknowledgement behavior before switching providers, then compare partner routes and webhook guarantees in Decision Brief.












