Internet-Draft Pre-Alert Reachability Capabilities for December 2026
Das Expires 5 June 2027 [Page]
Workgroup:
Independent Submission
Internet-Draft:
draft-das-sip-prealert-00
Published:
Intended Status:
Informational
Expires:
Author:
S. K. Das
Independent

Pre-Alert Reachability Capabilities for Telephony and Messaging: A Gateway Model Beyond Caller Authentication

Abstract

Unwanted and AI-generated calls are now stopped mostly by signing the caller's number (STIR/SHAKEN), by analytics-based blocking, or by screening on the phone after the network has already delivered the attempt. None of these lets the person being called decide, in advance and revocably, who may make a phone ring. This document describes a pre-alert gateway model: the caller holds an opaque, non-routable reachability token instead of a routable number or URI; an ingress gateway (session border controller or IMS application server) asks a protected enforcement point to validate the token before alerting or paging; a valid token is consumed atomically and an invalid one produces a response that looks like the destination being unavailable. The document also describes a split between the gateway and the identity store, optional timing decorrelation, and disclosure of the identity mapping only on a judicial order. It explains how a first deployment can be built with a SIP gateway, a CWT/JWT token, a TEE or HSM and a strongly consistent store, and it states the regulatory and interoperability limits.

Related patent application. This document is based on international application PCT/IB2026/054453 (publication WO 2026/150381 A2), which was published at WIPO PATENTSCOPE on 16 July 2026. Full text: https://patentscope.wipo.int/search/en/detail.jsf?docId=WO2026150381 (also at https://patents.google.com/patent/WO2026150381A2/en). The application is a pending application only; nothing in this document states or implies that any patent has been granted. Check current status only on official registers (WIPO PATENTSCOPE and national patent offices).

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 5 June 2027.

▲

Table of Contents

1. Introduction

STIR/SHAKEN (RFC 8224, RFC 8225 and the ATIS SHAKEN profile) lets a terminating network verify that a caller's number was asserted by an originating provider. Rich Call Data adds branding. Analytics-based blocking and device-side call screening reduce nuisance calls. These tools answer who is calling and whether the number looks suspicious. They do not give the called party a way to make reachability itself an authorization that can be limited, used up and revoked.

This document explores that gap. It does not claim that a non-routable reachability token can replace the telephone numbering system. It treats the token as an additional path for relationships where both parties can adopt it (an application calling a customer, an enterprise calling its clients, a messaging service, a marketplace connecting buyers and sellers).

2. Terminology

3. Model

3.1. Flow

3.2. Split trust

The gateway holds the token but not the identity mapping. The identity store holds the mapping but does not see the call. The EP joins them for the instant of routing. This follows the same principle as Oblivious HTTP (RFC 9458), where no single party holds both halves.

3.3. Timing decorrelation

An observer who sees both token resolution and call delivery can correlate them by time. An optional bounded random delay or batching reduces this at some cost to call setup time.

3.4. Judicial disclosure

The mapping from token to identity can be disclosed only after a recorded judicial order. This can align with the administrative function and handover interfaces of 3GPP lawful interception (TS 33.126, TS 33.127, TS 33.128), so that no new interception path is created.

4. Implementation with current technology

5. Relationship to existing work

6. Regulatory and interoperability limits

7. Honest assessment

Existing tools already address caller-number spoofing (STIR/SHAKEN), number-ownership checks (CAMARA) and temporary two-party masking. The element this document adds is reachability as a bounded, revocable object that is resolved only inside a protected domain and consumed on use. The evidence of need in the sources reviewed is regulatory rather than product-level, and the deployment path (originating devices, gateways and interconnect partners all change) is the hardest of the profiles in this series.

8. Concrete design for an engineer

This section describes a build for the voice case, then notes variations for messaging and email. Header names and flows are illustrative. No header named here is registered, and registration would be needed for interoperable use.

8.1. The idea in one paragraph

A person or business wants to be reachable without publishing a telephone number. They publish a reachability token instead (in a web page, an application, a QR code or a directory). A caller presents the token. The called party's network edge checks the token before any alert reaches the called device. If the token is valid, the edge resolves it to the real destination inside a protected component and routes the session. If not, the caller receives the same response as for any failure. The real destination is never given to the caller or to intermediate networks.

8.2. Building blocks

 caller UA -> [orig network] -> [ingress gw + EP] -> [identity store]
                                   |                           |
                                   +-- allow: rewrite target <-+
                                   +-- deny : one fixed reply
                                   v
                              [IMS core / PBX / app server] -> callee

8.3. Token issue

Two token forms are possible:

8.4. Call flow

 1. caller  -> gateway : INVITE sip:rt-<token>@in.example.net
 2. gateway -> EP      : check(token-hash, caller info, time)
 3. EP                 : evaluate predicates, atomic consume
 4. EP      -> store   : resolve(token)   (protected domain)
 5. EP      -> gateway : ALLOW + routing handle   | DENY
 6. gateway -> core    : INVITE to resolved destination (allow)
    gateway -> caller  : fixed reply (deny)

An illustrative INVITE:

INVITE sip:rt-7Hq2Kx...@in.example.net SIP/2.0
Via: SIP/2.0/TLS 198.51.100.7;branch=z9hG4bK77ef
From: <sip:+441234567890@orig.example>;tag=a73kszlf
To: <sip:rt-7Hq2Kx...@in.example.net>
Call-ID: 3848276298220188511@198.51.100.7
CSeq: 1 INVITE
Identity: <PASSporT>;info=<https://certs.example/c.pem>;
          alg=ES256;ppt=shaken
Contact: <sip:+441234567890@198.51.100.7;transport=tls>

The request URI user part is the token. The caller's own identity is carried as usual, so that the called party's policy can still depend on a verified caller identity (STIR, RFC 8224 and PASSporT, RFC 8225). The token does not replace caller authentication. It adds destination authorization.

8.5. Choosing the refusal

Use one fixed response for every refusal, including unknown token, expired token, used token, wrong caller class and EP error. Candidates:

Choose one (404 is the simplest) and apply it everywhere. Make the response time as close as practical for all refusal paths.

8.6. Predicates for the voice case

8.7. Where this sits next to existing tools

9. Variations

9.1. Variation A: on-net only

Both caller and called party are on the same operator or the same enterprise. The EP runs in the IMS core or the PBX. No interconnect is involved. This is the simplest and fastest deployment and a good first pilot.

9.2. Variation B: interconnect

The caller is on another network. The token travels in the request URI through the originating network, which treats it as an ordinary user part. The called network's edge applies the check. Needs agreement that intermediate networks do not rewrite or log the user part beyond normal practice. Intermediate networks see the token. A captured token can be used until it expires or is used, so use short life and single use for sensitive cases.

9.3. Variation C: web click-to-call (WebRTC)

The token is carried by a web page or application. The browser opens a WebRTC session to a gateway that applies the check. There is no dialpad, no number and no scanning surface. This is the variation with the lowest adoption barrier on the caller side.

9.4. Variation D: legacy dialer with a short code and a PIN

A public short-code or an ordinary number reaches an interactive voice response. The caller enters a code with DTMF tones. The IVR calls the EP with the code. If valid, the call is transferred. This keeps legacy callers working. It weakens the property that the front number is not scannable, because the front number is public. The code is the secret.

9.5. Variation E: SMS and MMS

Place the check in an SMS firewall or a messaging hub. The token is the recipient identifier in the application-layer address of the message. The firewall calls the EP before submitting the message to the home network. Deny means silent drop or a uniform failure report. Pay attention to delivery receipts, which can reveal that a destination exists.

9.6. Variation F: email

Use the local part of an address as the token. A mail transfer agent policy service (for example a Postfix policy delegation service or a milter) asks the EP at the recipient stage of SMTP. Deny maps to one fixed SMTP reply. Beware that SMTP often reveals delivery status in bounces. Use a single bounce form.

9.7. Variation G: split-trust relay

Add a relay between the gateway and the EP, in the manner of Oblivious HTTP (RFC 9458). The relay sees the gateway but not the decision content. The EP sees the decision content but not the gateway. This reduces what any single operator learns. It adds a hop and a second operator to run.

10. Timing and traffic analysis

11. Judicial and regulatory disclosure

12. Operational notes

13. Test plan for this profile

14. Limits that an engineer should state to the customer

15. Lab recipe: a SIP reachability gate with open-source tools

An engineer can build a working test bed with a SIP proxy, a traffic generator and a small web service. Module names differ by version, so check the documentation of the SIP server in use.

16. Test vector for token hashing

The directory stores a hash of the token, not the token. A check value:

token  : example-token-not-for-use
sha256 :
7ea53ad65c1086b854bdd6438d1aa4e20126eea2e6e4d47138caa03a059b5ce2

The token above is an example string. Real tokens are random values from a cryptographic random source and are never published.

17. Frequently asked engineering questions

Q: Why not just give the caller a temporary telephone number? A: A temporary number is still in the numbering plan. Anyone can dial it, and an attacker can sweep a number range. A random token in the user part of a URI is not in the numbering plan and cannot be swept in practice. The cost is that the caller must be able to dial a URI or use a link.

Q: Does the intermediate network see the token? A: Yes, in the request URI. Treat the token as a bearer secret until it is used or expires. Use single use for sensitive cases.

Q: Can the called party's phone ring even when the check fails? A: It must not. The check happens at the edge before any alert reaches the called device. Test that no provisional response such as ringing is sent on refusal.

Q: What about calls that arrive over a trunk from a PBX with its own numbers? A: Those calls address real numbers and are outside this mechanism. Only requests addressed to token URIs are checked.

Q: What if the directory is slow? A: Calls to tokens are slowed or refused. Calls to normal numbers are not affected. Set a timeout on the resolve call and treat a timeout as a refusal, and alert on it.

Q: Who may see the mapping from token to destination? A: Only the EP service identity, and operators under a dual-control procedure for lawful requests and fraud investigation. Log every read of a mapping outside the EP.

18. Engineer's reference implementation: common core

This section is repeated in each document of the series so that an engineer can build from one document without reading the others. It describes one concrete way to build an enforcement point (EP) and its surrounding parts. Names of products are examples of existing technology. Message layouts and code are illustrative sketches written for this document. They are not tested reference code, and no performance figure is claimed anywhere in this document.

18.1. Build order

An engineer can build the mechanism in this order. Each step can be tested alone before the next one starts.

18.2. Component view

 requester --> [ EP ] --> token --> [ effect sink ] --> effect
                 |  \                    |
                 |   +--> receipt log    +--> replay table (jti)
                 v
           state store (atomic consume)
                 ^
           policy bundle (signed, versioned)
 [ EP key in HSM/TEE ]  <-- attested by verifier (RFC 9334)

The EP is the only component that can mint a token. The sink is the only component that can cause the effect. The state store is the only place where quota changes. Keep these three roles in separate failure domains if the risk justifies it.

18.3. Token and receipt formats

An illustrative token claim set in CDDL (RFC 8610) follows. The names are not registered. A deployment can map them to registered claims where they exist.

capability-token = {
  "iss": tstr,
  "aud": tstr,                    ; the sink
  "jti": bstr .size 16,           ; single-use identifier
  "nbf": uint,
  "exp": uint,                    ; seconds, short lifetime
  "cnf": { "kid": bstr },         ; proof of possession (RFC 7800)
  "purpose": tstr,
  "params-hash": bstr .size 32,   ; hash of canonical action
  "state-version": uint,
  ? "profile": tstr
}

receipt = {
  "id": bstr .size 16,
  "decision": "released" / "refused",
  "ep": tstr,
  "ts": uint,
  "req-digest": bstr .size 32,
  "policy-digest": bstr .size 32,
  "state-version": uint,
  ? "token-jti": bstr .size 16,
  ? "internal-reason": tstr       ; never sent to the requester
}

The "internal-reason" field is for operators and auditors. The response to the requester must carry no reason, as described under uniform denial.

18.4. Enforcement point algorithm

def decide(req):
    ctx = authenticate(req)               # who is asking
    if ctx is None:
        return deny()
    cand = canonicalize(req.action)
    h = sha256(cand)
    pol = policy.load(ctx.tenant)         # signed bundle
    now = trusted_time()
    ok = True
    reasons = []
    for p in pol.predicates:       # evaluate all, no early exit
        r = p.check(ctx, cand, now)
        ok = ok and r.ok
        reasons.append(r)
    if not ok:
        log_internal(req, reasons)
        return deny()
    if not store.consume(ctx.grant, 1, pol.version):
        return deny()
    tok = sign(make_token(ctx, h, pol.version))
    log_receipt("released", tok.jti, h)
    return tok

Notes for the engineer:

18.5. Atomic consume: storage variants

The consume operation must be one indivisible step: check the quota and the state version, and decrement. Five common ways to build it follow. Pick by consistency need, not by habit.

Variant A: Redis with a Lua script.

-- KEYS[1] = grant key, ARGV[1] = expected version
local v = redis.call('HGET', KEYS[1], 'ver')
local q = tonumber(redis.call('HGET', KEYS[1], 'quota'))
if v ~= ARGV[1] or q < 1 then return 0 end
redis.call('HINCRBY', KEYS[1], 'quota', -1)
return 1

The script runs atomically on one Redis node. Redis replication is asynchronous by default, so a failover can lose the last writes and allow a second use. Use this only where a rare double use is tolerable, or add replica acknowledgement (the WAIT command) and accept the latency.

Variant B: relational database, single statement.

UPDATE grants
   SET quota = quota - 1
 WHERE grant_id = $1 AND ver = $2
   AND quota > 0 AND not_after > now()
RETURNING quota;

A returned row means the unit was consumed. Zero rows means deny. A single UPDATE takes a row lock, so concurrent callers are serialized. Use a synchronous replica or a consensus-based distributed SQL database if loss on failover is not acceptable.

Variant C: DynamoDB conditional update.

UpdateItem Key={grant_id}
  UpdateExpression:   SET quota = quota - :one
  ConditionExpression: ver = :v AND quota >= :one

A failed condition means deny. Keep the authority in one region. Multi-region replication of such tables is eventually consistent, and two regions could each consume the same unit.

Variant D: etcd or another Raft key-value store, compare-and-swap transaction.

txn:
  if   value(grant/ver) == V and value(grant/quota) > 0
  then put(grant/quota, quota-1)
  else fail

This gives linearizable consume at the cost of write latency on every release. It suits low to medium rates and high-value actions.

Variant E: hardware counter. A TPM 2.0 non-volatile counter or an HSM counter can hold a monotonic count. Hardware counters have limited write endurance and low rates. Use them for high-value, low-rate grants or as an anchor for a periodic checkpoint of a faster store.

At the sink, add a replay table keyed by jti and keep entries until the token expires. This catches a token presented twice even if the EP store had a fault.

18.6. Keys and attestation

18.7. Uniform denial and error handling

Return one response for every refusal: the same status, body shape and, as far as practical, timing. Put the reason only in the internal log. Do not return which predicate failed, whether a grant exists, or how much quota remains. Rate-limit refusals per requester so that an attacker cannot use the EP as an oracle.

18.8. Unknown outcome and idempotency

A request can time out after the sink applied the effect. The requester then does not know whether to retry. Handle it this way:

18.9. Receipt log

Every release and every refusal is a signed receipt. Options for the log, from simplest to strongest:

Whatever the option, publish the checkpoint to a place the operator cannot rewrite alone (a second organization, a public log, or a write-once store). Without that, the log shows what the operator chose to keep.

18.10. Deployment variations

The same mechanism can be placed in five ways. Choose by where the choke point is.

18.11. Test plan

A conformance suite for the mechanism contains at least these tests. Each is a pass or fail test, not a measurement.

18.12. Rollout

18.13. What to measure

Measure these in the engineer's own environment before making any claim. The document gives no numbers on purpose.

18.14. Common mistakes

19. Reference sketches in Python (tested)

This section gives small reference sketches in Python. They show the logic in running form. They were run against unit tests in a sandbox on 2 December 2026 (Python 3.13, the "cryptography" package, SQLite) and the tests passed. They are teaching sketches. They are not hardened code and have had no security review. The SQLite store stands in for a real store. It serializes through a lock. A production system would use the storage variants in the common core.

19.1. Sketch 1: enforcement point and sink

Tests for this sketch: a valid release and one use; replay refused at the sink; one grant with quota one gives exactly one token under 30 concurrent requests; every refusal returns the same result; a changed action or the wrong sink is refused; a repeated request with the same idempotency key returns the same token and does not consume twice; a revoked or not yet valid grant is refused.

# Reference sketch: enforcement point (EP) and sink.
# Requires Python 3.9+ and the "cryptography" package.
import base64, hashlib, json, sqlite3, threading, time, uuid
from cryptography.exceptions import InvalidSignature
from cryptography.hazmat.primitives.asymmetric.ed25519 import (
    Ed25519PrivateKey,
)


def canon(obj):
    # Stand-in for RFC 8785 canonical JSON.
    return json.dumps(
        obj, sort_keys=True, separators=(",", ":")
    ).encode()


def b64(b):
    return base64.urlsafe_b64encode(b).rstrip(b"=").decode()


def unb64(s):
    return base64.urlsafe_b64decode(s + "=" * (-len(s) % 4))


class Store:
    def __init__(self):
        self.db = sqlite3.connect(
            ":memory:",
            isolation_level=None,
            check_same_thread=False,
        )
        self.lock = threading.RLock()  # sqlite sketch only
        self.db.executescript("""
          CREATE TABLE grants(id TEXT PRIMARY KEY, agent TEXT,
            action TEXT, target TEXT, nbf INT, naf INT,
            quota INT, ver INT, revoked INT DEFAULT 0);
          CREATE TABLE idem(k TEXT PRIMARY KEY, h TEXT, tok TEXT);
        """)

    def q(self, sql, args=()):
        with self.lock:
            return self.db.execute(sql, args)

    def add_grant(
        self, gid, agent, action, target, nbf, naf, q
    ):
        self.q(
            "INSERT INTO grants VALUES(?,?,?,?,?,?,?,?,0)",
            (gid, agent, action, target, nbf, naf, q, 1),
        )

    def grant(self, gid):
        return self.q(
            "SELECT agent,action,target,nbf,naf,quota,ver,revoked"
            " FROM grants WHERE id=?",
            (gid,),
        ).fetchone()

    def consume(self, gid, ver, now):
        # One statement: check and decrement together.
        with self.lock:
            cur = self.q(
                "UPDATE grants SET quota=quota-1 WHERE id=?"
                " AND ver=? AND quota>0 AND revoked=0"
                " AND nbf<=? AND naf>?",
                (gid, ver, now, now),
            )
            return cur.rowcount == 1

    def revoke(self, gid):
        self.q(
            "UPDATE grants SET revoked=1, ver=ver+1 WHERE id=?",
            (gid,),
        )


class EP:
    def __init__(
        self, store, sink_id, clock=time.time, life=30
    ):
        self.store, self.sink_id = store, sink_id
        self.key = Ed25519PrivateKey.generate()
        self.pub = self.key.public_key()
        self.clock, self.life = clock, life
        self.receipts = []  # replace with a signed log

    def _receipt(self, decision, h, jti=None):
        self.receipts.append(
            {
                "decision": decision,
                "h": h,
                "jti": jti,
                "ts": int(self.clock()),
            }
        )

    def release(self, agent, gid, action, idem_key):
        now = int(self.clock())
        h = hashlib.sha256(canon(action)).hexdigest()
        row = self.store.q(
            "SELECT h,tok FROM idem WHERE k=?", (idem_key,)
        ).fetchone()
        if row and row[0] == h:
            return row[1]  # repeat request, same token
        g = self.store.grant(gid)
        ok = g is not None
        if ok:  # evaluate every predicate
            a, act, tgt, nbf, naf, q, ver, rev = g
            checks = [
                a == agent,
                act == action.get("type"),
                tgt == action.get("target"),
                nbf <= now < naf,
                q > 0,
                rev == 0,
            ]
            ok = all(checks)
        if not ok or not self.store.consume(gid, g[6], now):
            self._receipt("refused", h)
            return None  # uniform denial
        claims = {
            "iss": "ep",
            "aud": self.sink_id,
            "jti": uuid.uuid4().hex,
            "nbf": now,
            "exp": now + self.life,
            "agent": agent,
            "params-hash": h,
            "state-version": g[6],
        }
        body = canon(claims)
        tok = b64(body) + "." + b64(self.key.sign(body))
        self.store.q(
            "INSERT INTO idem VALUES(?,?,?)",
            (idem_key, h, tok),
        )
        self._receipt("released", h, claims["jti"])
        return tok


class Sink:
    def __init__(self, ep_pub, sink_id, clock=time.time):
        self.pub, self.sink_id = ep_pub, sink_id
        self.clock = clock
        self.seen, self.lock = set(), threading.Lock()
        self.effects = []

    def apply(self, token, action):
        try:
            p, s = token.split(".")
            body = unb64(p)
            self.pub.verify(unb64(s), body)
            c = json.loads(body)
        except (ValueError, InvalidSignature):
            return False
        now = self.clock()
        want = hashlib.sha256(canon(action)).hexdigest()
        if (
            c["aud"] != self.sink_id
            or c["params-hash"] != want
            or not c["nbf"] <= now < c["exp"]
        ):
            return False
        with self.lock:  # replay table
            if c["jti"] in self.seen:
                return False
            self.seen.add(c["jti"])
        self.effects.append(action)  # the effect happens here
        return True

19.2. Sketch 2: reference token directory

Reference-token issue and one-statement consume with a single refusal outcome. Tests: valid use, single use, low caller level, unknown token, revoked token, expired token.

# Reference sketch: reference-token issue, uniform-deny resolve.
import hashlib, secrets, sqlite3, threading, time


class Directory:
    def __init__(self):
        self.db = sqlite3.connect(
            ":memory:",
            isolation_level=None,
            check_same_thread=False,
        )
        self.lock = threading.RLock()
        self.db.execute(
            "CREATE TABLE tok(h TEXT PRIMARY KEY, dest TEXT,"
            " min_level INT, uses INT, naf INT, revoked INT)"
        )

    def issue(self, dest, min_level, uses, ttl, now=None):
        now = int(now or time.time())
        t = secrets.token_urlsafe(32)  # 256 random bits
        h = hashlib.sha256(t.encode()).hexdigest()
        with self.lock:
            self.db.execute(
                "INSERT INTO tok VALUES(?,?,?,?,?,0)",
                (h, dest, min_level, uses, now + ttl),
            )
        return t  # store only the hash

    def revoke(self, t):
        h = hashlib.sha256(t.encode()).hexdigest()
        with self.lock:
            self.db.execute(
                "UPDATE tok SET revoked=1 WHERE h=?", (h,)
            )

    def resolve(self, t, caller_level, now=None):
        """Destination or None. One outcome for every refusal."""
        now = int(now or time.time())
        h = hashlib.sha256(t.encode()).hexdigest()
        with self.lock:
            cur = self.db.execute(
                "UPDATE tok SET uses = uses - 1 WHERE h=?"
                " AND uses>0"
                " AND revoked=0 AND naf>? AND min_level<=?",
                (h, now, caller_level),
            )
            if cur.rowcount != 1:
                return None
            return self.db.execute(
                "SELECT dest FROM tok WHERE h=?", (h,)
            ).fetchone()[0]

20. Operations, threats and adoption (common core)

This section is repeated in each document of the series. It covers what an operator needs after the mechanism is built.

20.1. Threat model in a table

Threat                      Mitigation                  Residual risk
--------------------------  --------------------------  ------------
Requester forges a token    Signature by EP key in      Key theft
                            HSM/TEE; sink verifies
Requester replays a token   jti replay table at sink;   Table loss
                            short lifetime              after crash
Requester alters action     Token bound to action hash  Hash scheme
                                                        mismatch
Stolen token used by other  Proof of possession (cnf,   Key theft
                            DPoP, mutual TLS)           of holder
Compromised requester asks  Predicates, quota, scope,   Wrong grants
for allowed things          envelope, rate limits       stay wrong
Compromised EP              Attestation, split key,     Total loss of
                            federation (V5), audit      guarantee
Bypass of the EP            Single choke point; sink    Second route
                            refuses without token       left by error
Store rollback or fork      Synchronous consensus       Operator
                            store; counters logged      error
Oracle probing of the EP    Uniform denial; rate limit  Timing leak
Log tampering               External checkpoints        Collusion
Clock manipulation          Trusted time; bounds        Time source
                                                        compromise
Policy mistakes             Review, tests, shadow       Human error
                            mode, signed bundles

No row removes the need for judgement. The mechanism limits what a wrong decision can do and makes it visible afterwards.

20.2. Operator runbooks

### Signing key rotation

### Policy update

### Suspected EP compromise

### Store restore

20.3. What to monitor

Alert on a fail-open event every time it happens. A fail-open class that triggers often is a design problem.

20.4. Capacity and sizing method

This document gives no throughput figure. To size a deployment:

20.5. Interoperability and versioning

20.6. Adoption plan

Roles: a policy owner (decides what is allowed), a platform team (runs the EP, store and keys), a sink owner (owns the effect and its check), a security reviewer (owns the test plan and bypass tests) and an auditor (reads receipts).

20.7. Standards used in this series, in one line each

RFC 7519  JSON Web Token (JWT)
RFC 7800  Proof-of-possession key semantics for JWTs
RFC 8392  CBOR Web Token (CWT)
RFC 8610  Concise Data Definition Language (CDDL)
RFC 8693  OAuth 2.0 Token Exchange
RFC 8785  JSON Canonicalization Scheme
RFC 8949  Concise Binary Object Representation (CBOR)
RFC 9052  COSE: structures and process
RFC 9162  Certificate Transparency version 2.0
RFC 9334  Remote ATtestation procedureS (RATS) architecture
RFC 9396  OAuth 2.0 Rich Authorization Requests
RFC 9449  OAuth 2.0 Demonstrating Proof of Possession (DPoP)
RFC 9711  Entity Attestation Token (EAT)
RFC 5869  HMAC-based key derivation function (HKDF)
RFC 4082  TESLA broadcast authentication

Check the current status of each document before relying on it, and read the document itself. This list is a reading aid, not a substitute.

21. Decision guide, review checklist and glossary (common core)

This section is repeated in each document of the series.

21.1. How to choose among the variants

Answer these questions in order. Each answer narrows the design.

Question                         If yes               If no
-------------------------------  -------------------  ---------------
Is the effect irreversible or    Use V4 (attested EP) V2 or V3 may do
costly to other parties?         and single-use tokens
Can the sink verify signatures   Self-contained       MAC token or
at the needed rate?              signed token         reference token
Is immediate revocation needed?  Reference token or   Short lifetime
                                 push events          is enough
Can the sink reach the EP in     Per-action release   Pre-issued
the time budget?                                      window
Must two parties agree?          Federated EP (V5)    One EP
Must an outsider check later?    Merkle log with      Hash chain log
                                 external checkpoint
Is the requester untrusted or    Proof of possession  Bearer token
an AI agent?                     plus envelope        may do
Does a sweep of the target       Random token, rate   Normal controls
space matter?                    limits

Where two answers conflict, choose by the cost of a wrong decision in the deployment, and write the choice down with the reason.

21.2. Worked failure analyses

### Failure 1: the sink applies the effect but the reply is lost

### Failure 2: the EP crashes after consume and before returning the token

### Failure 3: two sinks receive the same token

### Failure 4: the clock of the EP is wrong

### Failure 5: a policy bundle with a mistake is deployed

21.3. Security review checklist

Use this list before putting the mechanism into production. A "no" is a finding to resolve or to accept in writing.

21.4. Glossary

22. Security Considerations

Token theft is limited by key binding and by single-use consumption. Enumeration of valid tokens is limited by high-entropy tokens, uniform denial and rate limiting in front of the EP. The identity store is a high-value target and needs its own access control and audit. Uniform denial prevents oracle attacks but can hide a legitimate refusal from a caller; a callback or out-of-band channel is advisable. Timing differences between allow and deny paths can leak state, and the delay in Section 3.3 helps only if it is applied to both paths.

23. Status, Intellectual Property and Notices

This Internet-Draft is submitted as an individual contribution. It is not an IETF standard, has no working group status and does not represent IETF consensus.

Intellectual property: the author is aware of the pending patent applications listed in the section "Related Patent Applications and Public Disclosures". If this draft is submitted to the IETF, the author will make the disclosure required by BCP 79 before or with submission.

Origin and AI assistance. The underlying invention is human-originated and is described in the PCT application named above. AI-assisted tools were used to prepare this document (summaries, mapping to existing technology and threat scenarios). It may contain errors. Readers must cross-check it against the original publicly available PCT filing and against the original sources linked in the references before drawing any conclusion.

Industry names. Company, product and standards names appear only to identify existing technology and the technical problems it addresses. Their appearance is not an endorsement, validation, adoption, partnership or infringement statement, and nothing here presumes patent validity, licensing obligations or technical superiority.

24. IANA Considerations

This document has no IANA actions.

25. Search Aid for Patent Examiners and Researchers

This section lists plain, industry-standard search terms. It is an aid to prior-art searching and is not a claim construction or a statement about scope.

25.1. Keywords

pre-alert call authorization; STIR/SHAKEN; session border controller; IMS application server; SIP gateway; robocall mitigation; AI-generated calls; call screening; number masking; reachability token; one-time token; oblivious HTTP; split trust; lawful interception; SIP 480; SIP 603; CAMARA Number Verification; caller authentication; spam over IP telephony; consent-based calling.

25.2. Search phrases

  • "authorization before ringing"
  • "non-routable destination identifier"
  • "token presented instead of telephone number"
  • "gateway validates token before alerting called party"
  • "denial indistinguishable from destination unavailable"
  • "identity store separated from gateway"
  • "judicial order gated disclosure of subscriber mapping"
  • "atomic consumption of calling quota"

25.3. Indicative classification starting points

Indicative only; not an official classification of the application. H04L 65/1076 (SIP session control); H04L 63/083 (authentication by passwords/tokens); H04L 63/10 (access control); H04M 3/436 (privacy and screening for telephone calls); H04W 12/06 (authentication in wireless networks); H04W 12/12 (fraud detection).

25.4. Existing technology to compare against

  • STIR/SHAKEN: RFC 8224, RFC 8225; ATIS-1000074.
  • Rich Call Data; Robocall Mitigation Database; FCC rules on analytics-based blocking (SIP 603+).
  • GSMA Open Gateway and CAMARA Number Verification, SIM Swap, Scam Signal APIs.
  • Twilio Proxy and Vonage masked calling.
  • Apple call screening, Google Call Screen, Hiya Call Screener.
  • Oblivious HTTP (RFC 9458); 3GPP TS 33.126/127/128.

25.5. Informative references for context

The following references identify the existing specifications and drafts against which this document should be read: [RFC8224], [RFC8225], [RFC8392], [RFC9052], [RFC9334], [RFC9458].

27. Informative References

[RFC8224]
Peterson, "Authenticated Identity Management in the Session Initiation Protocol (SIP)", RFC 8224, , <https://www.rfc-editor.org/info/rfc8224>.
[RFC8225]
Wendt, "PASSporT: Personal Assertion Token", RFC 8225, , <https://www.rfc-editor.org/info/rfc8225>.
[RFC8392]
Jones, "CBOR Web Token (CWT)", RFC 8392, , <https://www.rfc-editor.org/info/rfc8392>.
[RFC9052]
Schaad, "CBOR Object Signing and Encryption (COSE): Structures and Process", RFC 9052, , <https://www.rfc-editor.org/info/rfc9052>.
[RFC9334]
Birkholz, "Remote ATtestation procedureS (RATS) Architecture", RFC 9334, , <https://www.rfc-editor.org/info/rfc9334>.
[RFC9458]
Thomson, "Oblivious HTTP", RFC 9458, , <https://www.rfc-editor.org/info/rfc9458>.

Author's Address

Sangam Kumar Das
Independent
Balasore
Odisha
India