docs: clarify that local TG numbering is opt-in and routing follows the number

A reflector does not impose the prefix convention on its nodes. Make explicit
the third routing case (previously undocumented): a TG matching no prefix in
the mesh has no owner and stays local-only (relayed among the reflector's own
nodes, never trunked), exactly like stock SvxReflector.

Routing is decided solely by longest-prefix-match on the number itself,
regardless of length: a conforming number is routable wherever its prefix
points *if that prefix is owned by a reflector in the mesh* (e.g. 22210->222
Italy, 26201->262 Germany); a non-matching number (e.g. short 1-199 in a
typical MCC scheme) stays local and is unreachable by international traffic.
Conversely a 'local' number that happens to match a configured prefix will be
routed to that owner.

Use real in-repo MCC examples (222/262) instead of unassigned 201/401, and
state the 'if owned in the mesh' precondition. Updated README (How TG
ownership works), CONCEPTS.md (section 2), and TOPOLOGY_EXAMPLES.md; rebuilt
TOPOLOGY_EXAMPLES.pdf from the matching topology.html change.
This commit is contained in:
Audric committed 2026-06-17 17:28:42 +02:00
1 parent 70de93f19e
commit e35cf42b27
5 files changed
+63 -1

No files matched your search

+22
View File
@@ -223,6 +223,28 @@ When a client on Reflector 1 joins TG 25, Reflector 1 forwards the conversation
over its trunk to Reflector 2 (which owns the "2" prefix). Clients on both
reflectors hear the same audio on TG 25 with no extra configuration.
**Local numbering is the operator's choice — but routing follows the number.** A
reflector does not force its nodes onto the prefix scheme; nodes may select *any*
TG number. Routing is then decided **solely by longest-prefix-match on the number
itself, regardless of its length**:
- A number whose leading digits match a prefix **that some reflector in the
mesh actually owns** is routed to that owner — short or long, and even if the
match was unintended. If a reflector owns Italy's prefix `222`, then `22210`
routes to it; if another owns Germany's `262`, then `26201` routes there.
- A number that matches **no** prefix has no owner: it works locally among that
reflector's own nodes (exactly like stock SvxReflector) but is **never sent
over a trunk** — it is invisible to the mesh and unreachable by international
traffic.
So to keep a talk group **local**, pick a number that matches no mesh prefix
(in a typical MCC scheme, countries occupy `200`–`799`, so short numbers like
`1`–`199` usually stay local — but only because nothing owns that prefix). To be
**reachable** internationally, use a TG under the agreed prefix scheme (your
country's MCC — see [`docs/MCC_COUNTRY_CODES.md`](docs/MCC_COUNTRY_CODES.md)).
Conversely, beware that a "local" number that happens to match a configured
prefix *will* be sent to that owner.
---
## Build