Authentication Option 2 provides an alternative to direct queries. Instead of querying the originating CP for every call, CPs place short-lived tokens into shared pools. Terminating CPs check these pools to verify calls.
How Token Pools Work
When CP1 originates a call, they generate a unique token valid for 30 seconds. This token contains encrypted call details: source number, destination number, timestamp. CP1 places this token in a shared pool accessible to other CPs.
Token Verification
When CP2 receives the call, they check the token pool. If they find a valid token matching the call details, authentication succeeds. The token is consumed and marked invalid. If no matching token exists, the call fails authentication.
Governance Model
Token pools require governance. A trusted consortium of major CPs manages the pool infrastructure. Rules are established for token format, expiration, and access controls. This creates accountability while maintaining distribution.
Scalability Benefits
Token pools scale better than direct queries for small CPs with high call volumes. Instead of implementing an authentication API, small CPs simply write to and read from the pool. The infrastructure is shared, reducing individual CP burden.
Redundancy and Reliability
Multiple token pool servers provide redundancy. If one pool is unavailable, others continue operating. Tokens can be written to multiple pools simultaneously. This ensures high availability even during failures.
Security Model
Tokens are encrypted and signed to prevent forgery. Access to pools requires authentication. Rate limiting prevents flooding attacks. Token pools are isolated from public networks. All access is logged for audit trails.
Small CP Benefits
Small CPs benefit most from token pools. They don't need to run their own authentication infrastructure. They don't need to handle incoming authentication queries. They just integrate with the pool API, which is simpler and cheaper to implement.
Hybrid Deployment
Options 1 and 2 can coexist. Large CPs might prefer direct queries for full control. Small CPs might prefer token pools for simplicity. The terminating CP can check both: first the token pool, then fallback to direct query if needed.
Trade-offs
Token pools add a governance requirement and central points, which direct queries avoid. But they offer better scalability for high-volume scenarios. The choice depends on CP size, call volume, and preference for control versus simplicity.
Implementation Path
Token pools could be operated by industry groups, regulators, or commercial providers. The key is neutrality and open access. Any qualified CP should be able to participate. This democratizes access to advanced authentication for all providers.