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:
1 parent
e26b932223
commit
166e57f445
8 files changed
+647
-17
No files matched your search
@@ -121,6 +121,7 @@ IT_84_91 # MOLISE ↔ SICILIA
|
||||
[GLOBAL]
|
||||
LISTEN_PORT=5300
|
||||
LOCAL_PREFIX=01
|
||||
CLUSTER_TGS=222
|
||||
HTTP_SRV_PORT=8080
|
||||
COMMAND_PTY=/dev/shm/reflector_ctrl
|
||||
|
||||
@@ -246,6 +247,30 @@ secondo la convenzione sopra indicata.
|
||||
|
||||
---
|
||||
|
||||
## TG Cluster
|
||||
|
||||
L'impostazione `CLUSTER_TGS` abilita i talk group nazionali che vengono
|
||||
trasmessi a **tutti** i peer trunk indipendentemente dalla proprietà del
|
||||
prefisso. In questo deployment, il TG 222 (il canale di chiamata nazionale
|
||||
italiano nella numerazione DMR) è configurato come TG cluster su ogni
|
||||
reflector:
|
||||
|
||||
```ini
|
||||
CLUSTER_TGS=222
|
||||
```
|
||||
|
||||
Quando un qualsiasi client su un qualsiasi reflector regionale trasmette sul
|
||||
TG 222, l'audio viene inviato a tutti gli altri 19 reflector simultaneamente.
|
||||
A differenza dei TG basati su prefisso (che instradano verso un singolo
|
||||
reflector proprietario), i TG cluster non hanno proprietario — qualsiasi
|
||||
reflector può originare una trasmissione. L'arbitraggio del talker funziona
|
||||
allo stesso modo (tie-break tramite nonce) se due operatori trasmettono
|
||||
contemporaneamente.
|
||||
|
||||
Tutti i reflector nella mesh devono avere lo stesso valore di `CLUSTER_TGS`.
|
||||
|
||||
---
|
||||
|
||||
## Conversazioni simultanee
|
||||
|
||||
Non esiste **nessun limite fisso** al numero di QSO simultanei sul trunk. Il trunk
|
||||
|
||||
Reference in new issue
Block a user