You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dvmhost/configs/bridge-config.example.yml

196 lines
6.9 KiB

#
# Digital Voice Modem - Bridge
#
# Flag indicating whether the host will run as a background or foreground task.
daemon: true
#
# Logging Configuration
#
# Logging Levels:
# 1 - Debug
# 2 - Informational
# 3 - Warning
# 4 - Error
# 5 - Fatal
#
log:
# Console display logging level (used when in foreground).
displayLevel: 1
# File logging level.
fileLevel: 1
# Flag indicating file logs should be sent to syslog instead of a file.
useSyslog: false
# Full path for the directory to store the log files.
filePath: .
# Full path for the directory to store the activity log files.
activityFilePath: .
# Log filename prefix.
fileRoot: dvmbridge
#
# Network Configuration
#
network:
# Network Peer ID
id: 9000123
# Hostname/IP address of FNE master to connect to.
address: 127.0.0.1
# Port number to connect to.
port: 62031
# FNE access password.
password: RPT1234
# Flag indicating whether or not host endpoint networking is encrypted.
encrypted: false
# AES-256 32-byte Preshared Key
# (This field *must* be 32 hex bytes in length or 64 characters
# 0 - 9, A - F.)
presharedKey: "000102030405060708090A0B0C0D0E0F000102030405060708090A0B0C0D0E0F"
# Flag indicating whether or not the host diagnostic log will be sent to the network.
allowDiagnosticTransfer: true
# Flag indicating whether or not packet dumping is enabled.
packetDump: false
# Flag indicating whether or not verbose debug logging is enabled.
debug: false
# Enable PCM audio over UDP.
udpAudio: false
# Enable meta data such as dstId and srcId in the UDP data.
udpMetadata: false
# PCM over UDP send port.
udpSendPort: 34001
# PCM over UDP send address destination.
udpSendAddress: "127.0.0.1"
# PCM over UDP receive port.
udpReceivePort: 32001
# PCM over UDP receive address.
udpReceiveAddress: "127.0.0.1"
# Flag indicating UDP audio should be encoded using G.711 uLaw.
udpUseULaw: false
# Flag indicating UDP audio should be transmitted without the length leader.
# NOTE: This flag is only applicable when encoding G.711 uLaw.
udpNoIncludeLength: false
# Flag indicating UDP audio should be RTP framed.
# NOTE: This flag is only applicable when encoding G.711 uLaw.
udpRTPFrames: false
# Flag indicating UDP audio should follow the USRP format.
udpUsrp: false
# Flag indicating UDP audio frame timing will be performed at the bridge.
# (This allows the sending source to send audio as fast as it wants.)
udpFrameTiming: false
# Traffic Encryption
tek:
# Flag indicating whether or not traffic encryption is enabled.
enable: false
# Traffic Encryption Key Algorithm
# aes - AES-256 Encryption
# arc4 - ARC4/ADP Encryption
tekAlgo: "aes"
# Traffic Encryption Key ID (Hex)
tekKeyId: 1
# Source "Radio ID" for transmitted audio frames.
sourceId: 1234567
# Flag indicating the source "Radio ID" will be overridden from the detected
# MDC1200 pre- PTT ID.
overrideSourceIdFromMDC: false
# Flag indicating the source "Radio ID" will be overridden from the received
# UDP SRC ID.
overrideSourceIdFromUDP: false
# Flag indicating if the source "Radio ID" is being overriden, and changes mid-call, bridge should
# terminate previous call an initiate a new one. (This applies only when both udpMetadata and overrideSourceIdFromUDP is set.)
resetCallForSourceIdChange: false
# Talkgroup ID for transmitted/received audio frames.
destinationId: 1
# Slot for received/transmitted audio frames.
slot: 1
system:
# Textual Name
identity: BRIDGE
# Network ID (WACN).
netId: BB800
# System ID.
sysId: 001
# PCM audio gain for received (from digital network) audio frames.
# - This is used to apply gain to the decoded IMBE/AMBE audio, post-decoding.
rxAudioGain: 1.0
# Vocoder audio gain for decoded (from digital network) audio frames.
# - This is used to apply gain to the decoded IMBE/AMBE audio in the vocoder.
# - (Not used when utilizing external USB vocoder!)
vocoderDecoderAudioGain: 3.0
# Flag indicating AGC should be used for frames received/decoded.
# - This is used to apply automatic gain control to decoded IMBE/AMBE audio in the vocoder.
# - (Not used when utilizing external USB vocoder!)
vocoderDecoderAutoGain: false
# PCM audio gain for transmitted (to digital network) audio frames.
# - This is used to apply gain to the encoded IMBE/AMBE audio, pre-encoding.
txAudioGain: 1.0
# Vocoder audio gain for transmitted/encoded (to digital network) audio frames.
# - This is used to apply gain to the encoded IMBE/AMBE audio in the vocoder.
# - (Not used when utilizing external USB vocoder!)
vocoderEncoderAudioGain: 3.0
# Audio transmit mode (1 - DMR, 2 - P25, 3 - Analog).
txMode: 1
# Relative sample level for VOX to activate.
voxSampleLevel: 80.0
# Amount of time (ms) from loss of active call (loss of local VOX or end of UDP audio stream) before ending call.
dropTimeMs: 180
# Enables detection of MDC1200 packets on the PCM side of the bridge.
# (This is useful for pre-MDC to set the transmitting source ID.)
detectAnalogMDC1200: false
# Flag indicating whether the analog preamble leader is enabled.
# (This enables a leader control tone before audio frames from the
# network are sent.)
preambleLeaderTone: false
# Frequency of preamble tone.
preambleTone: 2175
# Amount of time (ms) to transmit preamble tone.
preambleLength: 200
# Flag indicating the detected VOX sample level should be dumped to the log (useful for setting VOX levels).
dumpSampleLevel: false
# Flag indicating whether a network grant demand packet will be sent before audio.
grantDemand: false
# Enable local audio over speakers.
localAudio: true
# Flag indicating whether or not trace logging is enabled.
trace: false
# Flag indicating whether or not debug logging is enabled.
debug: false
# RTS PTT Configuration
# Flag indicating whether RTS PTT control is enabled.
rtsPttEnable: false
# Serial port device for RTS PTT control (e.g., /dev/ttyUSB0).
rtsPttPort: "/dev/ttyUSB0"
# Hold-off time (ms) before clearing RTS PTT after last audio output.
rtsPttHoldoffMs: 250
# CTS COR Configuration
# Flag indicating whether CTS-based COR detection is enabled.
ctsCorEnable: false
# Serial port device for CTS COR (e.g., /dev/ttyUSB0). Often same as RTS PTT.
ctsCorPort: "/dev/ttyUSB0"
# Flag indicating whether to invert COR logic (if true, COR LOW triggers instead of HIGH).
ctsCorInvert: false
# Hold-off time (ms) before ending call after CTS COR deasserts.
ctsCorHoldoffMs: 250

Powered by TurnKey Linux.