Implement cluster TGs and /config HTTP endpoint

Cluster TGs (BrandMeister-style): talk groups broadcast to all trunk
peers regardless of prefix ownership. Configured via CLUSTER_TGS in
[GLOBAL]. Routing checks in TrunkLink now accept isSharedTG || isClusterTG
for all 8 inbound/outbound handlers. Validated at startup to not overlap
with any LOCAL_PREFIX or REMOTE_PREFIX.

New GET /config endpoint returns static configuration (local_prefix,
cluster_tgs, listen_port, http_port, trunk peers) for dashboard use.

Docs: cluster TG sections added to README, DEPLOYMENT_ITALY, and
Italian translation. Design doc for satellite reflectors and cluster
TGs added.
This commit is contained in:
Audric committed 2026-03-20 12:41:26 +01:00
1 parent e26b932223
commit 166e57f445
8 files changed
+647 -17

No files matched your search

@@ -13,6 +13,7 @@ LISTEN_PORT=5300
#CODECS=OPUS
TG_FOR_V1_CLIENTS=999
#LOCAL_PREFIX=1
#CLUSTER_TGS=222,2221,91
#RANDOM_QSY_RANGE=12399:100
#HTTP_SRV_PORT=8080
COMMAND_PTY=/dev/shm/reflector_ctrl