Both sides of a trunk link must now use the same [TRUNK_x] section
name, agreed upon by both sysops. Updated all examples across README,
TRUNK_PROTOCOL, INSTALL, DEPLOYMENT_ITALY (EN+IT), and
DESIGN_SATELLITE_AND_CLUSTER to use sorted-pair naming convention
(e.g. TRUNK_01_02 for the link between prefix 01 and 02).
Satellite reflectors are lightweight relay instances that connect to a
parent reflector instead of joining the full trunk mesh. Clients connect
to the satellite normally; it relays all TGs bidirectionally to the
parent. The parent forwards satellite events to local clients, trunk
peers, and other satellites.
New classes:
- SatelliteLink: parent-side handler for each inbound satellite
connection (HMAC auth, heartbeat, all-TG relay)
- SatelliteClient: satellite-side outbound connection to parent
Wire protocol: MsgTrunkHello gains m_role field (ROLE_PEER=0,
ROLE_SATELLITE=1) to distinguish satellite handshakes.
Config:
- Parent: [SATELLITE] section with LISTEN_PORT and SECRET
- Satellite: SATELLITE_OF, SATELLITE_PORT, SATELLITE_SECRET in [GLOBAL]
HTTP /config endpoint now shows mode (reflector/satellite),
satellite_server config on parents, and satellite connection info.
Docs updated: README, DEPLOYMENT_ITALY, Italian translation.
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.