2016-07-23 16:53:22 -04:00
|
|
|
# PROGRAM-WIDE PARAMETERS GO HERE
|
|
|
|
# PATH - working path for files, leave it alone unless you NEED to change it
|
2018-09-23 10:43:32 -04:00
|
|
|
# PING_TIME - the interval that peers will ping the master, and re-try registraion
|
2016-07-24 21:29:36 -04:00
|
|
|
# - how often the Master maintenance loop runs
|
|
|
|
# MAX_MISSED - how many pings are missed before we give up and re-register
|
2018-09-23 10:43:32 -04:00
|
|
|
# - number of times the master maintenance loop runs before de-registering a peer
|
2016-07-20 17:16:27 -04:00
|
|
|
[GLOBAL]
|
|
|
|
PATH: ./
|
2016-07-24 10:42:42 -04:00
|
|
|
PING_TIME: 5
|
2016-07-24 21:29:36 -04:00
|
|
|
MAX_MISSED: 3
|
2016-07-20 17:16:27 -04:00
|
|
|
|
2018-06-19 17:02:38 -04:00
|
|
|
|
|
|
|
# NOT YET WORKING: NETWORK REPORTING CONFIGURATION
|
|
|
|
# Enabling "REPORT" will configure a socket-based reporting
|
|
|
|
# system that will send the configuration and other items
|
|
|
|
# to a another process (local or remote) that may process
|
|
|
|
# the information for some useful purpose, like a web dashboard.
|
|
|
|
#
|
|
|
|
# REPORT - True to enable, False to disable
|
|
|
|
# REPORT_INTERVAL - Seconds between reports
|
|
|
|
# REPORT_PORT - TCP port to listen on if "REPORT_NETWORKS" = NETWORK
|
|
|
|
# REPORT_CLIENTS - comma separated list of IPs you will allow clients
|
|
|
|
# to connect on. Entering a * will allow all.
|
|
|
|
#
|
2018-07-03 22:51:20 -04:00
|
|
|
# ****FOR NOW MUST BE TRUE - USE THE LOOPBACK IF YOU DON'T USE THIS!!!****
|
2018-06-19 17:02:38 -04:00
|
|
|
[REPORTS]
|
2018-07-03 22:51:20 -04:00
|
|
|
REPORT: True
|
2018-06-19 17:02:38 -04:00
|
|
|
REPORT_INTERVAL: 60
|
|
|
|
REPORT_PORT: 4321
|
|
|
|
REPORT_CLIENTS: 127.0.0.1
|
|
|
|
|
|
|
|
|
2016-08-01 10:25:11 -04:00
|
|
|
# SYSTEM LOGGER CONFIGURAITON
|
|
|
|
# This allows the logger to be configured without chaning the individual
|
|
|
|
# python logger stuff. LOG_FILE should be a complete path/filename for *your*
|
|
|
|
# system -- use /dev/null for non-file handlers.
|
2018-08-12 12:10:06 -04:00
|
|
|
# LOG_HANDLERS may be any of the following, please, no spaces in the
|
2016-08-01 10:25:11 -04:00
|
|
|
# list if you use several:
|
|
|
|
# null
|
|
|
|
# console
|
|
|
|
# console-timed
|
|
|
|
# file
|
|
|
|
# file-timed
|
|
|
|
# syslog
|
|
|
|
# LOG_LEVEL may be any of the standard syslog logging levels, though
|
|
|
|
# as of now, DEBUG, INFO, WARNING and CRITICAL are the only ones
|
|
|
|
# used.
|
|
|
|
#
|
2016-07-20 17:16:27 -04:00
|
|
|
[LOGGER]
|
|
|
|
LOG_FILE: /tmp/hblink.log
|
|
|
|
LOG_HANDLERS: console-timed
|
2016-07-20 22:25:47 -04:00
|
|
|
LOG_LEVEL: DEBUG
|
2016-07-20 17:16:27 -04:00
|
|
|
LOG_NAME: HBlink
|
|
|
|
|
2016-09-12 12:26:41 -04:00
|
|
|
# DOWNLOAD AND IMPORT SUBSCRIBER, PEER and TGID ALIASES
|
|
|
|
# Ok, not the TGID, there's no master list I know of to download
|
|
|
|
# This is intended as a facility for other applcations built on top of
|
|
|
|
# HBlink to use, and will NOT be used in HBlink directly.
|
|
|
|
# STALE_DAYS is the number of days since the last download before we
|
|
|
|
# download again. Don't be an ass and change this to less than a few days.
|
|
|
|
[ALIASES]
|
|
|
|
TRY_DOWNLOAD: True
|
|
|
|
PATH: ./
|
|
|
|
PEER_FILE: peer_ids.csv
|
2018-04-16 09:46:58 -04:00
|
|
|
SUBSCRIBER_FILE: subscriber_ids.csv
|
|
|
|
TGID_FILE: talkgroup_ids.csv
|
2018-08-05 12:47:08 -04:00
|
|
|
PEER_URL: https://ham-digital.org/status/rptrs.csv
|
|
|
|
SUBSCRIBER_URL: https://ham-digital.org/status/users.csv
|
2016-09-12 12:26:41 -04:00
|
|
|
STALE_DAYS: 7
|
|
|
|
|
2016-07-30 21:37:05 -04:00
|
|
|
# EXPORT AMBE DATA
|
|
|
|
# This is for exporting AMBE audio frames to an an "external" process for
|
|
|
|
# decoding or other nefarious actions.
|
|
|
|
[AMBE]
|
|
|
|
EXPORT_IP: 127.0.0.1
|
|
|
|
EXPORT_PORT: 1234
|
|
|
|
|
2018-09-25 21:17:55 -04:00
|
|
|
# OPENBRIDGE INSTANCES - DUPLICATE SECTION FOR MULTIPLE CONNECTIONS
|
|
|
|
# OpenBridge is a protocol originall created by DMR+ for connection between an
|
|
|
|
# IPSC2 server and Brandmeister. It has been implemented here at the suggestion
|
|
|
|
# of the Brandmeister team as a way to legitimately connect HBlink to the
|
|
|
|
# Brandemiester network.
|
|
|
|
# It is recommended to name the system the ID of the Brandmeister server that
|
|
|
|
# it connects to, but is not necessary. TARGET_IP and TARGET_PORT are of the
|
|
|
|
# Brandmeister or IPSC2 server you are connecting to. PASSPHRASE is the password
|
|
|
|
# that must be agreed upon between you and the operator of the server you are
|
|
|
|
# connecting to. NETWORK_ID is a number in the format of a DMR Radio ID that
|
|
|
|
# will be sent to the other server to identify this connection.
|
|
|
|
# other parameters follow the other system types.
|
|
|
|
[3102]
|
|
|
|
MODE: OPENBRIDGE
|
|
|
|
ENABLED: True
|
|
|
|
IP:
|
|
|
|
PORT: 62035
|
2018-09-25 21:19:25 -04:00
|
|
|
NETWORK_ID: 3129100
|
|
|
|
PASSPHRASE: password
|
2018-09-25 21:17:55 -04:00
|
|
|
TARGET_IP: 74.91.114.19
|
|
|
|
TARGET_PORT: 62035
|
|
|
|
|
2016-07-24 10:42:42 -04:00
|
|
|
# MASTER INSTANCES - DUPLICATE SECTION FOR MULTIPLE MASTERS
|
2016-07-23 16:53:22 -04:00
|
|
|
# HomeBrew Protocol Master instances go here.
|
|
|
|
# IP may be left blank if there's one interface on your system.
|
|
|
|
# Port should be the port you want this master to listen on. It must be unique
|
|
|
|
# and unused by anything else.
|
2018-09-23 10:43:32 -04:00
|
|
|
# Repeat - if True, the master repeats traffic to peers, False, it does nothing.
|
2016-07-20 20:14:42 -04:00
|
|
|
[MASTER-1]
|
|
|
|
MODE: MASTER
|
2016-07-20 17:16:27 -04:00
|
|
|
ENABLED: True
|
2016-07-27 19:07:01 -04:00
|
|
|
REPEAT: True
|
2016-07-30 21:37:05 -04:00
|
|
|
EXPORT_AMBE: False
|
2016-07-20 17:16:27 -04:00
|
|
|
IP:
|
|
|
|
PORT: 54000
|
2016-07-20 20:14:42 -04:00
|
|
|
PASSPHRASE: s3cr37w0rd
|
2016-12-20 21:59:56 -05:00
|
|
|
GROUP_HANGTIME: 5
|
2016-07-20 20:14:42 -04:00
|
|
|
|
2018-09-23 10:43:32 -04:00
|
|
|
# PEER INSTANCES - DUPLICATE SECTION FOR MULTIPLE PEERS
|
2016-07-23 16:53:22 -04:00
|
|
|
# There are a LOT of errors in the HB Protocol specifications on this one!
|
|
|
|
# MOST of these items are just strings and will be properly dealt with by the program
|
|
|
|
# The TX & RX Frequencies are 9-digit numbers, and are the frequency in Hz.
|
|
|
|
# Latitude is an 8-digit unsigned floating point number.
|
|
|
|
# Longitude is a 9-digit signed floating point number.
|
|
|
|
# Height is in meters
|
2018-06-25 17:15:51 -04:00
|
|
|
# Setting Loose to True relaxes the validation on packets received from the master.
|
|
|
|
# This will allow HBlink to connect to a non-compliant system such as XLXD, DMR+ etc.
|
2016-07-20 17:16:27 -04:00
|
|
|
[REPEATER-1]
|
2018-09-23 10:43:32 -04:00
|
|
|
MODE: PEER
|
2016-07-20 17:16:27 -04:00
|
|
|
ENABLED: True
|
2018-06-25 13:17:30 -04:00
|
|
|
LOOSE: False
|
2016-07-30 21:37:05 -04:00
|
|
|
EXPORT_AMBE: False
|
2016-07-20 17:16:27 -04:00
|
|
|
IP:
|
|
|
|
PORT: 54001
|
|
|
|
MASTER_IP: 172.16.1.1
|
|
|
|
MASTER_PORT: 54000
|
|
|
|
PASSPHRASE: homebrew
|
|
|
|
CALLSIGN: W1ABC
|
|
|
|
RADIO_ID: 312000
|
2016-07-23 16:53:22 -04:00
|
|
|
RX_FREQ: 449000000
|
|
|
|
TX_FREQ: 444000000
|
2016-07-20 17:16:27 -04:00
|
|
|
TX_POWER: 25
|
2016-07-24 10:42:42 -04:00
|
|
|
COLORCODE: 1
|
2016-07-25 09:23:12 -04:00
|
|
|
SLOTS: 1
|
2016-07-24 21:29:36 -04:00
|
|
|
LATITUDE: 38.0000
|
2016-07-23 16:53:22 -04:00
|
|
|
LONGITUDE: -095.0000
|
2016-07-20 17:16:27 -04:00
|
|
|
HEIGHT: 75
|
|
|
|
LOCATION: Anywhere, USA
|
|
|
|
DESCRIPTION: This is a cool repeater
|
|
|
|
URL: www.w1abc.org
|
2017-11-09 06:17:36 -05:00
|
|
|
SOFTWARE_ID: 20170620
|
|
|
|
PACKAGE_ID: MMDVM_HBlink
|
2016-12-26 10:47:34 -05:00
|
|
|
GROUP_HANGTIME: 5
|
2017-11-09 06:17:36 -05:00
|
|
|
OPTIONS:
|