Skip to content

09 Voice

e2ret edited this page Dec 5, 2026 · 2 revisions

Voice

From v1.2.0: live voice rooms on the gateway (NOEMA Voice / LXST), Talk Here with a headset, dial-in from phone clients, and gateway↔gateway join by hash.

From v1.2.1: Radio on the same tab — broadcast a stream URL as an LXST station (Call ID for Sideband / rnphone).

Sidebar: Messaging → Voice.

Layout

Two columns on desktop (stacked on phone):

Left Right
Your server hash + dial-in number Service Start / Stop / Refresh
Rooms (create, Talk Here, Copy, Delete) Bluetooth headset
Join someone else’s server (paste their hash)
Radio (stream URL → ON AIR, Call ID)

Talk Here = this gateway joins that room with the local headset client. Copy = share the room-server hash so a guest can connect.

Host (others join you)

  1. Start the Voice service (status must become active).
  2. Copy the hash and send it to the other party.
  3. Open a room with Talk Here and speak on the headset.

Default dial-in room is Talk (dialin.room in config). Extra rooms (codec / private) are optional; phone dial-in always lands in Talk.

Guest (you join them)

  1. Paste their 32-hex room-server hash (not yours).
  2. Room name (usually Talk).
  3. Connect.

That is the gateway↔gateway “call”. There is no dial-out from gateway to a phone number.

Phone dial-in

  • Caller: rnphone / Sideband (or compatible) dials the dial-in number shown on Voice.
  • Gateway: banner / browser notify / optional Telegram + speaker ring → Answer (joins Talk) or Reject.

Outbound gateway → phone is not supported.

Bluetooth headset

  1. bluetoothctl list must show a controller. If empty (No default controller available), the board has no working BT under Linux — use a USB Bluetooth dongle (common on Amlogic TV boxes such as Tanix W2 / S905W2).
  2. Put buds in pairing mode; disconnect them from the phone.
  3. Find headset → tap the device → pair/connect.
  4. Prefer HFP (hands-free). Talk Here forces Pulse defaults to bluez_output / bluez_input when buds are up so USB audio does not steal the sink.

Helpers (installed by Update / install): /usr/local/bin/noema-bt-headset.sh.

Radio (LXST station) — v1.2.1

Block 3. Radio on the Voice page. The gateway rebroadcasts an Icecast/HTTP stream (or similar) as an LXST “call”. Listeners dial the Call ID — they do not paste it back into the dashboard.

  1. Set station name, stream URL (http… / https…), optional slots.
  2. ON AIR. Status becomes on air when systemd is up; ffmpeg: ok must show.
  3. Copy the Call ID.
  4. On the phone: Sideband → Voice → paste Call ID → Call. Profile SHQ, half duplex. Or rnphone / radio-lxst player with the same ID.

First start (CPU)

The first ON AIR builds Reticulum stamps (often 2–3 destinations). Journal shows preparing stamps 1/3 … 3/3. CPU can sit near 100% for several minutes once. When you see on air and Announced …, dial from the phone. Later starts reuse stamps from disk and are fast.

journalctl -u noema-radio -f
# look for: Stamp 3/3 ready … / on air / Announced

Services and files (Radio)

Item Path / unit
systemd noema-radio.service (enabled; starts when you press ON AIR)
Settings ~/dashboard/noema-radio/settings.json
Identity ~/dashboard/noema-radio/identity
Code NOEMA-RNSGate-FULL/radio-lxst/ + dashboard/radio.py

Needs ffmpeg and pip packages lxst, numpy, psutil, cbor2 (install / Update install them). Station stays off after Update until you set a URL and go ON AIR.

Services and files (Voice)

Item Path / unit
systemd noema-voice.service
Config ~/dashboard/noema-voice-server.json
State / addresses ~/dashboard/noema-voice-state/
Package NOEMA-RNSGate-FULL/noema-voice/ in the venv
systemctl status noema-voice
journalctl -u noema-voice -n 80 --no-pager
systemctl status noema-radio
journalctl -u noema-radio -n 80 --no-pager

On a host upgraded from 1.1.x / 1.2.0, System → Update NOEMA runs scripts/post-update.sh, which installs the Voice package, Radio deps + unit, writes missing configs, and starts Voice. Start on the Voice tab also provisions a missing Voice unit once. Radio unit is enabled idle until ON AIR.

Upgrade note

One Update is enough for Voice + Radio + map deps + wardrive units. Wait until the command finishes (pip / ffmpeg can take several minutes), then hard-refresh the browser. See 12 System#update-noema.

Clone this wiki locally