Add manual alternate radio forwarding paths with profile recovery

This commit is contained in:
alberto committed 2026-10-16 23:32:01 +02:00
1 parent 7b5be2b9f0
commit bf8c3a5146
9 files changed
+120 -13

No files matched your search

+12
View File
@@ -140,6 +140,18 @@ Before changing that profile, the panel backs up `BPQMail.cfg` under `BPQMailCha
**Forwarding** shows configured partners in a compact table. Click a row (or Enter/Space) to expand routing rules, scripts, schedules, queue counts and recent exchanges. Only one row opens at a time; focus survives refresh. Sync buttons are authenticated, serialised and protected against duplicate requests, active sessions and modem use. The next attempt is a log-based estimate; BPQ owns the real timer. Sensitive script commands are masked. Rules remain editable in BPQ.
Optional `manualForwardingRoutes` in local `console.config.json` adds alternate radio paths to an existing BBS partner, without duplicating its queue or creating an automatic schedule:
```json
"manualForwardingRoutes": [
{"id":"N0TEST-VHF","label":"N0TEST · VHF","peer":"N0TEST","port":3,"frequencyMHz":144.825,"mode":"DATA-FM","connectCall":"N0TEST-8"}
]
```
Use your partner's published frequency/callsign and a configured radio port. The button temporarily disables that partner's automatic timer and immediate forwarding, starts an ATTACH/RADIO/CONNECT script, then restores its original profile when BBS streams are idle. The panel saves a backup under `BPQMailChat/Backup-manual-forwarding-*` and recovery state in `manual-forwarding.session.json`; keep it running during the exchange. The normal path's schedule and all routing rules are preserved. Merely listing or expanding the path never calls the station.
Stations with an external scan controller may additionally supply absolute `controller.requestFile` and `controller.statusFile` paths. The panel writes `{id,frequencyMHz,expiresAt}` (90-second reservation); the controller must acknowledge the same `manualRequestId`, `phase:"vhf"`, matching MHz `frequency` and fresh ISO `at`. The selected BPQ port must report `Connected to TNC` and `1200bd` before forwarding starts. The controller must hold the frequency while attached/connected and release it after expiry or `expiresAt:0`. This handshake is intended for a locally configured packet scan controller; it is not installed automatically for other stations.
**Chat** uses the selected sysop's shared session, with rooms, connected users, peer links and private messages. **Monitor** uses BPQTermTCP, with port/direction filters and TXT export. They retain up to 300 chat events and 1000 monitor frames, and disconnect after two minutes without polling.
**Terminale** opens a real Telnet session to the local BPQ `TCPPORT`, automatically authenticating without returning login credentials to the browser. It has amber phosphor styling, scanlines, selectable text and a cursor that respects reduced-motion settings. Enter sends one command; Up/Down browse history. Pulisci clears the screen, Salva testo downloads it, and Disconnetti closes the socket. Scrolling upwards pauses following; the bottom button resumes it.