IOSOR Learn
Inbound webhook routing on DID: MO without owner loses STOP
Route inbound webhooks to the owning account securely. Prevent orphan MO events and missed opt-outs in white-label prepaid CPaaS.
Inbound webhook routing on DID.
The mechanics of DID inbound traffic routing
When an end user sends an SMS to a provisioned E.164 number, the carrier network delivers the payload to our gateway. In a multi-tenant white-label CPaaS, every incoming Mobile Originated (MO) message must resolve instantly to a specific sub-account owner. If routing fails or the assignment table is stale, the payload becomes an orphan MO. Without a clear owner, critical consumer commands like STOP are discarded, breaking compliance and triggering regulatory complaints.
Preventing orphan MO and lost stop commands
An unassigned MO is a silent hazard. If an inbound SMS contains a keyword like STOP or CANCEL, but the system cannot identify the tenant mapping, the opt-out processing fails. This leaves the subscriber active against their will, resulting in churn and carrier penalties. To maintain carrier trust, our platform executes a strict validation check on every inbound webhook. If the destination DID lacks an active subscription or valid routing table entry, the gateway drops the payload.
Wallet safety and threshold safeguards
High-volume traffic requires strict financial controls to prevent abuse. Our infrastructure enforces a strict USD 20 prepaid floor for tenant creation, ensuring that no inbound or outbound pipeline operates without funded reserves. Furthermore, automated risk engines trigger a soft review near USD 1,000/month in aggregate spend or high message velocity. This protects the platform against unexpected traffic spikes and ensures that webhook delivery endpoints are legitimate.
Webhook dispatch and consumer operations
Delivering high-throughput HTTP payloads requires resilient retry policies and strict endpoint isolation. When routing inbound SMS to tenant servers, bad consumer practices can overwhelm your infrastructure. Proper Webhook consumer ops at volume principles dictate that receiving servers must return 2xx status codes rapidly while offloading heavy parsing to background workers. If your endpoint times out, the gateway retries with exponential backoff.
Handling suppression lists and compliance
Compliance is non-negotiable in messaging operations. When an inbound STOP command is successfully processed, the platform logs the opt-out and flags the number pair. This prevents future outbound attempts to numbers that have revoked consent. For deeper operational details on managing opt-outs, consult our guide on Inbound MO to suppressions: STOP on a DID protects reputation. Proper suppression handling keeps your white-label brand fully compliant.
Start with IOSOR for solid routing
Before inbound is open, map each destination DID to one tenant. An unmatched DID goes to a dead-letter with an alert — never a silent drop. A 2xx from the wrong tenant is a leak: STOP never reaches the owner. This is ownership lookup, not the suppression write itself and not E.164 cleanup.
IOSOR takeaway
Inbound routing is who owns this DID. No owner means no suppression write.
Do: dead-letter unmatched DIDs and page. Don’t: promise zero-drop if the consumer never returns 2xx to the right tenant.
Was this guide helpful?
Related guides
- Second-owner DID handover: who may assign and release
Master operational boundaries, JIT provisioning, and prepaid financial thresholds during second-owner DID handovers.
- Spend Cap Per DID: Rent Plus MT Burn On One Number
Control per-number exposure in your white-label CPaaS with a combined spend cap for MRC and outbound mobile terminated traffic.
- E.164 normalize before DID bind: plus, zeros, and spaces
Learn how strict E.164 normalization prevents routing failures when binding phone numbers to applications in your white-label CPaaS ecosystem.