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.
This commit is contained in:
1 parent
238126ab33
commit
003e1f4dcd
1 file changed
+11
@@ -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
|
conversation locally; there is no way to end up split across both numbers
|
||||||
on this reflector.
|
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
|
**Routing on long, delivery on short.** The alias is a translation applied
|
||||||
at the local-client / trunk-mesh boundary, not a rename. All prefix
|
at the local-client / trunk-mesh boundary, not a rename. All prefix
|
||||||
routing, owner-relay fan-out, and peer-interest bookkeeping run on the
|
routing, owner-relay fan-out, and peer-interest bookkeeping run on the
|
||||||
|
|||||||
Reference in new issue
Block a user