(ModuleEchoLink.conf)
(No difference)

Revision as of 21:33, 2 March 2019

EchoLink® software allows licensed Amateur Radio stations to communicate with one another over the Internet, using streaming-audio technology.

http://echolink.org

Cross-linking with BrandMeister

To create cross-link you need several things:

  • An valid EchoLink node account
  • Patched version of SVXLink software that should be deployed on the same server with BrandMeister
  • One of supported AMBE Dongles

Patch is available here - https://code.brandmeister.network/r3abm/AutoPatch.git
Patched version of SVXLink is available here = https://github.com/stefansaraev/svxlink/tree/autopatch

Compiling

# create user and group
groupadd svxlink
useradd -r -g nogroup -s /sbin/nologin -d /opt/SVXLink -c "SvxLink Daemon" svxlink
usermod -G audio,nogroup,svxlink svxlink

# fetch patched sources, compile and install into /opt/SVXLink
cd /usr/src
git clone https://github.com/stefansaraev/svxlink.git -b autopatch
cd svxlink
./build.sh

# install the systemd unit if you want to run svxlink as systemd service
cp bm/svxlink.service /etc/systemd/system/
systemctl enable svxlink

System configuration

The supplied patch used to translate callsigns that come from EchoLink into DMR IDs.

svxlink.conf

[GLOBAL]
LOGICS=SimplexLogic
CFG_DIR=svxlink.d
TIMESTAMP_FORMAT="%c"
#  CARD_SAMPLE_RATE should be 8000
CARD_SAMPLE_RATE=8000
CARD_CHANNELS=1

[SimplexLogic]
TYPE=Simplex
RX=Rx1
TX=Tx1
MODULES=ModuleEchoLink
CALLSIGN=NOCALL
EVENT_HANDLER=/opt/SVXLink/share/svxlink/events.tcl

[Rx1]
TYPE=Local
AUDIO_DEV=alsa:hw:Loopback,1,2
AUDIO_CHANNEL=0
SQL_DET=VOX
SQL_START_DELAY=0
SQL_HANGTIME=1500
SQL_TIMEOUT=180
VOX_FILTER_DEPTH=20
VOX_THRESH=50

[Tx1]
TYPE=Local
AUDIO_DEV=alsa:hw:Loopback,0,0
AUDIO_CHANNEL=0
PTT_TYPE=NONE
TIMEOUT=180

ModuleEchoLink.conf

[ModuleEchoLink]
# DMR ID to use as a default when SVXLink cannot provide a source callsign
BRIDGE_DEFAULT=nnn
# MASTER ID : AUTOPATCH ID
BRIDGE_PROXY=xxx1:10
# Encoding of text used by EchoLink in your region
BRIDGE_ENCODING=cp1251

NAME=EchoLink
ID=2
TIMEOUT=0
SERVERS=servers.echolink.org
CALLSIGN=N0CALL-L
PASSWORD=trololol
SYSOPNAME=N0CALL
LOCATION=BrandMeister TGxxx0
MAX_QSOS=50
MAX_CONNECTIONS=51
LINK_IDLE_TIMEOUT=300
DESCRIPTION="Link to BrandMeister TGxxx0\n"

EchoLink® software allows licensed Amateur Radio stations to communicate with one another over the Internet, using streaming-audio technology.

http://echolink.org

Cross-linking with BrandMeister[edit]

To create cross-link you need several things:

Patch is available here - https://code.brandmeister.network/r3abm/AutoPatch.git
Patched version of SVXLink is available here = https://github.com/stefansaraev/svxlink/tree/autopatch

Compiling[edit]

# create user and group
groupadd svxlink
useradd -r -g nogroup -s /sbin/nologin -d /opt/SVXLink -c "SvxLink Daemon" svxlink
usermod -G audio,nogroup,svxlink svxlink

# fetch patched sources, compile and install into /opt/SVXLink
cd /usr/src
git clone https://github.com/stefansaraev/svxlink.git -b autopatch
cd svxlink
./build.sh

# install the systemd unit if you want to run svxlink as systemd service
cp bm/svxlink.service /etc/systemd/system/
systemctl enable svxlink

System configuration[edit]

The supplied patch used to translate callsigns that come from EchoLink into DMR IDs.

svxlink.conf[edit]

[GLOBAL]
LOGICS=SimplexLogic
CFG_DIR=svxlink.d
TIMESTAMP_FORMAT="%c"
#  CARD_SAMPLE_RATE should be 8000
CARD_SAMPLE_RATE=8000
CARD_CHANNELS=1

[SimplexLogic]
TYPE=Simplex
RX=Rx1
TX=Tx1
MODULES=ModuleEchoLink
CALLSIGN=NOCALL
EVENT_HANDLER=/opt/SVXLink/share/svxlink/events.tcl

[Rx1]
TYPE=Local
AUDIO_DEV=alsa:hw:Loopback,1,2
AUDIO_CHANNEL=0
SQL_DET=VOX
SQL_START_DELAY=0
SQL_HANGTIME=1500
SQL_TIMEOUT=180
VOX_FILTER_DEPTH=20
VOX_THRESH=50

[Tx1]
TYPE=Local
AUDIO_DEV=alsa:hw:Loopback,0,0
AUDIO_CHANNEL=0
PTT_TYPE=NONE
TIMEOUT=180

ModuleEchoLink.conf[edit]

[ModuleEchoLink]
# DMR ID to use as a default when SVXLink cannot provide a source callsign
BRIDGE_DEFAULT=nnn
# MASTER ID : AUTOPATCH ID
BRIDGE_PROXY=xxx1:10
# Encoding of text used by EchoLink in your region
BRIDGE_ENCODING=cp1251

NAME=EchoLink
ID=2
TIMEOUT=0
SERVERS=servers.echolink.org
CALLSIGN=N0CALL-L
PASSWORD=trololol
SYSOPNAME=N0CALL
LOCATION=BrandMeister TGxxx0
MAX_QSOS=50
MAX_CONNECTIONS=51
LINK_IDLE_TIMEOUT=300
DESCRIPTION="Link to BrandMeister TGxxx0\n"