Compare commits

11 Commits
Author SHA1 Message Date
bjorne a781626f7d release asl3-chan-svx 0.4.0 (configurable rx_hold) 2026-10-25 12:51:25 +01:00
bjorne 102ca50a33 release asl3-chan-svx 0.3.4
Catch the public repo up to current source (was 0.3.2):
  - 0.3.3: dial-through TG Dial(SVX/<section>/<tg>); ship the tuner as
    /usr/bin/svxmixer-svx (no file collision with asl3-chan-svx-sat).
  - 0.3.4: per-direction LADSPA audio chain + 'svx ladspa/eq' CLI;
    fix a module-load crash (zero-init self_test, guard svx_audio_free).
Drops 0.3.1/0.3.2.
2026-10-18 15:51:01 +02:00
bjorneandClaude Opus 4.8 cf84260ac7 release asl3-chan-svx 0.3.2 (limiter dBFS)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GwKsj51W8xnA2T6YEh9Kpc
2026-08-05 21:55:21 +02:00
bjorneandClaude Opus 4.8 bbec256d6a 0.3.1: svxmixer colour bars + setlocale glyph fix + h/H help box + w conf-and-quit
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GwKsj51W8xnA2T6YEh9Kpc
2026-08-05 04:33:12 +02:00
bjorne 1b55b4debf packages: asl3-chan-svx 0.3.0 — audio EQ/AGC/limiter + live svx eq + svxmixer
Rebuild all 4 debs (bookworm/trixie x amd64/arm64) at 0.3.0. Each bundles the
driver .so + /usr/bin/svxmixer (standalone alsamixer-style live tuner). Verified
on allstar: module loads, svx eq applies/clears, svxmixer runs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
2026-08-04 14:22:18 +02:00
bjorneandClaude Opus 4.8 ebd16046cc readme: bump download links 0.2.6 -> 0.2.7
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GwKsj51W8xnA2T6YEh9Kpc
2026-07-31 12:02:15 +02:00
bjorneandClaude Opus 4.8 e55ae46742 release 0.2.7: chan_svx worker-tick TalkerStop fix (Talking-now clears after cobra-key streams)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GwKsj51W8xnA2T6YEh9Kpc
2026-07-31 12:01:55 +02:00
bjorneandClaude Opus 4.8 c6018f082d release 0.2.6: operator TG control (settg/revert/down/up)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GwKsj51W8xnA2T6YEh9Kpc
2026-07-29 06:23:10 +02:00
bjorneandClaude Opus 4.8 19e7e93b42 release 0.2.5: debs + README (fixar tomt debs/ från förra commit)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GwKsj51W8xnA2T6YEh9Kpc
2026-07-29 05:11:08 +02:00
bjorneandClaude Opus 4.8 3ccf3f2360 release 0.2.5: node_info.json -> NodeInfo
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GwKsj51W8xnA2T6YEh9Kpc
2026-07-29 05:10:46 +02:00
sa2blv 357a0a9d94 Update README.md 2026-07-27 00:17:43 +02:00
10 changed files with 295 additions and 30 deletions

No files matched your search

+150
View File
@@ -0,0 +1,150 @@
asl3-chan-svx (0.4.0) unstable; urgency=medium
* rx_hold: configurable RX tail-hang (ms) in svx.conf, replacing the
hardcoded MAX_RXKEY_TIME. Controls how long the radio stays keyed after
the last RX frame before UNKEY; lower = drops RX faster. Default 80
(= previous behaviour), clamp 0-2000, shown in 'svx show'.
-- SA7AUX <bjorne@sa7aux.se> Sun, 25 Oct 2026 12:28:41 +0100
asl3-chan-svx (0.3.4) unstable; urgency=medium
* ladspa: multi-slot audio-processing chain per direction (conf
rx_/tx_ladspa, live 'svx eq' ladspa token, teardown)
* ladspa: svx_audio_ladspa_enumerate_json() catalogue + 'svx ladspa
list' CLI verb for the web audio-chain picker
* fix: load crash (zero-init self_test + guard svx_audio_free);
Makefile.module links -ldl for the LADSPA dlopen host
-- SA7AUX <bjorne@sa7aux.se> Mon, 10 Aug 2026 14:29:11 +0200
asl3-chan-svx (0.3.3) unstable; urgency=medium
* Dial-through TG: Dial(SVX/<section>/<tg>) overrides the section's tg with
<tg>, so a PBX plan can strip a 91 prefix and reach any talkgroup
(91<tg># -> SVX/<section>/<tg>). The section still supplies
host/login/password; only the TG comes from the call. No /<tg> = unchanged.
* Ship the svxmixer tuner as /usr/bin/svxmixer-svx instead of /usr/bin/svxmixer,
so this package no longer conflicts with asl3-chan-svx-sat (which ships the
identical binary as svxmixer). Both can now be installed on the same box.
-- SA7AUX <bjorne@sa7aux.se> Sat, 08 Aug 2026 00:53:48 +0200
asl3-chan-svx (0.3.2) unstable; urgency=medium
* Limiter ceiling is now set in dBFS (0 dBFS = full scale) instead of a raw
linear PCM value, in the config, the live-EQ CLI and the svxmixer TUI.
Back-compatible: existing linear rx_lim_ceil/tx_lim_ceil keys are read and
converted on load; the new keys are rx_lim_ceil_db/tx_lim_ceil_db.
-- SA7AUX <bjorne@sa7aux.se> Wed, 05 Aug 2026 21:37:56 +0200
asl3-chan-svx (0.3.1) unstable; urgency=medium
* svxmixer: alsamixer-style colour bars (green->yellow->red by cell height),
a setlocale() call so the block glyphs render instead of raw UTF-8 bytes, an
h/H help box in its own window (any key returns to the mixer), and w now
prints the [section] conf block AND quits (no separate q needed).
-- SA7AUX <bjorne@sa7aux.se> Wed, 05 Aug 2026 04:21:58 +0200
asl3-chan-svx (0.3.0) unstable; urgency=medium
* Audio: full per-direction chain (preamp -> 7-band EQ -> AGC -> limiter) per
section, config-driven and default-off (an untouched section is a
bit-identical passthrough). Same RBJ coefficients/bands as the other drivers.
* Live tuning: `svx eq <section> set|clear` applies the chain MID-CALL
(30 s auto-revert TTL). New per-section keys rx/tx_agc_target, rx/tx_lim_ceil,
rx/tx_eq_on, rx/tx_eq.
* New svxmixer: a standalone alsamixer-style ncurses tuner shipped in this
package (/usr/bin/svxmixer) — adjust gain/AGC/limiter/EQ live and hear it
mid-call, then paste the printed block into svx.conf and restart.
-- SA7AUX <bjorne@sa7aux.se> Tue, 04 Aug 2026 14:30:00 +0200
asl3-chan-svx (0.2.7) unstable; urgency=medium
* chan_svx: fire the deferred TalkerStop from the worker's 200 ms tick, not
only from the voice-write path. With cobra-fast bridge keying, when the
stream finally went quiet the far end stopped sending frames, so the armed
TalkerStop never fired and the reflector held the node as talking forever
(the dashboard "Talking now" never cleared). The worker now sends the stop
once the hold time elapses regardless of audio flow.
-- bjorne <bjorne@sa7aux.se> Fri, 31 Jul 2026 11:50:34 +0200
asl3-chan-svx (0.2.6) unstable; urgency=medium
* Operator TG control from the AllStar side: new CLI 'svx settg / revert /
down / up <section>' lets an app_rpt DTMF or dial-in command switch a node's
reflector TG live (SelectTG), return to the configured default, or take the
link down/up — without touching the login or config. New per-section
'tg_timeout' (minutes) auto-reverts if a temporary switch is forgotten; a
reconnect also restores the default. 'svx show' now prints default_tg /
tg_timeout / state. Gate it with a DTMF PIN — see doc/TG_CONTROL.md.
-- SA7AUX <bjorne@sa7aux.se> Wed, 29 Jul 2026 06:18:45 +0200
asl3-chan-svx (0.2.5) unstable; urgency=medium
* chan_svx: read /etc/asterisk/node_info.json and send it as NodeInfo over
the reflector link. (1a0d961)
-- SA7AUX <bjorne@sa7aux.se> Wed, 29 Jul 2026 05:04:32 +0200
asl3-chan-svx (0.2.4) unstable; urgency=medium
* doc/CONFIGURATION.md: complete step-0-to-working guide — install, svx.conf,
rpt.conf (incl. the ASL3 custom/ include), modules.conf, verify, auto-connect
& always-up (startup_macro, permanent ilink 13, crontab), full settings
reference, svx show fields, troubleshooting. Shipped in the package docs.
-- SA7AUX <bjorne@sa7aux.se> Fri, 24 Jul 2026 17:30:00 +0200
asl3-chan-svx (0.2.3) unstable; urgency=medium
* Force the reflector login to upper case — SvxReflector validates the auth
callsign and rejects lower case ("kt4roy-a" -> "Invalid callsign").
-- SA7AUX <bjorne@sa7aux.se> Fri, 24 Jul 2026 16:55:00 +0200
asl3-chan-svx (0.2.2) unstable; urgency=medium
* TX TalkerStop hold time (tx_hold, default 250 ms): a brief unkey/rekey
mid-over no longer closes and reopens the reflector talker, removing the
short audio dropouts a remote station's COS flicker/link hangtime caused.
* 'svx show' reports tx_hold and TalkerStart/Stop counts (starts/stops).
-- SA7AUX <bjorne@sa7aux.se> Fri, 24 Jul 2026 15:55:00 +0200
asl3-chan-svx (0.2.1) unstable; urgency=medium
* postinst: insert the load line inside the [modules] section (appending at
end-of-file could land it in a later section, e.g. [global], where Asterisk
ignores it).
* builder: tag the package version with the target suite (~bookworm/~trixie)
so per-OS builds do not collide.
-- SA7AUX <bjorne@sa7aux.se> Fri, 24 Jul 2026 15:30:00 +0200
asl3-chan-svx (0.2.0) unstable; urgency=medium
* RX robustness for real-world links: configurable jitter buffer, Opus
inband-FEC recovery, and PLC concealment.
* Audio conditioning per direction: preamp, AGC, and clipping limiter
(rx_gain/tx_gain, rx_agc/tx_agc).
* 'svx show' reports jitter/gain/AGC settings and fec/plc counters.
* Maintainer/bug contact: bjorne@sa7aux.se.
-- SA7AUX <bjorne@sa7aux.se> Fri, 24 Jul 2026 15:05:00 +0200
asl3-chan-svx (0.1.0) unstable; urgency=medium
* Initial release: chan_svx, an SVXReflector channel driver for
AllStarLink 3 / app_rpt.
* Direct app_rpt -> SVXReflector bridge over Opus, no USRP hop.
* One instance = one login = one talkgroup = one stream; slin 8 kHz <-> Opus
with inband FEC; HMAC-SHA1 auth; auto-reconnect; 'svx show' CLI.
* Verified live on asl3-asterisk 22.9.0 (x86-64), bidirectional audio.
-- SA7AUX <bjorne@sa7aux.se> Fri, 24 Jul 2026 14:40:00 +0200
+145 -30
View File
@@ -1,47 +1,162 @@
# asl3-chan-svx — prebuilt packages # asl3-chan-svx
Prebuilt `.deb` packages for **chan_svx**, an Asterisk channel driver for **chan_svx** is an Asterisk channel driver for **AllStarLink 3** that connects directly to a **SvxLink SVXReflector**.
AllStarLink 3 (app_rpt) that speaks the SvxLink **SVXReflector** protocol
directly — no USRP hop, single Opus transcode.
Source code: private. Bug reports: **bjorne@sa7aux.se**. Unlike traditional solutions that rely on a USRP bridge, `chan_svx` speaks the SVXReflector protocol natively, providing:
## Which package? - Lower latency
- Simpler system architecture
- A single Opus transcoding step
- Reduced CPU and memory usage
- Direct integration with `app_rpt`
Pick by your OS (Debian codename) and CPU architecture. Check with This allows SVXReflector talk groups to be used directly from AllStarLink without an intermediate USRP connection.
`. /etc/os-release; echo $VERSION_CODENAME` and `dpkg --print-architecture`.
| Platform | Package | ## Features
|---|---|
| Debian 13 **trixie**, x86-64 | `debs/asl3-chan-svx_0.2.4~trixie_amd64.deb` |
| Debian 13 **trixie**, arm64 (Raspberry Pi OS trixie, Pi 3/4/5) | `debs/asl3-chan-svx_0.2.4~trixie_arm64.deb` |
| Debian 12 **bookworm**, x86-64 | `debs/asl3-chan-svx_0.2.4~bookworm_amd64.deb` |
| Debian 12 **bookworm**, arm64 (Raspberry Pi OS bookworm) | `debs/asl3-chan-svx_0.2.4~bookworm_arm64.deb` |
64-bit only. Requires AllStarLink 3 (`asl3-asterisk`) already installed — - Native SVXReflector connectivity
the package must match that exact release, so use the deb for your OS. - Direct integration with AllStarLink 3 (`app_rpt`)
- SVXReflector v2 protocol support (HMAC-SHA1)
- Configurable jitter buffer, TalkerStop hold (`tx_hold`) and RX tail-hang (`rx_hold`)
- Adjustable RX/TX gain
- Optional RX/TX AGC
- Support for x86-64 and ARM64 (Raspberry Pi)
## Install Source code is private.
Bug reports and support requests: **bjorne@sa7aux.se**
## Requirements
- Debian 12 (Bookworm) or Debian 13 (Trixie)
- AllStarLink 3 (`asl3-asterisk`) already installed
- Access credentials for an SVXReflector
## Download
Clone the repository:
```sh ```sh
sudo apt install ./debs/asl3-chan-svx_0.2.4~<os>_<arch>.deb git clone https://github.com/<your-repository>/asl3-chan-svx.git
cd asl3-chan-svx
``` ```
Dependencies (`asl3-asterisk`, `libopus0`, `libssl3`) resolve automatically. ## Choose the Correct Package
Then, to enable it: Verify your Debian release:
1. Create `/etc/asterisk/svx.conf` (host, port, login, password, callsign, tg — ```sh
plus optional `tx_hold`, `jitter`, `rx_gain`/`tx_gain`, `rx_agc`/`tx_agc`). . /etc/os-release
2. Uncomment `load = chan_svx.so` in `/etc/asterisk/modules.conf`. echo $VERSION_CODENAME
3. Set `rxchannel = SVX/<section>` on your node in `/etc/asterisk/rpt.conf`. ```
4. `sudo asterisk -rx "core restart now"` then `sudo asterisk -rx "svx show"`.
`postinst` prints these steps, and a full walkthrough ships in Verify your CPU architecture:
`/usr/share/doc/asl3-chan-svx/INSTALL.md`.
```sh
dpkg --print-architecture
```
| Platform | Package |
|-----------|----------|
| Debian 13 (Trixie), x86-64 | `debs/asl3-chan-svx_0.4.0~trixie_amd64.deb` |
| Debian 13 (Trixie), ARM64 (Raspberry Pi OS Trixie) | `debs/asl3-chan-svx_0.4.0~trixie_arm64.deb` |
| Debian 12 (Bookworm), x86-64 | `debs/asl3-chan-svx_0.4.0~bookworm_amd64.deb` |
| Debian 12 (Bookworm), ARM64 (Raspberry Pi OS Bookworm) | `debs/asl3-chan-svx_0.4.0~bookworm_arm64.deb` |
Only 64-bit platforms are supported.
## Installation
Install the package that matches your operating system and architecture:
```sh
sudo apt install ./debs/asl3-chan-svx_0.4.0~<os>_<arch>.deb
```
Required dependencies (`asl3-asterisk`, `libopus0`, and `libssl3`) will be installed automatically.
## Configuration
### 1. Create svx.conf
Create `/etc/asterisk/svx.conf` and configure:
- Reflector hostname
- Port
- Callsign
- Password
- Talk group
Optional settings:
- `tx_hold`
- `rx_hold`
- `jitter`
- `rx_gain`
- `tx_gain`
- `rx_agc`
- `tx_agc`
### 2. Enable the Channel Driver
Edit `/etc/asterisk/modules.conf` and enable the module:
```ini
load = chan_svx.so
```
If a line already exists as:
```ini
;load = chan_svx.so
```
remove the leading semicolon.
### 3. Configure app_rpt
Edit `/etc/asterisk/rpt.conf` and set:
```ini
rxchannel = SVX/<section>
```
where `<section>` matches the section name in `svx.conf`.
### 4. Restart Asterisk
```sh
sudo asterisk -rx "core restart now"
```
### 5. Verify Operation
Check the driver status:
```sh
sudo asterisk -rx "svx show"
```
A successful connection will display reflector and talk group information.
## Documentation
A complete installation and configuration guide is included with the package:
```text
/usr/share/doc/asl3-chan-svx/INSTALL.md
```
The package post-install script (`postinst`) also displays the required setup steps after installation.
## Compatibility
`chan_svx` implements the SVXReflector v2 protocol (HMAC-SHA1).
Reflectors that provide v2 compatibility can be used even if their SvxLink nodes normally operate using v3/TLS.
## Notes ## Notes
- Reflector logins are used **upper-case** (SvxReflector validates the callsign). - Reflector logins must use an **upper-case callsign**.
- Speaks SVXReflector **v2** (HMAC-SHA1). Reflectors that also offer v2 work even - SVXReflector validates callsigns case-sensitively.
if their nodes normally use v3/TLS. - The package version should match the installed AllStarLink 3 release.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.