Date   

Re: dvswich.ini

Steve N4IRS
 

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
Address=hblink.dvswitch.org
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
 
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayAddress=ysfreflector.dvswitch.org
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
 


Re: dvswich.ini

Peter M0NWI
 

We've all done it Jeff!!



From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Jeff Carrier <k0jsc.jeff@...>
Sent: 15 August 2018 17:59
To: main@dvswitch.groups.io
Subject: Re: [DVSwitch] dvswich.ini
 
Wow and I haven't even had any beer yet! Duh

On Wed, Aug 15, 2018 at 10:57 AM Steve N4IRS <szingman@...> wrote:
DVSwitch is misspelled.

On 8/15/2018 12:56 PM, Jeff Carrier wrote:
root@28299:/opt/MMDVM_Bridge# ls
DVSwtich.ini  MMDVM_Bridge  MMDVM_Bridge.ini
root@28299:/opt/MMDVM_Bridge#


On Wed, Aug 15, 2018 at 10:40 AM Steve N4IRS <szingman@...> wrote:
Show me the directory.

On 8/15/2018 12:38 PM, Jeff Carrier wrote:
It fails, here's the output.

root@28299:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2018-08-15 16:37:52.992 MMDVM_Bridge:
I: 2018-08-15 16:37:52.993 Portions Copyright (C) 2018 DVSwitch, INAD.
I: 2018-08-15 16:37:52.993 Hacks by Mike N4IRR and Steve N4IRS
I: 2018-08-15 16:37:52.993 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2018-08-15 16:37:52.993 This software is for use on amateur radio networks only,
I: 2018-08-15 16:37:52.993 it is to be used for educational purposes only. Its use on
I: 2018-08-15 16:37:52.994 commercial networks is strictly prohibited.
I: 2018-08-15 16:37:52.994 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2018-08-15 16:37:52.994 MMDVM_Bridge-20180423 is starting
M: 2018-08-15 16:37:52.994 Built 15:47:01 May 30 2018 (GitID #9cdea41)
I: 2018-08-15 16:37:52.995 General Parameters
I: 2018-08-15 16:37:52.995     Callsign: K0JSC
I: 2018-08-15 16:37:52.995     Id: 310815
I: 2018-08-15 16:37:52.995     Duplex: no
I: 2018-08-15 16:37:52.996     Timeout: 180s
I: 2018-08-15 16:37:52.996     D-Star: disabled
I: 2018-08-15 16:37:52.996     DMR: disabled
I: 2018-08-15 16:37:52.996     YSF: disabled
I: 2018-08-15 16:37:52.997     P25: enabled
I: 2018-08-15 16:37:52.997     NXDN: disabled
I: 2018-08-15 16:37:52.997 Modem Parameters
I: 2018-08-15 16:37:52.997     Port: /dev/null
I: 2018-08-15 16:37:52.997     RX Invert: no
I: 2018-08-15 16:37:52.997     TX Invert: no
I: 2018-08-15 16:37:52.997     PTT Invert: no
I: 2018-08-15 16:37:52.997     TX Delay: 100ms
I: 2018-08-15 16:37:52.998     RX Offset: 0Hz
I: 2018-08-15 16:37:52.998     TX Offset: 0Hz
I: 2018-08-15 16:37:52.998     RX DC Offset: 0
I: 2018-08-15 16:37:52.998     TX DC Offset: 0
I: 2018-08-15 16:37:52.998     RF Level: 100.0%
I: 2018-08-15 16:37:52.998     DMR Delay: 0 (0.0ms)
I: 2018-08-15 16:37:52.998     RX Level: 50.0%
I: 2018-08-15 16:37:52.998     CW Id TX Level: 50.0%
I: 2018-08-15 16:37:52.998     D-Star TX Level: 50.0%
I: 2018-08-15 16:37:52.998     DMR TX Level: 50.0%
I: 2018-08-15 16:37:52.998     YSF TX Level: 50.0%
I: 2018-08-15 16:37:52.998     P25 TX Level: 50.0%
I: 2018-08-15 16:37:52.998     NXDN TX Level: 50.0%
I: 2018-08-15 16:37:52.998     RX Frequency: 222340000Hz (222340000Hz)
I: 2018-08-15 16:37:52.998     TX Frequency: 224940000Hz (224940000Hz)
M: 2018-08-15 16:37:52.999 Opening the MMDVM
I: 2018-08-15 16:37:52.999 Display Parameters
I: 2018-08-15 16:37:52.999     Type:
I: 2018-08-15 16:37:52.999 P25 Network Parameters
I: 2018-08-15 16:37:52.999     Gateway Address: 127.0.0.1
I: 2018-08-15 16:37:52.999     Gateway Port: 42020
I: 2018-08-15 16:37:52.999     Local Port: 32010
I: 2018-08-15 16:37:52.999     Mode Hang: 300s
M: 2018-08-15 16:37:53.000 P25, Opening INI file: DVSwitch.ini
E: 2018-08-15 16:37:53.000 P25, ini file "DVSwitch.ini" was not found.  Fatal error exiting
root@28299:/opt/MMDVM_Bridge#


On Wed, Aug 15, 2018 at 10:27 AM Steve N4IRS <szingman@...> wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the same directory as the MMDVM_Bridge executable. (Unless you use the environment variable) You can not pass DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.

So,
Make sure MMDVM_Bridge, DVSwitch.ini and MMDVM_Bridge.ini are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini

If it does not work, please copy and past the output from MMDVM_Bridge.

Steve

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
 




Re: dvswich.ini

Steve N4IRS
 

That's the problem, Beer is not just a breakfast drink anymore!

On 8/15/2018 12:59 PM, Jeff Carrier wrote:
Wow and I haven't even had any beer yet! Duh

On Wed, Aug 15, 2018 at 10:57 AM Steve N4IRS <szingman@...> wrote:
DVSwitch is misspelled.

On 8/15/2018 12:56 PM, Jeff Carrier wrote:
root@28299:/opt/MMDVM_Bridge# ls
DVSwtich.ini  MMDVM_Bridge  MMDVM_Bridge.ini
root@28299:/opt/MMDVM_Bridge#


On Wed, Aug 15, 2018 at 10:40 AM Steve N4IRS <szingman@...> wrote:
Show me the directory.

On 8/15/2018 12:38 PM, Jeff Carrier wrote:
It fails, here's the output.

root@28299:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2018-08-15 16:37:52.992 MMDVM_Bridge:
I: 2018-08-15 16:37:52.993 Portions Copyright (C) 2018 DVSwitch, INAD.
I: 2018-08-15 16:37:52.993 Hacks by Mike N4IRR and Steve N4IRS
I: 2018-08-15 16:37:52.993 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2018-08-15 16:37:52.993 This software is for use on amateur radio networks only,
I: 2018-08-15 16:37:52.993 it is to be used for educational purposes only. Its use on
I: 2018-08-15 16:37:52.994 commercial networks is strictly prohibited.
I: 2018-08-15 16:37:52.994 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2018-08-15 16:37:52.994 MMDVM_Bridge-20180423 is starting
M: 2018-08-15 16:37:52.994 Built 15:47:01 May 30 2018 (GitID #9cdea41)
I: 2018-08-15 16:37:52.995 General Parameters
I: 2018-08-15 16:37:52.995     Callsign: K0JSC
I: 2018-08-15 16:37:52.995     Id: 310815
I: 2018-08-15 16:37:52.995     Duplex: no
I: 2018-08-15 16:37:52.996     Timeout: 180s
I: 2018-08-15 16:37:52.996     D-Star: disabled
I: 2018-08-15 16:37:52.996     DMR: disabled
I: 2018-08-15 16:37:52.996     YSF: disabled
I: 2018-08-15 16:37:52.997     P25: enabled
I: 2018-08-15 16:37:52.997     NXDN: disabled
I: 2018-08-15 16:37:52.997 Modem Parameters
I: 2018-08-15 16:37:52.997     Port: /dev/null
I: 2018-08-15 16:37:52.997     RX Invert: no
I: 2018-08-15 16:37:52.997     TX Invert: no
I: 2018-08-15 16:37:52.997     PTT Invert: no
I: 2018-08-15 16:37:52.997     TX Delay: 100ms
I: 2018-08-15 16:37:52.998     RX Offset: 0Hz
I: 2018-08-15 16:37:52.998     TX Offset: 0Hz
I: 2018-08-15 16:37:52.998     RX DC Offset: 0
I: 2018-08-15 16:37:52.998     TX DC Offset: 0
I: 2018-08-15 16:37:52.998     RF Level: 100.0%
I: 2018-08-15 16:37:52.998     DMR Delay: 0 (0.0ms)
I: 2018-08-15 16:37:52.998     RX Level: 50.0%
I: 2018-08-15 16:37:52.998     CW Id TX Level: 50.0%
I: 2018-08-15 16:37:52.998     D-Star TX Level: 50.0%
I: 2018-08-15 16:37:52.998     DMR TX Level: 50.0%
I: 2018-08-15 16:37:52.998     YSF TX Level: 50.0%
I: 2018-08-15 16:37:52.998     P25 TX Level: 50.0%
I: 2018-08-15 16:37:52.998     NXDN TX Level: 50.0%
I: 2018-08-15 16:37:52.998     RX Frequency: 222340000Hz (222340000Hz)
I: 2018-08-15 16:37:52.998     TX Frequency: 224940000Hz (224940000Hz)
M: 2018-08-15 16:37:52.999 Opening the MMDVM
I: 2018-08-15 16:37:52.999 Display Parameters
I: 2018-08-15 16:37:52.999     Type:
I: 2018-08-15 16:37:52.999 P25 Network Parameters
I: 2018-08-15 16:37:52.999     Gateway Address: 127.0.0.1
I: 2018-08-15 16:37:52.999     Gateway Port: 42020
I: 2018-08-15 16:37:52.999     Local Port: 32010
I: 2018-08-15 16:37:52.999     Mode Hang: 300s
M: 2018-08-15 16:37:53.000 P25, Opening INI file: DVSwitch.ini
E: 2018-08-15 16:37:53.000 P25, ini file "DVSwitch.ini" was not found.  Fatal error exiting
root@28299:/opt/MMDVM_Bridge#


On Wed, Aug 15, 2018 at 10:27 AM Steve N4IRS <szingman@...> wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the same directory as the MMDVM_Bridge executable. (Unless you use the environment variable) You can not pass DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.

So,
Make sure MMDVM_Bridge, DVSwitch.ini and MMDVM_Bridge.ini are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini

If it does not work, please copy and past the output from MMDVM_Bridge.

Steve

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
 





Re: dvswich.ini

Jeff Carrier
 

Wow and I haven't even had any beer yet! Duh


On Wed, Aug 15, 2018 at 10:57 AM Steve N4IRS <szingman@...> wrote:
DVSwitch is misspelled.

On 8/15/2018 12:56 PM, Jeff Carrier wrote:
root@28299:/opt/MMDVM_Bridge# ls
DVSwtich.ini  MMDVM_Bridge  MMDVM_Bridge.ini
root@28299:/opt/MMDVM_Bridge#


On Wed, Aug 15, 2018 at 10:40 AM Steve N4IRS <szingman@...> wrote:
Show me the directory.

On 8/15/2018 12:38 PM, Jeff Carrier wrote:
It fails, here's the output.

root@28299:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2018-08-15 16:37:52.992 MMDVM_Bridge:
I: 2018-08-15 16:37:52.993 Portions Copyright (C) 2018 DVSwitch, INAD.
I: 2018-08-15 16:37:52.993 Hacks by Mike N4IRR and Steve N4IRS
I: 2018-08-15 16:37:52.993 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2018-08-15 16:37:52.993 This software is for use on amateur radio networks only,
I: 2018-08-15 16:37:52.993 it is to be used for educational purposes only. Its use on
I: 2018-08-15 16:37:52.994 commercial networks is strictly prohibited.
I: 2018-08-15 16:37:52.994 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2018-08-15 16:37:52.994 MMDVM_Bridge-20180423 is starting
M: 2018-08-15 16:37:52.994 Built 15:47:01 May 30 2018 (GitID #9cdea41)
I: 2018-08-15 16:37:52.995 General Parameters
I: 2018-08-15 16:37:52.995     Callsign: K0JSC
I: 2018-08-15 16:37:52.995     Id: 310815
I: 2018-08-15 16:37:52.995     Duplex: no
I: 2018-08-15 16:37:52.996     Timeout: 180s
I: 2018-08-15 16:37:52.996     D-Star: disabled
I: 2018-08-15 16:37:52.996     DMR: disabled
I: 2018-08-15 16:37:52.996     YSF: disabled
I: 2018-08-15 16:37:52.997     P25: enabled
I: 2018-08-15 16:37:52.997     NXDN: disabled
I: 2018-08-15 16:37:52.997 Modem Parameters
I: 2018-08-15 16:37:52.997     Port: /dev/null
I: 2018-08-15 16:37:52.997     RX Invert: no
I: 2018-08-15 16:37:52.997     TX Invert: no
I: 2018-08-15 16:37:52.997     PTT Invert: no
I: 2018-08-15 16:37:52.997     TX Delay: 100ms
I: 2018-08-15 16:37:52.998     RX Offset: 0Hz
I: 2018-08-15 16:37:52.998     TX Offset: 0Hz
I: 2018-08-15 16:37:52.998     RX DC Offset: 0
I: 2018-08-15 16:37:52.998     TX DC Offset: 0
I: 2018-08-15 16:37:52.998     RF Level: 100.0%
I: 2018-08-15 16:37:52.998     DMR Delay: 0 (0.0ms)
I: 2018-08-15 16:37:52.998     RX Level: 50.0%
I: 2018-08-15 16:37:52.998     CW Id TX Level: 50.0%
I: 2018-08-15 16:37:52.998     D-Star TX Level: 50.0%
I: 2018-08-15 16:37:52.998     DMR TX Level: 50.0%
I: 2018-08-15 16:37:52.998     YSF TX Level: 50.0%
I: 2018-08-15 16:37:52.998     P25 TX Level: 50.0%
I: 2018-08-15 16:37:52.998     NXDN TX Level: 50.0%
I: 2018-08-15 16:37:52.998     RX Frequency: 222340000Hz (222340000Hz)
I: 2018-08-15 16:37:52.998     TX Frequency: 224940000Hz (224940000Hz)
M: 2018-08-15 16:37:52.999 Opening the MMDVM
I: 2018-08-15 16:37:52.999 Display Parameters
I: 2018-08-15 16:37:52.999     Type:
I: 2018-08-15 16:37:52.999 P25 Network Parameters
I: 2018-08-15 16:37:52.999     Gateway Address: 127.0.0.1
I: 2018-08-15 16:37:52.999     Gateway Port: 42020
I: 2018-08-15 16:37:52.999     Local Port: 32010
I: 2018-08-15 16:37:52.999     Mode Hang: 300s
M: 2018-08-15 16:37:53.000 P25, Opening INI file: DVSwitch.ini
E: 2018-08-15 16:37:53.000 P25, ini file "DVSwitch.ini" was not found.  Fatal error exiting
root@28299:/opt/MMDVM_Bridge#


On Wed, Aug 15, 2018 at 10:27 AM Steve N4IRS <szingman@...> wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the same directory as the MMDVM_Bridge executable. (Unless you use the environment variable) You can not pass DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.

So,
Make sure MMDVM_Bridge, DVSwitch.ini and MMDVM_Bridge.ini are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini

If it does not work, please copy and past the output from MMDVM_Bridge.

Steve

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
 




Re: dvswich.ini

Steve N4IRS
 

DVSwitch is misspelled.

On 8/15/2018 12:56 PM, Jeff Carrier wrote:
root@28299:/opt/MMDVM_Bridge# ls
DVSwtich.ini  MMDVM_Bridge  MMDVM_Bridge.ini
root@28299:/opt/MMDVM_Bridge#


On Wed, Aug 15, 2018 at 10:40 AM Steve N4IRS <szingman@...> wrote:
Show me the directory.

On 8/15/2018 12:38 PM, Jeff Carrier wrote:
It fails, here's the output.

root@28299:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2018-08-15 16:37:52.992 MMDVM_Bridge:
I: 2018-08-15 16:37:52.993 Portions Copyright (C) 2018 DVSwitch, INAD.
I: 2018-08-15 16:37:52.993 Hacks by Mike N4IRR and Steve N4IRS
I: 2018-08-15 16:37:52.993 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2018-08-15 16:37:52.993 This software is for use on amateur radio networks only,
I: 2018-08-15 16:37:52.993 it is to be used for educational purposes only. Its use on
I: 2018-08-15 16:37:52.994 commercial networks is strictly prohibited.
I: 2018-08-15 16:37:52.994 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2018-08-15 16:37:52.994 MMDVM_Bridge-20180423 is starting
M: 2018-08-15 16:37:52.994 Built 15:47:01 May 30 2018 (GitID #9cdea41)
I: 2018-08-15 16:37:52.995 General Parameters
I: 2018-08-15 16:37:52.995     Callsign: K0JSC
I: 2018-08-15 16:37:52.995     Id: 310815
I: 2018-08-15 16:37:52.995     Duplex: no
I: 2018-08-15 16:37:52.996     Timeout: 180s
I: 2018-08-15 16:37:52.996     D-Star: disabled
I: 2018-08-15 16:37:52.996     DMR: disabled
I: 2018-08-15 16:37:52.996     YSF: disabled
I: 2018-08-15 16:37:52.997     P25: enabled
I: 2018-08-15 16:37:52.997     NXDN: disabled
I: 2018-08-15 16:37:52.997 Modem Parameters
I: 2018-08-15 16:37:52.997     Port: /dev/null
I: 2018-08-15 16:37:52.997     RX Invert: no
I: 2018-08-15 16:37:52.997     TX Invert: no
I: 2018-08-15 16:37:52.997     PTT Invert: no
I: 2018-08-15 16:37:52.997     TX Delay: 100ms
I: 2018-08-15 16:37:52.998     RX Offset: 0Hz
I: 2018-08-15 16:37:52.998     TX Offset: 0Hz
I: 2018-08-15 16:37:52.998     RX DC Offset: 0
I: 2018-08-15 16:37:52.998     TX DC Offset: 0
I: 2018-08-15 16:37:52.998     RF Level: 100.0%
I: 2018-08-15 16:37:52.998     DMR Delay: 0 (0.0ms)
I: 2018-08-15 16:37:52.998     RX Level: 50.0%
I: 2018-08-15 16:37:52.998     CW Id TX Level: 50.0%
I: 2018-08-15 16:37:52.998     D-Star TX Level: 50.0%
I: 2018-08-15 16:37:52.998     DMR TX Level: 50.0%
I: 2018-08-15 16:37:52.998     YSF TX Level: 50.0%
I: 2018-08-15 16:37:52.998     P25 TX Level: 50.0%
I: 2018-08-15 16:37:52.998     NXDN TX Level: 50.0%
I: 2018-08-15 16:37:52.998     RX Frequency: 222340000Hz (222340000Hz)
I: 2018-08-15 16:37:52.998     TX Frequency: 224940000Hz (224940000Hz)
M: 2018-08-15 16:37:52.999 Opening the MMDVM
I: 2018-08-15 16:37:52.999 Display Parameters
I: 2018-08-15 16:37:52.999     Type:
I: 2018-08-15 16:37:52.999 P25 Network Parameters
I: 2018-08-15 16:37:52.999     Gateway Address: 127.0.0.1
I: 2018-08-15 16:37:52.999     Gateway Port: 42020
I: 2018-08-15 16:37:52.999     Local Port: 32010
I: 2018-08-15 16:37:52.999     Mode Hang: 300s
M: 2018-08-15 16:37:53.000 P25, Opening INI file: DVSwitch.ini
E: 2018-08-15 16:37:53.000 P25, ini file "DVSwitch.ini" was not found.  Fatal error exiting
root@28299:/opt/MMDVM_Bridge#


On Wed, Aug 15, 2018 at 10:27 AM Steve N4IRS <szingman@...> wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the same directory as the MMDVM_Bridge executable. (Unless you use the environment variable) You can not pass DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.

So,
Make sure MMDVM_Bridge, DVSwitch.ini and MMDVM_Bridge.ini are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini

If it does not work, please copy and past the output from MMDVM_Bridge.

Steve

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
 




Re: dvswich.ini

Jeff Carrier
 

root@28299:/opt/MMDVM_Bridge# ls
DVSwtich.ini  MMDVM_Bridge  MMDVM_Bridge.ini
root@28299:/opt/MMDVM_Bridge#


On Wed, Aug 15, 2018 at 10:40 AM Steve N4IRS <szingman@...> wrote:
Show me the directory.

On 8/15/2018 12:38 PM, Jeff Carrier wrote:
It fails, here's the output.

root@28299:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2018-08-15 16:37:52.992 MMDVM_Bridge:
I: 2018-08-15 16:37:52.993 Portions Copyright (C) 2018 DVSwitch, INAD.
I: 2018-08-15 16:37:52.993 Hacks by Mike N4IRR and Steve N4IRS
I: 2018-08-15 16:37:52.993 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2018-08-15 16:37:52.993 This software is for use on amateur radio networks only,
I: 2018-08-15 16:37:52.993 it is to be used for educational purposes only. Its use on
I: 2018-08-15 16:37:52.994 commercial networks is strictly prohibited.
I: 2018-08-15 16:37:52.994 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2018-08-15 16:37:52.994 MMDVM_Bridge-20180423 is starting
M: 2018-08-15 16:37:52.994 Built 15:47:01 May 30 2018 (GitID #9cdea41)
I: 2018-08-15 16:37:52.995 General Parameters
I: 2018-08-15 16:37:52.995     Callsign: K0JSC
I: 2018-08-15 16:37:52.995     Id: 310815
I: 2018-08-15 16:37:52.995     Duplex: no
I: 2018-08-15 16:37:52.996     Timeout: 180s
I: 2018-08-15 16:37:52.996     D-Star: disabled
I: 2018-08-15 16:37:52.996     DMR: disabled
I: 2018-08-15 16:37:52.996     YSF: disabled
I: 2018-08-15 16:37:52.997     P25: enabled
I: 2018-08-15 16:37:52.997     NXDN: disabled
I: 2018-08-15 16:37:52.997 Modem Parameters
I: 2018-08-15 16:37:52.997     Port: /dev/null
I: 2018-08-15 16:37:52.997     RX Invert: no
I: 2018-08-15 16:37:52.997     TX Invert: no
I: 2018-08-15 16:37:52.997     PTT Invert: no
I: 2018-08-15 16:37:52.997     TX Delay: 100ms
I: 2018-08-15 16:37:52.998     RX Offset: 0Hz
I: 2018-08-15 16:37:52.998     TX Offset: 0Hz
I: 2018-08-15 16:37:52.998     RX DC Offset: 0
I: 2018-08-15 16:37:52.998     TX DC Offset: 0
I: 2018-08-15 16:37:52.998     RF Level: 100.0%
I: 2018-08-15 16:37:52.998     DMR Delay: 0 (0.0ms)
I: 2018-08-15 16:37:52.998     RX Level: 50.0%
I: 2018-08-15 16:37:52.998     CW Id TX Level: 50.0%
I: 2018-08-15 16:37:52.998     D-Star TX Level: 50.0%
I: 2018-08-15 16:37:52.998     DMR TX Level: 50.0%
I: 2018-08-15 16:37:52.998     YSF TX Level: 50.0%
I: 2018-08-15 16:37:52.998     P25 TX Level: 50.0%
I: 2018-08-15 16:37:52.998     NXDN TX Level: 50.0%
I: 2018-08-15 16:37:52.998     RX Frequency: 222340000Hz (222340000Hz)
I: 2018-08-15 16:37:52.998     TX Frequency: 224940000Hz (224940000Hz)
M: 2018-08-15 16:37:52.999 Opening the MMDVM
I: 2018-08-15 16:37:52.999 Display Parameters
I: 2018-08-15 16:37:52.999     Type:
I: 2018-08-15 16:37:52.999 P25 Network Parameters
I: 2018-08-15 16:37:52.999     Gateway Address: 127.0.0.1
I: 2018-08-15 16:37:52.999     Gateway Port: 42020
I: 2018-08-15 16:37:52.999     Local Port: 32010
I: 2018-08-15 16:37:52.999     Mode Hang: 300s
M: 2018-08-15 16:37:53.000 P25, Opening INI file: DVSwitch.ini
E: 2018-08-15 16:37:53.000 P25, ini file "DVSwitch.ini" was not found.  Fatal error exiting
root@28299:/opt/MMDVM_Bridge#


On Wed, Aug 15, 2018 at 10:27 AM Steve N4IRS <szingman@...> wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the same directory as the MMDVM_Bridge executable. (Unless you use the environment variable) You can not pass DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.

So,
Make sure MMDVM_Bridge, DVSwitch.ini and MMDVM_Bridge.ini are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini

If it does not work, please copy and past the output from MMDVM_Bridge.

Steve

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
 



Re: dvswich.ini

Steve N4IRS
 

Show me the directory.

On 8/15/2018 12:38 PM, Jeff Carrier wrote:
It fails, here's the output.

root@28299:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2018-08-15 16:37:52.992 MMDVM_Bridge:
I: 2018-08-15 16:37:52.993 Portions Copyright (C) 2018 DVSwitch, INAD.
I: 2018-08-15 16:37:52.993 Hacks by Mike N4IRR and Steve N4IRS
I: 2018-08-15 16:37:52.993 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2018-08-15 16:37:52.993 This software is for use on amateur radio networks only,
I: 2018-08-15 16:37:52.993 it is to be used for educational purposes only. Its use on
I: 2018-08-15 16:37:52.994 commercial networks is strictly prohibited.
I: 2018-08-15 16:37:52.994 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2018-08-15 16:37:52.994 MMDVM_Bridge-20180423 is starting
M: 2018-08-15 16:37:52.994 Built 15:47:01 May 30 2018 (GitID #9cdea41)
I: 2018-08-15 16:37:52.995 General Parameters
I: 2018-08-15 16:37:52.995     Callsign: K0JSC
I: 2018-08-15 16:37:52.995     Id: 310815
I: 2018-08-15 16:37:52.995     Duplex: no
I: 2018-08-15 16:37:52.996     Timeout: 180s
I: 2018-08-15 16:37:52.996     D-Star: disabled
I: 2018-08-15 16:37:52.996     DMR: disabled
I: 2018-08-15 16:37:52.996     YSF: disabled
I: 2018-08-15 16:37:52.997     P25: enabled
I: 2018-08-15 16:37:52.997     NXDN: disabled
I: 2018-08-15 16:37:52.997 Modem Parameters
I: 2018-08-15 16:37:52.997     Port: /dev/null
I: 2018-08-15 16:37:52.997     RX Invert: no
I: 2018-08-15 16:37:52.997     TX Invert: no
I: 2018-08-15 16:37:52.997     PTT Invert: no
I: 2018-08-15 16:37:52.997     TX Delay: 100ms
I: 2018-08-15 16:37:52.998     RX Offset: 0Hz
I: 2018-08-15 16:37:52.998     TX Offset: 0Hz
I: 2018-08-15 16:37:52.998     RX DC Offset: 0
I: 2018-08-15 16:37:52.998     TX DC Offset: 0
I: 2018-08-15 16:37:52.998     RF Level: 100.0%
I: 2018-08-15 16:37:52.998     DMR Delay: 0 (0.0ms)
I: 2018-08-15 16:37:52.998     RX Level: 50.0%
I: 2018-08-15 16:37:52.998     CW Id TX Level: 50.0%
I: 2018-08-15 16:37:52.998     D-Star TX Level: 50.0%
I: 2018-08-15 16:37:52.998     DMR TX Level: 50.0%
I: 2018-08-15 16:37:52.998     YSF TX Level: 50.0%
I: 2018-08-15 16:37:52.998     P25 TX Level: 50.0%
I: 2018-08-15 16:37:52.998     NXDN TX Level: 50.0%
I: 2018-08-15 16:37:52.998     RX Frequency: 222340000Hz (222340000Hz)
I: 2018-08-15 16:37:52.998     TX Frequency: 224940000Hz (224940000Hz)
M: 2018-08-15 16:37:52.999 Opening the MMDVM
I: 2018-08-15 16:37:52.999 Display Parameters
I: 2018-08-15 16:37:52.999     Type:
I: 2018-08-15 16:37:52.999 P25 Network Parameters
I: 2018-08-15 16:37:52.999     Gateway Address: 127.0.0.1
I: 2018-08-15 16:37:52.999     Gateway Port: 42020
I: 2018-08-15 16:37:52.999     Local Port: 32010
I: 2018-08-15 16:37:52.999     Mode Hang: 300s
M: 2018-08-15 16:37:53.000 P25, Opening INI file: DVSwitch.ini
E: 2018-08-15 16:37:53.000 P25, ini file "DVSwitch.ini" was not found.  Fatal error exiting
root@28299:/opt/MMDVM_Bridge#


On Wed, Aug 15, 2018 at 10:27 AM Steve N4IRS <szingman@...> wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the same directory as the MMDVM_Bridge executable. (Unless you use the environment variable) You can not pass DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.

So,
Make sure MMDVM_Bridge, DVSwitch.ini and MMDVM_Bridge.ini are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini

If it does not work, please copy and past the output from MMDVM_Bridge.

Steve

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
 



Re: dvswich.ini

Jeff Carrier
 

It fails, here's the output.

root@28299:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2018-08-15 16:37:52.992 MMDVM_Bridge:
I: 2018-08-15 16:37:52.993 Portions Copyright (C) 2018 DVSwitch, INAD.
I: 2018-08-15 16:37:52.993 Hacks by Mike N4IRR and Steve N4IRS
I: 2018-08-15 16:37:52.993 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2018-08-15 16:37:52.993 This software is for use on amateur radio networks only,
I: 2018-08-15 16:37:52.993 it is to be used for educational purposes only. Its use on
I: 2018-08-15 16:37:52.994 commercial networks is strictly prohibited.
I: 2018-08-15 16:37:52.994 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2018-08-15 16:37:52.994 MMDVM_Bridge-20180423 is starting
M: 2018-08-15 16:37:52.994 Built 15:47:01 May 30 2018 (GitID #9cdea41)
I: 2018-08-15 16:37:52.995 General Parameters
I: 2018-08-15 16:37:52.995     Callsign: K0JSC
I: 2018-08-15 16:37:52.995     Id: 310815
I: 2018-08-15 16:37:52.995     Duplex: no
I: 2018-08-15 16:37:52.996     Timeout: 180s
I: 2018-08-15 16:37:52.996     D-Star: disabled
I: 2018-08-15 16:37:52.996     DMR: disabled
I: 2018-08-15 16:37:52.996     YSF: disabled
I: 2018-08-15 16:37:52.997     P25: enabled
I: 2018-08-15 16:37:52.997     NXDN: disabled
I: 2018-08-15 16:37:52.997 Modem Parameters
I: 2018-08-15 16:37:52.997     Port: /dev/null
I: 2018-08-15 16:37:52.997     RX Invert: no
I: 2018-08-15 16:37:52.997     TX Invert: no
I: 2018-08-15 16:37:52.997     PTT Invert: no
I: 2018-08-15 16:37:52.997     TX Delay: 100ms
I: 2018-08-15 16:37:52.998     RX Offset: 0Hz
I: 2018-08-15 16:37:52.998     TX Offset: 0Hz
I: 2018-08-15 16:37:52.998     RX DC Offset: 0
I: 2018-08-15 16:37:52.998     TX DC Offset: 0
I: 2018-08-15 16:37:52.998     RF Level: 100.0%
I: 2018-08-15 16:37:52.998     DMR Delay: 0 (0.0ms)
I: 2018-08-15 16:37:52.998     RX Level: 50.0%
I: 2018-08-15 16:37:52.998     CW Id TX Level: 50.0%
I: 2018-08-15 16:37:52.998     D-Star TX Level: 50.0%
I: 2018-08-15 16:37:52.998     DMR TX Level: 50.0%
I: 2018-08-15 16:37:52.998     YSF TX Level: 50.0%
I: 2018-08-15 16:37:52.998     P25 TX Level: 50.0%
I: 2018-08-15 16:37:52.998     NXDN TX Level: 50.0%
I: 2018-08-15 16:37:52.998     RX Frequency: 222340000Hz (222340000Hz)
I: 2018-08-15 16:37:52.998     TX Frequency: 224940000Hz (224940000Hz)
M: 2018-08-15 16:37:52.999 Opening the MMDVM
I: 2018-08-15 16:37:52.999 Display Parameters
I: 2018-08-15 16:37:52.999     Type:
I: 2018-08-15 16:37:52.999 P25 Network Parameters
I: 2018-08-15 16:37:52.999     Gateway Address: 127.0.0.1
I: 2018-08-15 16:37:52.999     Gateway Port: 42020
I: 2018-08-15 16:37:52.999     Local Port: 32010
I: 2018-08-15 16:37:52.999     Mode Hang: 300s
M: 2018-08-15 16:37:53.000 P25, Opening INI file: DVSwitch.ini
E: 2018-08-15 16:37:53.000 P25, ini file "DVSwitch.ini" was not found.  Fatal error exiting
root@28299:/opt/MMDVM_Bridge#


On Wed, Aug 15, 2018 at 10:27 AM Steve N4IRS <szingman@...> wrote:
Jeff,
MMDVM_Bridge will look for DVSwitch in the same directory as the MMDVM_Bridge executable. (Unless you use the environment variable) You can not pass DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.

So,
Make sure MMDVM_Bridge, DVSwitch.ini and MMDVM_Bridge.ini are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini

If it does not work, please copy and past the output from MMDVM_Bridge.

Steve

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
 


Re: dvswich.ini

Steve N4IRS
 

Jeff,
MMDVM_Bridge will look for DVSwitch in the same directory as the MMDVM_Bridge executable. (Unless you use the environment variable) You can not pass DVSwitch.ini on the command line.
You can pass MMDVM_Bridge.ini on the command line.

So,
Make sure MMDVM_Bridge, DVSwitch.ini and MMDVM_Bridge.ini are in the same directory
run:
MMDVM_Bridge MMDVM_Bridge.ini

If it does not work, please copy and past the output from MMDVM_Bridge.

Steve

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
Address=hblink.dvswitch.org
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
 
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayAddress=ysfreflector.dvswitch.org
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
 


Re: dvswich.ini

Jeff Carrier
 

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
URL=https://groups.io/g/DVSwitch
 
[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
Address=hblink.dvswitch.org
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
 
[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayAddress=ysfreflector.dvswitch.org
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
 


Re: dvswich.ini

Steve N4IRS
 

Can you post the file contents?

On 8/15/2018 11:40 AM, Jeff Carrier wrote:
I'm having a similar issue but I want systemctl to handle the services.  It worked perfectly for at least 2 months but after a reboot last night mmdvm_bridge won't run.  When run from the console it complains about not finding DVSwitch.ini.  When I run it from the console and specify where that .ini is I get a "cannot read the .ini file"

After hours with no progress I guess I need a life line.


Re: dvswich.ini

Jeff Carrier
 

I'm having a similar issue but I want systemctl to handle the services.  It worked perfectly for at least 2 months but after a reboot last night mmdvm_bridge won't run.  When run from the console it complains about not finding DVSwitch.ini.  When I run it from the console and specify where that .ini is I get a "cannot read the .ini file"

After hours with no progress I guess I need a life line.


Re: HBBridge setting up more then one link between the two

KB5PBM
 

If i run two instances with just the DEFAULT stanza it works fine.  I run "netstat -aepn | grep 3" shows nothing using those ports except the IPSC_Bridge listening for HB_Bridge.  I can just run two instances.  it works the same. 


Re: Hbmonitor full work. Perfectly

Jürgen Clemenz
 

On Tue, Aug 14, 2018 at 06:03 AM, Cort N0MJS wrote:
HBmonitor is pre-alpha level code. There is no expectation that it will work, or updates will work. It is not supported.
the EA5GVK works the Dashboard.
Okay I'll wait and see how it develops

73 juergen


Re: Hbmonitor full work. Perfectly

Cort N0MJS <n0mjs@...>
 

HBmonitor is pre-alpha level code. There is no expectation that it will work, or updates will work. It is not supported.

On Aug 14, 2018, at 6:45 AM, Jürgen Clemenz <j.clemenz@...> wrote:

Hello
can you help me ?
What is your configuration?
<6.JPG>

INFO:root:Initiating Connection to Server.
INFO:root:Connected.
INFO:root:Resetting reconnection delay
INFO:root:Lost connection.  Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
]
 

Cort Buffington
785-865-7206


Re: Hbmonitor full work. Perfectly

Jürgen Clemenz
 

Hello
can you help me ?
What is your configuration?


INFO:root:Initiating Connection to Server.
INFO:root:Connected.
INFO:root:Resetting reconnection delay
INFO:root:Lost connection.  Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
]
 


Hbmonitor error message

Jürgen Clemenz
 

INFO:root:Initiating Connection to Server.
INFO:root:Connected.
INFO:root:Resetting reconnection delay
INFO:root:Lost connection.  Reason: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.


Re: HBBridge setting up more then one link between the two

Corey Dean N3FE <n3fe@...>
 

Somewhere on your system you are using one of those ports already.  That is why it will not start.

Corey n3fe

On Tue, Aug 14, 2018 at 12:34 AM KB5PBM <rob297@...> wrote:

with config of ################################################
# HB_Bridge configuration file.
################################################

[DEFAULTS]
gateway = 127.0.0.1                             # IP address of Partner Application (IPSC_Bridge, Analog_Bridge)
fromGatewayPort = 38403                         # Port HB_Bridge is listening on for data  (HB_Bridge <--- Partner)
toGatewayPort = 38400                           # Port Partner is listening on for data  (HB_Bridge ---> Partner)

[IPSCBRIDGE1]
gateway = 127.0.0.1                             # IP address of Partner Application (IPSC_Bridge, Analog_Bridge)
fromGatewayPort = 34123                         # Port HB_Bridge is listening on for data  (HB_Bridge <--- Partner)
toGatewayPort = 34120                           # Port Partner is listening on for data  (HB_Bridge ---> Partner)

[IPSCBRIDGE2]
gateway = 127.0.0.1                             # IP address of Partner Application (IPSC_Bridge, Analog_Bridge)
fromGatewayPort = 34113                         # Port HB_Bridge is listening on for data  (HB_Bridge <--- Partner)
toGatewayPort = 34110                           # Port Partner is listening on for data  (HB_Bridge ---> Partner)

 

[RULES]
# Name = Old TG, New TG, New Slot
#TG_SE = 11,11,2
#TG_NA = 22,22,2
#TG_ATL = 50,50,2
#TG_WW = 33,33,2
#TG_HO = 625,625,2
 I get This error

load config file config.file
INFO 2018-08-14 04:30:33,396 ID ALIAS MAPPER: peer_ids dictionary is available
INFO 2018-08-14 04:30:33,677 ID ALIAS MAPPER: subscriber_ids dictionary is available
INFO 2018-08-14 04:30:33,677 HBlink 'HB_Bridge.py' (c) 2017 Mike Zingman N4IRR, N0MJS - SYSTEM STARTING...
INFO 2018-08-14 04:30:33,678 Version 20170620
ERROR 2018-08-14 04:30:33,683 Uncaught exception
Traceback (most recent call last):
  File "./HB_Bridge.py", line 243, in <module>
    systems[system] = HB_BRIDGE(system, CONFIG, logger)
  File "./HB_Bridge.py", line 101, in __init__
    self.hb_ambe = AMBE_HB(self, _name, _config, _logger, self._ambeRxPort)
  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 381, in __init__
    AMBE_BASE.__init__(self, _parent, _name, _config, _logger, _port)
  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 187, in __init__
    self.udp_port = reactor.listenUDP(self._ambeRxPort, UDP_IMPORT(self.import_datagramReceived))
  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 369, in listenUDP
    p.startListening()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 178, in startListening
    self._bindSocket()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 198, in _bindSocket
    raise error.CannotListenError(self.interface, self.port, le)
CannotListenError: Couldn't listen on any:38403: [Errno 98] Address already in use.


With this config

################################################
# HB_Bridge configuration file.
################################################

#[DEFAULTS]
#gateway = 127.0.0.1                             # IP address of Partner Application (IPSC_Bridge, Analog_Bridge)
#fromGatewayPort = 38403                         # Port HB_Bridge is listening on for data  (HB_Bridge <--- Partner)
#toGatewayPort = 38400                           # Port Partner is listening on for data  (HB_Bridge ---> Partner)

[IPSCBRIDGE1]
gateway = 127.0.0.1                             # IP address of Partner Application (IPSC_Bridge, Analog_Bridge)
fromGatewayPort = 34123                         # Port HB_Bridge is listening on for data  (HB_Bridge <--- Partner)
toGatewayPort = 34120                           # Port Partner is listening on for data  (HB_Bridge ---> Partner)

[IPSCBRIDGE2]
gateway = 127.0.0.1                             # IP address of Partner Application (IPSC_Bridge, Analog_Bridge)
fromGatewayPort = 34113                         # Port HB_Bridge is listening on for data  (HB_Bridge <--- Partner)
toGatewayPort = 34110                           # Port Partner is listening on for data  (HB_Bridge ---> Partner)

 

[RULES]
# Name = Old TG, New TG, New Slot
#TG_SE = 11,11,2
#TG_NA = 22,22,2
#TG_ATL = 50,50,2
#TG_WW = 33,33,2
#TG_HO = 625,625,2
 Basicall default is commented out

load config file config.file
INFO 2018-08-14 04:31:43,144 ID ALIAS MAPPER: peer_ids dictionary is available
INFO 2018-08-14 04:31:43,444 ID ALIAS MAPPER: subscriber_ids dictionary is available
INFO 2018-08-14 04:31:43,445 HBlink 'HB_Bridge.py' (c) 2017 Mike Zingman N4IRR, N0MJS - SYSTEM STARTING...
INFO 2018-08-14 04:31:43,445 Version 20170620
ERROR 2018-08-14 04:31:43,450 Uncaught exception
Traceback (most recent call last):
  File "./HB_Bridge.py", line 243, in <module>
    systems[system] = HB_BRIDGE(system, CONFIG, logger)
  File "./HB_Bridge.py", line 101, in __init__
    self.hb_ambe = AMBE_HB(self, _name, _config, _logger, self._ambeRxPort)
  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 381, in __init__
    AMBE_BASE.__init__(self, _parent, _name, _config, _logger, _port)
  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 187, in __init__
    self.udp_port = reactor.listenUDP(self._ambeRxPort, UDP_IMPORT(self.import_datagramReceived))
  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 369, in listenUDP
    p.startListening()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 178, in startListening
    self._bindSocket()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 198, in _bindSocket
    raise error.CannotListenError(self.interface, self.port, le)
CannotListenError: Couldn't listen on any:31003: [Errno 98] Address already in use.


hblink.cfg

[IPSCBRIDGE1]
MODE: MASTER
ENABLED: True
REPEAT: True
EXPORT_AMBE: False
IP:
PORT: 54022
PASSPHRASE: XXXXXXXXXX
GROUP_HANGTIME: 5

[IPSCBRIDGE2]
MODE: MASTER
ENABLED: True
REPEAT: True
EXPORT_AMBE: False
IP:
PORT: 54023
PASSPHRASE: XXXXXXXXXXX
GROUP_HANGTIME: 5


On a netstat -aepn | grep 31 nothing using that socket.


Re: HBBridge setting up more then one link between the two

KB5PBM
 

with config of ################################################
# HB_Bridge configuration file.
################################################

[DEFAULTS]
gateway = 127.0.0.1                             # IP address of Partner Application (IPSC_Bridge, Analog_Bridge)
fromGatewayPort = 38403                         # Port HB_Bridge is listening on for data  (HB_Bridge <--- Partner)
toGatewayPort = 38400                           # Port Partner is listening on for data  (HB_Bridge ---> Partner)

[IPSCBRIDGE1]
gateway = 127.0.0.1                             # IP address of Partner Application (IPSC_Bridge, Analog_Bridge)
fromGatewayPort = 34123                         # Port HB_Bridge is listening on for data  (HB_Bridge <--- Partner)
toGatewayPort = 34120                           # Port Partner is listening on for data  (HB_Bridge ---> Partner)

[IPSCBRIDGE2]
gateway = 127.0.0.1                             # IP address of Partner Application (IPSC_Bridge, Analog_Bridge)
fromGatewayPort = 34113                         # Port HB_Bridge is listening on for data  (HB_Bridge <--- Partner)
toGatewayPort = 34110                           # Port Partner is listening on for data  (HB_Bridge ---> Partner)

 

[RULES]
# Name = Old TG, New TG, New Slot
#TG_SE = 11,11,2
#TG_NA = 22,22,2
#TG_ATL = 50,50,2
#TG_WW = 33,33,2
#TG_HO = 625,625,2
 I get This error

load config file config.file
INFO 2018-08-14 04:30:33,396 ID ALIAS MAPPER: peer_ids dictionary is available
INFO 2018-08-14 04:30:33,677 ID ALIAS MAPPER: subscriber_ids dictionary is available
INFO 2018-08-14 04:30:33,677 HBlink 'HB_Bridge.py' (c) 2017 Mike Zingman N4IRR, N0MJS - SYSTEM STARTING...
INFO 2018-08-14 04:30:33,678 Version 20170620
ERROR 2018-08-14 04:30:33,683 Uncaught exception
Traceback (most recent call last):
  File "./HB_Bridge.py", line 243, in <module>
    systems[system] = HB_BRIDGE(system, CONFIG, logger)
  File "./HB_Bridge.py", line 101, in __init__
    self.hb_ambe = AMBE_HB(self, _name, _config, _logger, self._ambeRxPort)
  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 381, in __init__
    AMBE_BASE.__init__(self, _parent, _name, _config, _logger, _port)
  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 187, in __init__
    self.udp_port = reactor.listenUDP(self._ambeRxPort, UDP_IMPORT(self.import_datagramReceived))
  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 369, in listenUDP
    p.startListening()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 178, in startListening
    self._bindSocket()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 198, in _bindSocket
    raise error.CannotListenError(self.interface, self.port, le)
CannotListenError: Couldn't listen on any:38403: [Errno 98] Address already in use.


With this config

################################################
# HB_Bridge configuration file.
################################################

#[DEFAULTS]
#gateway = 127.0.0.1                             # IP address of Partner Application (IPSC_Bridge, Analog_Bridge)
#fromGatewayPort = 38403                         # Port HB_Bridge is listening on for data  (HB_Bridge <--- Partner)
#toGatewayPort = 38400                           # Port Partner is listening on for data  (HB_Bridge ---> Partner)

[IPSCBRIDGE1]
gateway = 127.0.0.1                             # IP address of Partner Application (IPSC_Bridge, Analog_Bridge)
fromGatewayPort = 34123                         # Port HB_Bridge is listening on for data  (HB_Bridge <--- Partner)
toGatewayPort = 34120                           # Port Partner is listening on for data  (HB_Bridge ---> Partner)

[IPSCBRIDGE2]
gateway = 127.0.0.1                             # IP address of Partner Application (IPSC_Bridge, Analog_Bridge)
fromGatewayPort = 34113                         # Port HB_Bridge is listening on for data  (HB_Bridge <--- Partner)
toGatewayPort = 34110                           # Port Partner is listening on for data  (HB_Bridge ---> Partner)

 

[RULES]
# Name = Old TG, New TG, New Slot
#TG_SE = 11,11,2
#TG_NA = 22,22,2
#TG_ATL = 50,50,2
#TG_WW = 33,33,2
#TG_HO = 625,625,2
 Basicall default is commented out

load config file config.file
INFO 2018-08-14 04:31:43,144 ID ALIAS MAPPER: peer_ids dictionary is available
INFO 2018-08-14 04:31:43,444 ID ALIAS MAPPER: subscriber_ids dictionary is available
INFO 2018-08-14 04:31:43,445 HBlink 'HB_Bridge.py' (c) 2017 Mike Zingman N4IRR, N0MJS - SYSTEM STARTING...
INFO 2018-08-14 04:31:43,445 Version 20170620
ERROR 2018-08-14 04:31:43,450 Uncaught exception
Traceback (most recent call last):
  File "./HB_Bridge.py", line 243, in <module>
    systems[system] = HB_BRIDGE(system, CONFIG, logger)
  File "./HB_Bridge.py", line 101, in __init__
    self.hb_ambe = AMBE_HB(self, _name, _config, _logger, self._ambeRxPort)
  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 381, in __init__
    AMBE_BASE.__init__(self, _parent, _name, _config, _logger, _port)
  File "/usr/local/lib/python2.7/dist-packages/dmr_utils/ambe_bridge.py", line 187, in __init__
    self.udp_port = reactor.listenUDP(self._ambeRxPort, UDP_IMPORT(self.import_datagramReceived))
  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 369, in listenUDP
    p.startListening()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 178, in startListening
    self._bindSocket()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 198, in _bindSocket
    raise error.CannotListenError(self.interface, self.port, le)
CannotListenError: Couldn't listen on any:31003: [Errno 98] Address already in use.


hblink.cfg

[IPSCBRIDGE1]
MODE: MASTER
ENABLED: True
REPEAT: True
EXPORT_AMBE: False
IP:
PORT: 54022
PASSPHRASE: XXXXXXXXXX
GROUP_HANGTIME: 5

[IPSCBRIDGE2]
MODE: MASTER
ENABLED: True
REPEAT: True
EXPORT_AMBE: False
IP:
PORT: 54023
PASSPHRASE: XXXXXXXXXXX
GROUP_HANGTIME: 5


On a netstat -aepn | grep 31 nothing using that socket.


Re: HBBridge setting up more then one link between the two

Cort N0MJS <n0mjs@...>
 

What is the error?


On Aug 13, 2018, at 7:20 PM, KB5PBM <rob297@...> wrote:

Currently I have IPSC_Bridge configured as below.  And two masters configured in dmrlink.cfg master 1 and 2.  IPSC_Bridge works fine.  However when I try the same with HBBridge i get an error.  Is HBBridge able to do the same?  To get around this I am running two instances of HBBridge. Needed more timeslots to my C-bridge.  Its over kill I know.  But easier to exec at startup.

[DEFAULTS]
gateway = 127.0.0.1                             # IP address of Partner Application (HB_Bridge, Analog_Bridge)
fromGatewayPort = 34100                         # Port IPSC_Bridge is listening on for data  (IPSC_Bridge <--- Partner)
toGatewayPort = 34103                           # Port Partner is listening on for data  (IPSC_Bridge ---> Partner)

[MASTER]
gateway = 127.0.0.1                             # IP address of Partner Application (HB_Bridge, Analog_Bridge)
fromGatewayPort = 39400                         # Port IPSC_Bridge is listening on for data  (IPSC_Bridge <--- Partner)
toGatewayPort = 39403                           # Port Partner is listening on for data  (IPSC_Bridge ---> Partner)

[MASTER1]
gateway = 127.0.0.1                             # IP address of Partner Application (HB_Bridge, Analog_Bridge)
fromGatewayPort = 39100                         # Port IPSC_Bridge is listening on for data  (IPSC_Bridge <--- Partner)
toGatewayPort = 39103                           # Port Partner is listening on for data  (IPSC_Bridge ---> Partner)

7721 - 7740 of 9795