AllStarLink app_rpt is the core radio repeater controller module for Asterisk, providing functionality for amateur radio repeaters, links, and nodes. This repository contains the radio interface modules, signaling protocols, and repeater logic used in AllStarLink 3.
This code implements:
- Radio interface drivers (USB, serial, USRP, voter)
- Repeater control logic (courtesy tones, timeout, hang time)
- Digital signaling protocols (MDC1200, POCSAG)
- Radio bridging and linking functionality
- Configuration management and CLI commands
- Telemetry and monitoring systems
app_rpt/
├── apps/ # Core repeater application logic (app_rpt.c)
├──app_rpt/ # Core repeater application logic support files
├── channels/ # Asterisk channel drivers (radio interfaces)
├── configs/ # Configuration files and examples
├── rpt/ # Configuration files and examples for AllStarLink
├── samples/ # Configuration file samples
├── include/ # Shared header files
├── res/ # Asterisk resource modules
├── tests/ # Automated test suite
└── utils/ # Helper utilities and tuning tools
Feel free to open an issue for any trouble you might be experiencing with these modules. Please try to adhere to the following when submitting bugs:
-
Enable debug to reproduce the issue. You can do this by running
core set debug 5 app_rpt(less than or greater than 5 depending on the issue and how chatty the debug log level is). You can also enable debug all the time inasterisk.conf. To get debug output on the CLI, you will need to add thedebuglevel to theconsole =>log file inlogger.conf. A debug log from the CLI in the seconds leading immediately up to the issue should be provided. -
For segfault issues, a backtrace is needed. Use
ast_coredumperto get a backtrace and post the relevant threads fromfull.txt(almost always Thread 1): https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace (you can also runphreaknet backtrace- make sure to adjust the paste duration from 24 hours if you link the paste link) -
Describe what led up to the issue and how it can be reproduced on our end.
-
Any other context that might be helpful in fixing the issue.
Thank you!
Build instructions can be found in the asl3-asterisk repo: https://github.com/AllStarLink/asl3-asterisk/tree/develop/docs
- Follow existing code style patterns
- All commits must pass clang-format checks
- Run
codespellbefore submitting changes - Write descriptive commit messages explaining why changes are made
Install necessary tools:
sudo apt install clang-format codespell
After installing clang-format and codespell, set up the pre-commit workflow.
From the top level project directory, execute:
./.dev/install-hooks
This will enable coding standards to be checked locally on each commit.
- Fork this repository and create a feature branch
- Make focused, logical commits with clear descriptions
- Ensure pre-commit hooks pass locally
- Test your changes with the appropriate test cases
- Open a Pull Request describing the change and motivation
- Address any review feedback
- Once reviewed, the development team will merge the pull request
Install from source instructions can be found in the asl3-asterisk repo: https://github.com/AllStarLink/asl3-asterisk/tree/develop/docs
Updated instructions are in the ASL3-Manual repo at https://github.com/AllStarLink/ASL3-Manual/blob/main/docs/user-guide/install.md