From 003e1f4dcdd1860486d0e591c6ee57b9b9327786 Mon Sep 17 00:00:00 2001 From: Audric Date: Mon, 13 Jul 2026 10:56:28 +0200 Subject: [PATCH] docs(alias): record why rewrite-on-select redirects instead of refusing The alias number is reserved by folding a client's selection onto the short number rather than rejecting it. That is forced, not chosen: handleSelectTG always honors the requested TG, there is no "selection denied" message in the protocol, and adding one would not help because the client is vanilla upstream svxlink and cannot be changed to react to a refusal -- the operator would just see a dead TG. This rationale lived only in an untracked working note (now removed); capture it next to the behaviour it explains so it is not re-litigated. --- docs/PEER_PROTOCOL.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/PEER_PROTOCOL.md b/docs/PEER_PROTOCOL.md index 479b253..083c62e 100644 --- a/docs/PEER_PROTOCOL.md +++ b/docs/PEER_PROTOCOL.md @@ -864,6 +864,17 @@ selects or monitors that TG, so `8` and `2620008` are always the same conversation locally; there is no way to end up split across both numbers on this reflector. +The long number is thus *reserved* by redirection, not by refusal — and +that is a constraint, not a preference. The reflector has no way to +decline a TG selection: `handleSelectTG` always honors what the client +asks for, and the protocol has no "selection denied" message. Adding one +would not help either, because the client side is vanilla upstream +svxlink and cannot be modified to react to a refusal — an operator would +simply see a dead talk group with no explanation. Silently folding the +selection onto the short number achieves the same goal (nobody can sit in +a separate local room on the alias number) using only mechanisms the +unmodified client already understands. + **Routing on long, delivery on short.** The alias is a translation applied at the local-client / trunk-mesh boundary, not a rename. All prefix routing, owner-relay fan-out, and peer-interest bookkeeping run on the