IOSOR Learn
Cross-Tenant Number Collision Audit for Masked Sessions
Audit masked number reuse across tenants, campaigns, and queues: prove allocation locks, release grace periods, and reconciliation logs keep sessions isolated.
Lead Telecom & Routing Architect · Lausanne, CH
A cross-tenant collision audit proves that a reused masked number never carries a session, DLR, or webhook into another tenant's scope. It verifies allocation locks, release grace periods, and reconciliation evidence before you compare partner routes for isolation controls.
Define collision boundaries and tenant scope
Start by mapping every masked number to its tenant, campaign, and queue at the moment of allocation. A collision exists when the same E.164 number is active for two tenants, or when a released number still receives inbound traffic for the prior tenant. Document the scope rules: which identifiers are tenant-bound, which are campaign-bound, and which are queue-bound.
Verify allocation locks and release grace periods
Allocation locks must prevent a number from being assigned to a second tenant while any session is open. Test the lock by attempting a concurrent allocation during an active session and confirming a hard rejection, not a soft warning. Then test the release path: after a session closes, the number should enter a grace period where inbound messages are quarantined or routed to the original tenant, never to a new one.
Reconcile DLR receipts and webhook latency against tenant tags
Reconciliation is where collisions surface. Pull DLR receipts and webhook events for a sample of reused numbers and match each event to a tenant tag. Flag any event where the tag is missing, mismatched, or arrives after the number was reassigned. Measure webhook latency distribution; a long tail increases the chance that a late event crosses a tenant boundary.
Test queue isolation and campaign reassignment
Queues and campaigns add a second dimension. A number reused across campaigns within the same tenant can still bleed if campaign-level consent or template gates differ. Test reassignment by moving a number from one campaign to another and confirming that inbound STOP and OTP flows respect the new campaign scope. Verify that queue routing does not deliver a message to a tenant that no longer owns the number.
Review audit logs and isolation evidence
Audit logs must be complete enough to reconstruct any collision. Require logs for allocation, release, grace expiry, reassignment, and every inbound event with tenant tag. Check retention against your risk model and confirm logs are immutable or append-only. Look for gaps where a number changed state without a log entry. Cross-check logs against DLR receipts and webhook records; discrepancies indicate a control failure.
Start with IOSOR
Run the partner route comparison for number masking with tenant isolation in scope. Use the checklist: confirm allocation locks reject concurrent assignment, confirm release grace periods quarantine late DLR and webhook events, confirm tenant tags survive retries, confirm queue and campaign gates apply at routing, and confirm audit logs reconstruct every state change.
Related: PAYG hold before first debit · Wallet stop-lines before production.
IOSOR takeaway
Start by mapping every masked number to its tenant, campaign, and queue at the moment of allocation. Cross-check logs against DLR receipts and webhook records; discrepancies indicate a control failure (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Number Masking Route Failover and DLQ Replay Readiness Audit
Audit masked-number route failover for session-state preservation and DLQ replay safety: no duplicate or misrouted calls and SMS, with partner route comparison before cutover.
- Auditing DID Reassignment Consistency Across Failover Routes
Verify masked numbers reassigned during carrier failover keep session binding, DLR correlation, and inbound callback continuity, then compare failover-capable partners.
- Inbound Callback Routing Verification for Masked Number Sessions
Verify masked inbound callbacks return to the right caller and agent without identity leaks or dropped sessions, then compare partner routes with auditable DLR and webhook proof.












