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
@@ -118,6 +118,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
|
||||
|
||||
@@ -242,6 +243,27 @@ region's 2-digit code and add one `[TRUNK_xx]` section for each of the other
|
||||
|
||||
---
|
||||
|
||||
## Cluster TGs
|
||||
|
||||
The `CLUSTER_TGS` setting enables nationwide talk groups that are broadcast to
|
||||
**all** trunk peers regardless of prefix ownership. In this deployment, TG 222
|
||||
(the Italian national call channel in DMR numbering) is configured as a cluster
|
||||
TG on every reflector:
|
||||
|
||||
```ini
|
||||
CLUSTER_TGS=222
|
||||
```
|
||||
|
||||
When any client on any regional reflector keys up on TG 222, the audio is sent
|
||||
to all 19 other reflectors simultaneously. Unlike prefix-based TGs (which route
|
||||
to a single owning reflector), cluster TGs have no owner — any reflector can
|
||||
originate a transmission. Talker arbitration works the same way (nonce
|
||||
tie-break) if two operators key up simultaneously.
|
||||
|
||||
All reflectors in the mesh must list the same `CLUSTER_TGS` value.
|
||||
|
||||
---
|
||||
|
||||
## Concurrent conversations
|
||||
|
||||
There is **no hardcoded limit** on concurrent QSOs over the trunk. The trunk
|
||||
|
||||
Reference in new issue
Block a user