GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - HafiziRuslan/Zello_Bridge: This tool allows Zello Free or Zello Work channels to be connected to USRP, enabling bridging of amateur radio networks to the Zello network.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

155 Commits
155 Commits

Folders and files

NameName
Last commit message
Last commit date
zello_bridge
zello_bridge
 
 
.env.sample
.env.sample
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CHANGES-ASL.md
CHANGES-ASL.md
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
pylock.toml
pylock.toml
 
 
pyproject.toml
pyproject.toml
 
 
requirements.txt
requirements.txt
 
 
sbom.json
sbom.json
 
 
uv.lock
uv.lock
 
 
zello_bridge.service
zello_bridge.service
 
 

Repository files navigation

Zello Bridge

This tool allows Zello Free or Zello Work channels to be connected to USRP, enabling bridging of amateur radio networks to the Zello network.

Tested with:

  • AllStarLink chan_usrp
  • DVSwitch Analog_Bridge
  • MMDVM_CM USRP2DMR and USRP2YSF
  • SvxLink via a third-party USRP module

The original inspiration for this project was the work done by Rob G4ZWH to build a public Zello bridge to the FreeSTAR network using SIP softphones and the Zello Windows client. This was well received but had limitations. Matt G4IYT later rebuilt the bridge as a dedicated service using the Zello Channels API.

Current users of the bridge include:

  • FreeSTAR
  • CumbriaCQ.com
  • 235 Alive

The bridge does not require significant resources. The FreeSTAR bridge runs on a VPS with 1 VCPU and 1GB RAM, and performs well on both AMD64 and ARM platforms.


Table of Contents

  • Prerequisites
  • Installation
    • Dependencies
    • Install with uv
    • Docker
  • Setup Service
    • Create .env File
    • Enable and Start Service
    • Updating
  • AllStarLink Setup
    • Configure rpt.conf
    • privatenodes.txt (Supermon/AllScan)
    • Allmon3 Overrides (web.ini)
  • Credits

Prerequisites

The bridge needs a Zello account to log into. This account represents the “user” speaking whenever traffic is sent from AllStarLink into Zello.

Recommended setup:

  1. Create a dedicated Zello account for the bridge (do not use your personal account).
  2. Ensure this account has permission to talk and listen in your Zello channel.
  3. Convert this account into a developer account by logging into the Zello Developers Console.
  4. Under Keys, click Add Key. Save both the Issuer and the Private Key.

The private key is long. Copy the entire contents and save them to a .key file (for example, /opt/zello_bridge/zello.key). You will reference this file in your service configuration.


Installation

These instructions were tested with Debian 12. Adjust as needed for other systems.

There are three installation methods:

  • uv (recommended): modern, isolated, avoids interfering with system packages.
  • docker: containerized deployment on Docker/Podman/Kubernetes.

Dependencies

apt-get install libogg-dev libopusenc-dev libflac-dev libopusfile-dev libopus-dev libvorbis-dev libopus0 git

Install with uv

Install Python dependencies:

apt-get install python3-venv python3-pip

Download code:

cd /opt
git clone https://github.com/HafiziRuslan/Zello_Bridge.git

Install the bridge with uv:

cd /opt/Zello_Bridge
uv sync

Setup Service

sudo ln -sf $(pwd)/zello_bridge.service /etc/systemd/system

The service file is configured to load environment variables from a .env file. Create this file at /opt/Zello_Bridge/.env with your configuration.

Create .env File

sudo cp .env.sample .env

or

sudo nano /opt/Zello_Bridge/.env

The file should contain the following lines:

USRP_BIND=127.0.0.1
USRP_HOST=127.0.0.1
USRP_RXPORT=34001
USRP_TXPORT=32001

ZELLO_USERNAME=myuser
ZELLO_PASSWORD=mypass
ZELLO_CHANNEL="My Test Channel"

ZELLO_PRIVATE_KEY=/opt/Zello_Bridge/zello.key
ZELLO_ISSUER_ID=/opt/Zello_Bridge/zello.id
ZELLO_WS_ENDPOINT=wss://zello.io/ws

Enable and Start Service

sudo systemctl daemon-reload
sudo systemctl enable zello_bridge
sudo systemctl start zello_bridge

Updating

To update the bridge to the latest version and clean the environment:

  1. Stop the service:

    sudo systemctl stop zello_bridge
  2. Reset the repository:

    git fetch --all
    git reset --hard origin/$(git symbolic-ref --short HEAD)
  3. Clean environment and cache:

    rm -rf .venv
    find . -type d -name "__pycache__" -exec rm -rf {} +

    or use uv

    uv tool run pyclean . --debris
    uv venv --clear
  4. Rebuild and Sync:

    uv sync
  5. Restart the service:

    sudo systemctl start zello_bridge

Full command:

sudo systemctl stop zello_bridge
git fetch --all
git reset --hard origin/$(git symbolic-ref --short HEAD)
rm -rf .venv
find . -type d -name "__pycache__" -exec rm -rf {} +
uv tool run pyclean . --debris
uv venv --clear
uv sync
sudo systemctl start zello_bridge

AllStarLink Setup

Configure rpt.conf

Set up a node with a USRP channel in ASL (asl-menu can add a new node number). Example rpt.conf:

[1001](node-main)
rxchannel = USRP/127.0.0.1:34001:32001
duplex = 0       ; Half duplex, no telemetry or hang time
linktolink = yes ; Force full-duplex even with duplex=0
hangtime = 0     ; Disable hangtime
althangtime = 0  ; Disable alt hangtime
telemdefault = 0 ; Disable telemetry
nounkeyct = 1    ; Disable courtesy tone
wait_times = wait-times-1001 ; Point to wait-times-1001 stanza

[wait-times-1001]
telemwait = 0 ; Disable telemetry wait time
idwait = 0    ; Disable ID wait time
unkeywait = 0 ; Disable unkey wait time

This creates node 1001 on your server with a USRP rxchannel for your Zello bridge to connect to. You can then link node 1001 to other nodes as desired.

privatenodes.txt (Supermon/AllScan)

To make node 1001 display nicely in Supermon/AllScan, add an entry to /etc/asterisk/privatenodes.txt:

Node | Callsign | Description   | Location
1001 | MyCall   | Zello Channel | QTH

Append the entry:

echo "1001|MyCall|Zello Channel|QTH" | sudo tee -a /etc/asterisk/privatenodes.txt

Install support for privatenodes:

sudo apt install asl3-update-nodelist

Allmon3 Overrides (web.ini)

privatenodes.txt is not used by Allmon3. To override labels in Allmon3, add the line to the [node-overrides] section of /etc/allmon3/web.ini.

Append if the section already exists:

sudo sed -i '/^\[node-overrides\]/a 1001 = MyCall Zello Channel QTH' /etc/allmon3/web.ini

Restart Allmon3:

sudo systemctl restart allmon3

If [node-overrides] does not exist, create it and add the line:

sudo sh -c 'grep -q "^\[node-overrides\]" /etc/allmon3/web.ini || echo "[node-overrides]" >> /etc/allmon3/web.ini'
echo "1001 = MyCall Zello Channel QTH" | sudo tee -a /etc/allmon3/web.ini
sudo systemctl restart allmon3

Resulting section:

[node-overrides]
1001 = MyCall Zello Channel QTH

Docker

A Dockerfile is included:

docker build -t zello_bridge .

Run with required environment variables (Zello Free example):

docker run --rm -it \
  -e USRP_BIND=0.0.0.0 \
  -e USRP_HOST=allstar.node \
  -e USRP_RXPORT=34001 \
  -e USRP_TXPORT=32001 \
  -e ZELLO_WS_ENDPOINT=wss://zello.io/ws \
  -e ZELLO_CHANNEL="My Test Channel" \
  -e ZELLO_PRIVATE_KEY=/test.key \
  -e ZELLO_USERNAME=myuser \
  -e ZELLO_PASSWORD=mypass \
  -e ZELLO_ISSUER=my-issuer-id \
  -v /src/zello_bridge/test.key:/test.key \
  zello_bridge

This also works with docker-compose, Kubernetes, or any container runtime.


Credits

zello_bridge is built and maintained by Matt G4IYT, enhanced by Hafizi 9M2FZY

Special thanks to:

  • Rob G4ZWH for inspiration and FreeSTAR bridge hosting
  • Shane M0VUB for support on behalf of FreeSTAR
  • Lee M0LLC for early adoption and CumbriaCQ testing
  • Piotr G0TWP for SvxLink testing and bug discovery

About

This tool allows Zello Free or Zello Work channels to be connected to USRP, enabling bridging of amateur radio networks to the Zello network.

Topics

allstarlinkdvswitchmmdvmsvxlinkusrpzello

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

1 fork
Report repository

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.