Re: dvswich.ini


Jeff Carrier
 

Found it and squashed it.  

Was seeing this M: 2018-08-15 18:12:24.314 P25 packet received from an invalid source, 127.0.0.1 != 10.1.2.240 and/or 42020 != 42020

It didn't like the loopback address MMDVM_Bridge.ini under P25 Network

On Wed, Aug 15, 2018 at 12:09 PM Jeff Carrier <k0jsc.jeff@...> wrote:
RR Steve thank you for the help!

I'm not out of the woods yet.  Getting audio from USRP but not to USRP.  Getting close

Weird thing is that it was working until the reboot 

On Wed, Aug 15, 2018 at 12:04 PM Steve N4IRS <szingman@...> wrote:
Jeff,
Glad you got things sorted out. I do have one general comment. In you DVSwitch.ini you have what I assume is unused modes "commented out" There is no need to do that since MMDVM_Bridge will only use that stanza and ports is the mode is enabled in MMDVM_Bridge.ini. Either way will work.

73, Steve N4IRS

On 8/15/2018 11:51 AM, Jeff Carrier wrote:
certainly, 

I also copied dvswitch.ini to /etc/ and /opt/MMDMV_Bridge

mmdvm_bridge.service

[Unit]
Description=MMDVM_Bridge Service
# Description=Place this file in /lib/systemd/system
# Description=N4IRS 04/20/2018
 
# The device name should point to the
# port the mmdvm is plugged into.
# For USB ports (Arduino Due)
# BindTo=dev-ttyACM0.device
#
# To make the network-online.target available
# systemctl enable systemd-networkd-wait-online.service
 
After=network-online.target syslog.target netcheck.service
Wants=network-online.target
 
[Service]
StandardOutput=null
WorkingDirectory=/opt/MMDVM_Bridge
RestartSec=3
ExecStart=/opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini
Restart=on-abort
 
[Install]
WantedBy=multi-user.target
 

dvswitch.ini

; MMDVM_Bridge export / import configuration file.
;   This file should be placed along side of MMDVM_Bridge or it can be
;   supplied as a path on the MMDVM_BRIDGE environment variable.
 
; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already reversed for MMDVM_Bridge <--> Quantar_Bridge
[QUANTAR]
;logFilePath = /var/log/Quantar_Bridge.log
;Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
;TXPort = 34103                  ; Port to send AMBE TLV frames to (export)
;RXPort = 34100                  ; Port to listen on (import)
;quantarPort = 1994              ; HDLC frames To/From the Quantar repeater
;logLevel = 2                    ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
;debug = 0                       ; Debug 0 = off, 1 = on (adds lots of additional messages)
 
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[DMR]
;Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
;TXPort = 31100                  ; Port to send AMBE TLV frames to (export)
;RXPort = 31103                  ; Port to listen on (import)
;Slot = 2                        ; Export slot
 
; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
;Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
;TXPort = 32100                  ; Port to send AMBE TLV frames to (export)
;RXPort = 32103                  ; Port to listen on (import)
;FallbackID = 1234567            ; In case we can not find a valid DMR id in the database, export this one
;ExportTG = 9                    ; Which TG to export
;Slot = 2                        ; Export slot
 
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
;Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
;TXPort = 33100                  ; Port to send AMBE TLV frames to (export)
;RXPort = 33103                  ; Port to listen on (import)
;FallbackID = 1234567            ; In case we can not find a valid DMR id in the database, export this one
;NXDNFallbackID  = 12345         ; Use this ID when the input DMR ID is not found in the database
;Translate = 1234=4321           ; Translate NXDN TG < -- > DMR TG (bidirectional)
;Slot = 2                        ; Export slot
 
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.240             ; Address to send AMBE TLV frames to (export)
TXPort = 34100                  ; Port to send AMBE TLV frames to (export)
RXPort = 34103                  ; Port to listen on (import)
Slot = 2                        ; Export slot
 
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
;Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
;TXPort = 35100                  ; Port to send AMBE TLV frames to (export)
;RXPort = 35103                  ; Port to listen on (import)
;FallbackID = 1234567            ; In case we can not find a valid DMR id in the database, export this one
;ExportTG = 1234                 ; Which TG to export
;Slot = 2                        ; Export slot

MMDVM_Bridge.ini

[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=0
 
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge
 
[Log]
# Logging levels, 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
 
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
 
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
 
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
 
[D-Star]
Enable=0
Module=C
 
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
 
[System Fusion]
Enable=0
 
[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20
 
[NXDN]
Enable=0
RAN=1
Id=12345
 
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
 
[DMR Network]
Enable=0
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
 
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayPort=42166
Debug=0
 
[P25 Network]
Enable=1
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
ModeHang=300
Debug=0
 
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020
 

Join main@DVSwitch.groups.io to automatically receive all group messages.