Review of #141:
- A live over sharing a slot with another TG: on the shared SYSTEM the
slot's flat RX fields only hold the last frame, so with hotspot A on
TG 213 and hotspot B on TG 91 talking on the same slot (B's frame
last) tg_quiet_for(213) counted time while A was on air.
tg_quiet_for now also reads each slot's RX_STREAMS (#129): a stream on
the TG with its last frame within STREAM_TO is live.
- An over that ends without a terminator left the record at its start:
the stream trimmer now notes the TG at the stream's last frame when a
hotspot stream (RX_STREAMS) or an OpenBridge ingress stream times out.
_note_tg_heard never moves the record back.
- Tests: your interleaved A/B case, a hotspot over and a mesh over that
lose their terminator (quiet from the last frame, not the start), and
a core announcement (synthetic, no plugin origin) not counted. Each
fails when its fix is removed. The deterministic harness now keeps
RX_STREAMS on HBP ingress, as udp_hbp does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JnjAx7G27d9q88j9PFLj11
Use SUB_MAP's stored peer id for delivery (repeat, unit-data, and
pvt_call_received), add Talker Alias support for private calls, and
report the receiving hotspot to the monitor.
Introduce downlink.py as the single authority for hotspot eligibility (OPTIONS,
slot busy, post-TX GROUP_HANGTIME). send_peer and BRDG fan-out share the same
gate; monitor events carry stream id from BRDG so new QSOs after hangtime
display without replaying calls blocked during the hangtime window.
Planned release: 2.2.0
Normalize all Python sources to the standard ADN copyright block with
complete GPLv3 notice. Add legacy attribution on routing and dmr_utils
ports; drop SemVer wording from changelog and fix an unused test import.
Match legacy routerHBP so ARS/LRRP replies to private subscribers
use pvt_call when SUB_MAP idle check fails, without marking unit data
ingress as voice-busy on the source hotspot.
Replace internal bridge terminology with routing (RoutingUseCases, AclRouter,
routing_table export). SubscriptionStore remains runtime authority with O(1)
indexes for router and downlink filters. Fix STATIC TG parity on OPTIONS/RPTO,
parrot in-band edge cases, and remove per-packet routing_table export from the
hot path that caused high CPU under multi-hotspot OBP load.
Require subscription_store in BridgeUseCases and route timer, OPTIONS,
static TG, and OBP mutations through store ops with export-only BRIDGES shim.
Fix dashboard YAML static TG fallback and sole-hotspot monitor remap for
dynamic UA when a bridge leg is active.
Enforce strict SINGLE=1 RX exclusivity, always filter inject-only downlink by
each peer's own OPTIONS, and push self-service DB options only after PASS=.
Stop merged SYSTEM static TG lists from leaking across hotspots in topology.
Decouple bridge events from TCP send via a reactor-drained queue (50ms, 2048
events). Export peer connected_at in topology so monitor timers survive refresh.