Bare 2-digit regional codes (e.g. LOCAL_PREFIX=01) carried no country
namespace and would collide with any other country picking the same
regional digits. Prefix every LOCAL_PREFIX and REMOTE_PREFIX with the
Italy MCC (222), so each value sits inside the 222 prefix space
(e.g. Lazio = 22201, Lombardia = 22221). Section names
[TRUNK_xx_yy] and SECRET=IT_xx_yy keep the 2-digit form as readable
identifiers — only the prefix values themselves are MCC-anchored.
Inventory table, prose explanation, complete Lazio config block,
per-region checklist, and the parallel Italian translation all
updated in lockstep.
- WW_DEPLOYMENT.md, DEPLOYMENT_ITALY.md (+ IT translation): add the
per-id SECRET_<id>= snippet alongside the existing single-secret
example so operators see both forms.
- TOPOLOGY_EXAMPLES.md: rewrite the obsolete 'future work:
per-satellite secrets' callout in §3 to reflect the shipped feature;
touch up §4 reference to the parent's SECRET.
- DESIGN_SATELLITE_AND_CLUSTER.md: preserve the original design body;
add a brief postscript pointing readers to the per-id form in the
README.
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.