ASL to DMR no Audio #mmdvm_bridge #dvs


Loma KU5J
 

I can get excellent audio from DMR radio to ASL radio, but not from ASL to DMR.
I am trying install an Allstar to DMR Bridge on a SHARI Pi Hat RPI4B running ASL 2.0 beta with a DV3000 (Thumb DV) hardware vocoder. I Originally setup with AMBE software decoder but enabled ThumbDV on the off chance it may fix the issue. I have a public node and now a private node on the same RPI.  I ran through the setup instructions several times now and I have searched the Threads and tried a few things but so far, no luck.

Things I have checked:
Public Node ASL Audio out is good to other ASL nodes/radios
Ensured only one instance of MMDVM_Bridge is running
USRP Channel Driver is enabled in Modules.conf
Nothing else using UDP  31103

rpt.conf for 1999
 
[1999]
rxchannel = USRP/127.0.0.1:34001:32001  ; Use the USRP channel driver. Must be enabled in modules.conf
                                        ; 127.0.0.1 = IP of the target application
                                        ; 34001 = UDP port the target application is listening on
                                        ; 32001 = UDP port ASL is listening on
 
duplex = 0                              ; 0 = Half duplex with no telemetry tones or hang time. Ah, but Allison STILL talks!
 
hangtime = 0                            ; squelch tail hang time 0
althangtime = 0                         ; longer squelch tail hang time 0
 
holdofftelem = 1                        ; Hold off all telemetry when signal is present on receiver or from connected nodes
                                        ; except when an ID needs to be done and there is a signal coming from a connected node.
 
telemdefault = 0                        ; 0 = telemetry output off. Don't send Allison to DMR !!!!!!!!!!!!!!!!! Trust me.
 
telemdynamic = 0                        ; 0 = disallow users to change the local telemetry setting with a COP command,
 
linktolink = no                         ; disables forcing physical half-duplex operation of main repeater while
                                        ; still keeping half-duplex semantics (optional)
 
nounkeyct = 1                           ; Set to a 1 to eliminate courtesy tones and associated delays.
 
totime = 180000                         ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)
 
; idrecording = |ie                     ; id recording or morse string see http://ohnosec.org/drupal/node/87
; idtalkover = |ie                      ; Talkover ID (optional) default is none see http://ohnosec.org/drupal/node/129

MMDVM_Bridge.ini (partial)
[General]
Callsign=KU5J
Id=316453701
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
 
[DMR]
Enable=1
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0

[DMR Network]
Enable=1
Address=3103.repeater.net
Port=62031
Jitter=360
Local=62032
Password=*XXXXXXXX"
# for DMR+ see https://github.com/DVSwitch/MMDVM_Bridge/blob/master/DOC/DMRplus_startup_options.md
# for XLX the syntax is: Options=XLX:4009
# Options=
Slot1=0
Slot2=1
Debug=0

Analog_Bridge.ini (partial)

[GENERAL]
logLevel = 2                            ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
 
; Metadata management
exportMetadata = true                   ; Export metadata to USRP partner (transcode setups require this)
transferRootDir = /tmp                  ; Export database files to USRP partner
subscriberFile = /var/lib/dvswitch/subscriber_ids.csv   ; DMR ID to callsign lookup data
 
; General vocoder setup information
decoderFallBack = true                  ; Allow software AMBE decoding if a hardware decoder is not found
useEmulator = false                     ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress = 127.0.0.1:2470        ; IP address and port of the md380 server
 
pcmPort = 2222                          ; UDP port to send to the WebProxy
 
; Information for xx_Bridge (Where xx is MMDVM, Quantar, HB, IPSC)
[AMBE_AUDIO]
address = 127.0.0.1                     ; IP address of xx_Bridge
txPort = 31103                          ; Transmit TLV frames to partner on this port
rxPort = 31100                          ; Listen for TLV frames from partner on this port
ambeMode = DMR                          ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW (encode PCM to this format)
minTxTimeMS = 2500                      ; Analog -> Digital Minimum time in MS for hang delay (0-10000)
 
; The metadata below is used when ASL is the source since it does not have any concept of digital modes
gatewayDmrId = 3164537                  ; ID to use when transmitting from Analog_Bridge 7 digit ID
repeaterID = 316453701                  ; ID of source repeater 7 digit ID plus 2 digit SSID
txTg = 310512                           ; TG to use for all frames sent from Analog_Bridge -> xx_Bridge
txTs = 2                                ; Slot to use for frames sent from Analog_Bridge -> xx_Bridge
colorCode = 1                           ; Color Code to assign DMR frames
 
[USRP]
address = 127.0.0.1                     ; IP address of USRP partner (Analog_Reflector, Allstar/Asterisk or another Analog_Bridge)
txPort = 32001                          ; Transmit USRP frames on this port
rxPort = 34001                          ; Listen for USRP frames on this port
usrpAudio = AUDIO_UNITY                 ; Digital -> Analog (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_USE_AGC)
usrpGain = 1.10                         ; Gain factor when usrpAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)
usrpAGC = -20,10,100                    ; Set the agc threshold (db), slope (db) and decay (ms)
tlvAudio = AUDIO_UNITY                  ; Analog -> Digital (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
tlvGain = 0.35                          ; Gain factor when tlvAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)

[DV3000]
; address = 127.0.0.1                   ; IP address of AMBEServer
; rxPort = 2460                         ; Port of AMBEServer
address = /dev/ttyUSB0              ; Device of DV3000U on this machine
baud = 460800                       ; Baud rate of the dongle (230400 or 460800)
serial = true                       ; Use serial=true for direct connect or serial=false for AMBEServer
 
MMDVM_Bridge (running)

root@KU5J1:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2022-03-19 22:53:13.265 MMDVM_Bridge:
I: 2022-03-19 22:53:13.265 Portions Copyright (C) 2018, 2019, 2020, 2021 DVSwitch, INAD.
I: 2022-03-19 22:53:13.265 Hacks by Mike N4IRR and Steve N4IRS
I: 2022-03-19 22:53:13.266 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2022-03-19 22:53:13.266 This software is for use on amateur radio networks only,
I: 2022-03-19 22:53:13.266 it is to be used for educational purposes only. Its use on
I: 2022-03-19 22:53:13.266 commercial networks is strictly prohibited.
I: 2022-03-19 22:53:13.266 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2022-03-19 22:53:13.266 MMDVM_Bridge-20210520_V1.6.8 is starting
M: 2022-03-19 22:53:13.266 Built 07:13:59 May 28 2021 (GitID #3cfcf23)
I: 2022-03-19 22:53:13.266 General Parameters
I: 2022-03-19 22:53:13.266     Callsign: KU5J
I: 2022-03-19 22:53:13.266     Id: 316453701
I: 2022-03-19 22:53:13.266     Duplex: no
I: 2022-03-19 22:53:13.266     Timeout: 180s
I: 2022-03-19 22:53:13.266     D-Star: disabled
I: 2022-03-19 22:53:13.266     DMR: enabled
I: 2022-03-19 22:53:13.266     YSF: disabled
I: 2022-03-19 22:53:13.266     P25: disabled
I: 2022-03-19 22:53:13.266     NXDN: disabled
I: 2022-03-19 22:53:13.266 Modem Parameters
I: 2022-03-19 22:53:13.266     Port: /dev/null
I: 2022-03-19 22:53:13.266     RX Invert: no
I: 2022-03-19 22:53:13.266     TX Invert: no
I: 2022-03-19 22:53:13.266     PTT Invert: no
I: 2022-03-19 22:53:13.266     TX Delay: 100ms
I: 2022-03-19 22:53:13.266     RX Offset: 0Hz
I: 2022-03-19 22:53:13.266     TX Offset: 0Hz
I: 2022-03-19 22:53:13.266     RX DC Offset: 0
I: 2022-03-19 22:53:13.266     TX DC Offset: 0
I: 2022-03-19 22:53:13.266     RF Level: 100.0%
I: 2022-03-19 22:53:13.266     DMR Delay: 0 (0.0ms)
I: 2022-03-19 22:53:13.267     RX Level: 50.0%
I: 2022-03-19 22:53:13.267     CW Id TX Level: 50.0%
I: 2022-03-19 22:53:13.267     D-Star TX Level: 50.0%
I: 2022-03-19 22:53:13.267     DMR TX Level: 50.0%
I: 2022-03-19 22:53:13.267     YSF TX Level: 50.0%
I: 2022-03-19 22:53:13.267     P25 TX Level: 50.0%
I: 2022-03-19 22:53:13.267     NXDN TX Level: 50.0%
I: 2022-03-19 22:53:13.267     RX Frequency: 222340000Hz (222340000Hz)
I: 2022-03-19 22:53:13.267     TX Frequency: 224940000Hz (224940000Hz)
M: 2022-03-19 22:53:13.267 Opening the MMDVM
I: 2022-03-19 22:53:13.267 Display Parameters
I: 2022-03-19 22:53:13.267     Type:
I: 2022-03-19 22:53:13.267 DMR Network Parameters
I: 2022-03-19 22:53:13.267     Address: 3103.repeater.net
I: 2022-03-19 22:53:13.267     Port: 62031
I: 2022-03-19 22:53:13.267     Local: 62032
I: 2022-03-19 22:53:13.267     Jitter: 360ms
I: 2022-03-19 22:53:13.267     Slot 1: disabled
I: 2022-03-19 22:53:13.267     Slot 2: enabled
I: 2022-03-19 22:53:13.267     Mode Hang: 3s
I: 2022-03-19 22:53:13.377 Info Parameters
I: 2022-03-19 22:53:13.377     Callsign: KU5J
I: 2022-03-19 22:53:13.377     RX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     TX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     Power: 1W
I: 2022-03-19 22:53:13.377     Latitude: 41.733299deg N
I: 2022-03-19 22:53:13.377     Longitude: -50.399899deg E
I: 2022-03-19 22:53:13.377     Height: 0m
I: 2022-03-19 22:53:13.377     Location: "Iceberg, North Atlantic"
I: 2022-03-19 22:53:13.377     Description: "MMDVM_Bridge"
I: 2022-03-19 22:53:13.378     URL: "https://groups.io/g/DVSwitch"
M: 2022-03-19 22:53:13.378 DMR, Opening DMR Network
I: 2022-03-19 22:53:13.378 RSSI
I: 2022-03-19 22:53:13.378     Mapping File: /dev/null
I: 2022-03-19 22:53:13.378 Loaded 0 RSSI data mapping points from /dev/null
I: 2022-03-19 22:53:13.378 DMR Id Lookups
I: 2022-03-19 22:53:13.378     File: /var/lib/mmdvm/DMRIds.dat
I: 2022-03-19 22:53:13.378     Reload: 24 hours
I: 2022-03-19 22:53:13.911 Loaded 215862 Ids to the DMR callsign lookup table
I: 2022-03-19 22:53:13.912 DMR RF Parameters
I: 2022-03-19 22:53:13.912     Id: 316453701
I: 2022-03-19 22:53:13.912     Color Code: 1
I: 2022-03-19 22:53:13.912     Self Only: no
I: 2022-03-19 22:53:13.912     Embedded LC Only: yes
I: 2022-03-19 22:53:13.912     Dump Talker Alias Data: no
I: 2022-03-19 22:53:13.912     Prefixes: 0
I: 2022-03-19 22:53:13.912     Call Hang: 3s
I: 2022-03-19 22:53:13.912     TX Hang: 3s
I: 2022-03-19 22:53:13.912     Mode Hang: 10s
M: 2022-03-19 22:53:13.912 DMR, Opening INI file: DVSwitch.ini
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] address -> 127.0.0.1
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] txPort -> 31100
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] rxPort -> 31103
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] slot -> 2
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] exportTG -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] talkerAlias -> %callsign %location %description
E: 2022-03-19 22:53:13.912 Cannot bind the UDP address, err: 98
F: 2022-03-19 22:53:13.912 DMR, Can not open listener port 31103

Any help at all would be greatly appreciated.

Thanks,

Loma
KU5J
 


Steve N4IRS
 

Are you sure there is not MMDVM_Bridge running already?
ps ax | grep MMDVM

Show the output of netstat -unap

Steve N4IRS

On 3/19/22 19:00, Loma KU5J wrote:
I can get excellent audio from DMR radio to ASL radio, but not from ASL to DMR.
I am trying install an Allstar to DMR Bridge on a SHARI Pi Hat RPI4B running ASL 2.0 beta with a DV3000 (Thumb DV) hardware vocoder. I Originally setup with AMBE software decoder but enabled ThumbDV on the off chance it may fix the issue. I have a public node and now a private node on the same RPI.  I ran through the setup instructions several times now and I have searched the Threads and tried a few things but so far, no luck.

Things I have checked:
Public Node ASL Audio out is good to other ASL nodes/radios
Ensured only one instance of MMDVM_Bridge is running
USRP Channel Driver is enabled in Modules.conf
Nothing else using UDP  31103

rpt.conf for 1999
 
[1999]
rxchannel = USRP/127.0.0.1:34001:32001  ; Use the USRP channel driver. Must be enabled in modules.conf
                                        ; 127.0.0.1 = IP of the target application
                                        ; 34001 = UDP port the target application is listening on
                                        ; 32001 = UDP port ASL is listening on
 
duplex = 0                              ; 0 = Half duplex with no telemetry tones or hang time. Ah, but Allison STILL talks!
 
hangtime = 0                            ; squelch tail hang time 0
althangtime = 0                         ; longer squelch tail hang time 0
 
holdofftelem = 1                        ; Hold off all telemetry when signal is present on receiver or from connected nodes
                                        ; except when an ID needs to be done and there is a signal coming from a connected node.
 
telemdefault = 0                        ; 0 = telemetry output off. Don't send Allison to DMR !!!!!!!!!!!!!!!!! Trust me.
 
telemdynamic = 0                        ; 0 = disallow users to change the local telemetry setting with a COP command,
 
linktolink = no                         ; disables forcing physical half-duplex operation of main repeater while
                                        ; still keeping half-duplex semantics (optional)
 
nounkeyct = 1                           ; Set to a 1 to eliminate courtesy tones and associated delays.
 
totime = 180000                         ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)
 
; idrecording = |ie                     ; id recording or morse string see http://ohnosec.org/drupal/node/87
; idtalkover = |ie                      ; Talkover ID (optional) default is none see http://ohnosec.org/drupal/node/129

MMDVM_Bridge.ini (partial)
[General]
Callsign=KU5J
Id=316453701
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
 
[DMR]
Enable=1
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0

[DMR Network]
Enable=1
Address=3103.repeater.net
Port=62031
Jitter=360
Local=62032
Password=*XXXXXXXX"
# for XLX the syntax is: Options=XLX:4009
# Options=
Slot1=0
Slot2=1
Debug=0

Analog_Bridge.ini (partial)

[GENERAL]
logLevel = 2                            ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
 
; Metadata management
exportMetadata = true                   ; Export metadata to USRP partner (transcode setups require this)
transferRootDir = /tmp                  ; Export database files to USRP partner
subscriberFile = /var/lib/dvswitch/subscriber_ids.csv   ; DMR ID to callsign lookup data
 
; General vocoder setup information
decoderFallBack = true                  ; Allow software AMBE decoding if a hardware decoder is not found
useEmulator = false                     ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress = 127.0.0.1:2470        ; IP address and port of the md380 server
 
pcmPort = 2222                          ; UDP port to send to the WebProxy
 
; Information for xx_Bridge (Where xx is MMDVM, Quantar, HB, IPSC)
[AMBE_AUDIO]
address = 127.0.0.1                     ; IP address of xx_Bridge
txPort = 31103                          ; Transmit TLV frames to partner on this port
rxPort = 31100                          ; Listen for TLV frames from partner on this port
ambeMode = DMR                          ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW (encode PCM to this format)
minTxTimeMS = 2500                      ; Analog -> Digital Minimum time in MS for hang delay (0-10000)
 
; The metadata below is used when ASL is the source since it does not have any concept of digital modes
gatewayDmrId = 3164537                  ; ID to use when transmitting from Analog_Bridge 7 digit ID
repeaterID = 316453701                  ; ID of source repeater 7 digit ID plus 2 digit SSID
txTg = 310512                           ; TG to use for all frames sent from Analog_Bridge -> xx_Bridge
txTs = 2                                ; Slot to use for frames sent from Analog_Bridge -> xx_Bridge
colorCode = 1                           ; Color Code to assign DMR frames
 
[USRP]
address = 127.0.0.1                     ; IP address of USRP partner (Analog_Reflector, Allstar/Asterisk or another Analog_Bridge)
txPort = 32001                          ; Transmit USRP frames on this port
rxPort = 34001                          ; Listen for USRP frames on this port
usrpAudio = AUDIO_UNITY                 ; Digital -> Analog (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_USE_AGC)
usrpGain = 1.10                         ; Gain factor when usrpAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)
usrpAGC = -20,10,100                    ; Set the agc threshold (db), slope (db) and decay (ms)
tlvAudio = AUDIO_UNITY                  ; Analog -> Digital (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
tlvGain = 0.35                          ; Gain factor when tlvAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)

[DV3000]
; address = 127.0.0.1                   ; IP address of AMBEServer
; rxPort = 2460                         ; Port of AMBEServer
address = /dev/ttyUSB0              ; Device of DV3000U on this machine
baud = 460800                       ; Baud rate of the dongle (230400 or 460800)
serial = true                       ; Use serial=true for direct connect or serial=false for AMBEServer
 
MMDVM_Bridge (running)

root@KU5J1:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2022-03-19 22:53:13.265 MMDVM_Bridge:
I: 2022-03-19 22:53:13.265 Portions Copyright (C) 2018, 2019, 2020, 2021 DVSwitch, INAD.
I: 2022-03-19 22:53:13.265 Hacks by Mike N4IRR and Steve N4IRS
I: 2022-03-19 22:53:13.266 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2022-03-19 22:53:13.266 This software is for use on amateur radio networks only,
I: 2022-03-19 22:53:13.266 it is to be used for educational purposes only. Its use on
I: 2022-03-19 22:53:13.266 commercial networks is strictly prohibited.
I: 2022-03-19 22:53:13.266 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2022-03-19 22:53:13.266 MMDVM_Bridge-20210520_V1.6.8 is starting
M: 2022-03-19 22:53:13.266 Built 07:13:59 May 28 2021 (GitID #3cfcf23)
I: 2022-03-19 22:53:13.266 General Parameters
I: 2022-03-19 22:53:13.266     Callsign: KU5J
I: 2022-03-19 22:53:13.266     Id: 316453701
I: 2022-03-19 22:53:13.266     Duplex: no
I: 2022-03-19 22:53:13.266     Timeout: 180s
I: 2022-03-19 22:53:13.266     D-Star: disabled
I: 2022-03-19 22:53:13.266     DMR: enabled
I: 2022-03-19 22:53:13.266     YSF: disabled
I: 2022-03-19 22:53:13.266     P25: disabled
I: 2022-03-19 22:53:13.266     NXDN: disabled
I: 2022-03-19 22:53:13.266 Modem Parameters
I: 2022-03-19 22:53:13.266     Port: /dev/null
I: 2022-03-19 22:53:13.266     RX Invert: no
I: 2022-03-19 22:53:13.266     TX Invert: no
I: 2022-03-19 22:53:13.266     PTT Invert: no
I: 2022-03-19 22:53:13.266     TX Delay: 100ms
I: 2022-03-19 22:53:13.266     RX Offset: 0Hz
I: 2022-03-19 22:53:13.266     TX Offset: 0Hz
I: 2022-03-19 22:53:13.266     RX DC Offset: 0
I: 2022-03-19 22:53:13.266     TX DC Offset: 0
I: 2022-03-19 22:53:13.266     RF Level: 100.0%
I: 2022-03-19 22:53:13.266     DMR Delay: 0 (0.0ms)
I: 2022-03-19 22:53:13.267     RX Level: 50.0%
I: 2022-03-19 22:53:13.267     CW Id TX Level: 50.0%
I: 2022-03-19 22:53:13.267     D-Star TX Level: 50.0%
I: 2022-03-19 22:53:13.267     DMR TX Level: 50.0%
I: 2022-03-19 22:53:13.267     YSF TX Level: 50.0%
I: 2022-03-19 22:53:13.267     P25 TX Level: 50.0%
I: 2022-03-19 22:53:13.267     NXDN TX Level: 50.0%
I: 2022-03-19 22:53:13.267     RX Frequency: 222340000Hz (222340000Hz)
I: 2022-03-19 22:53:13.267     TX Frequency: 224940000Hz (224940000Hz)
M: 2022-03-19 22:53:13.267 Opening the MMDVM
I: 2022-03-19 22:53:13.267 Display Parameters
I: 2022-03-19 22:53:13.267     Type:
I: 2022-03-19 22:53:13.267 DMR Network Parameters
I: 2022-03-19 22:53:13.267     Address: 3103.repeater.net
I: 2022-03-19 22:53:13.267     Port: 62031
I: 2022-03-19 22:53:13.267     Local: 62032
I: 2022-03-19 22:53:13.267     Jitter: 360ms
I: 2022-03-19 22:53:13.267     Slot 1: disabled
I: 2022-03-19 22:53:13.267     Slot 2: enabled
I: 2022-03-19 22:53:13.267     Mode Hang: 3s
I: 2022-03-19 22:53:13.377 Info Parameters
I: 2022-03-19 22:53:13.377     Callsign: KU5J
I: 2022-03-19 22:53:13.377     RX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     TX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     Power: 1W
I: 2022-03-19 22:53:13.377     Latitude: 41.733299deg N
I: 2022-03-19 22:53:13.377     Longitude: -50.399899deg E
I: 2022-03-19 22:53:13.377     Height: 0m
I: 2022-03-19 22:53:13.377     Location: "Iceberg, North Atlantic"
I: 2022-03-19 22:53:13.377     Description: "MMDVM_Bridge"
I: 2022-03-19 22:53:13.378     URL: "https://groups.io/g/DVSwitch"
M: 2022-03-19 22:53:13.378 DMR, Opening DMR Network
I: 2022-03-19 22:53:13.378 RSSI
I: 2022-03-19 22:53:13.378     Mapping File: /dev/null
I: 2022-03-19 22:53:13.378 Loaded 0 RSSI data mapping points from /dev/null
I: 2022-03-19 22:53:13.378 DMR Id Lookups
I: 2022-03-19 22:53:13.378     File: /var/lib/mmdvm/DMRIds.dat
I: 2022-03-19 22:53:13.378     Reload: 24 hours
I: 2022-03-19 22:53:13.911 Loaded 215862 Ids to the DMR callsign lookup table
I: 2022-03-19 22:53:13.912 DMR RF Parameters
I: 2022-03-19 22:53:13.912     Id: 316453701
I: 2022-03-19 22:53:13.912     Color Code: 1
I: 2022-03-19 22:53:13.912     Self Only: no
I: 2022-03-19 22:53:13.912     Embedded LC Only: yes
I: 2022-03-19 22:53:13.912     Dump Talker Alias Data: no
I: 2022-03-19 22:53:13.912     Prefixes: 0
I: 2022-03-19 22:53:13.912     Call Hang: 3s
I: 2022-03-19 22:53:13.912     TX Hang: 3s
I: 2022-03-19 22:53:13.912     Mode Hang: 10s
M: 2022-03-19 22:53:13.912 DMR, Opening INI file: DVSwitch.ini
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] address -> 127.0.0.1
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] txPort -> 31100
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] rxPort -> 31103
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] slot -> 2
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] exportTG -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] talkerAlias -> %callsign %location %description
E: 2022-03-19 22:53:13.912 Cannot bind the UDP address, err: 98
F: 2022-03-19 22:53:13.912 DMR, Can not open listener port 31103

Any help at all would be greatly appreciated.

Thanks,

Loma
KU5J
 


Mike KB8JNM
 

Without hearing it with my own earball... no clue.

But I will say that what may sound perfectly fine on analog circuits, may be totally faulty when converted to digital.

I would mention my own experience of a minor hum in my analog repeater generated by the vco in a tx exciter.

I could hardly notice it on the analog side, and only when you were near the repeater but it made things very bad on DMR.

Perhaps my story will help you hone in on a better clue.


On 3/19/2022 7:00 PM, Loma KU5J wrote:
I can get excellent audio from DMR radio to ASL radio, but not from ASL to DMR.
I am trying install an Allstar to DMR Bridge on a SHARI Pi Hat RPI4B running ASL 2.0 beta with a DV3000 (Thumb DV) hardware vocoder. I Originally setup with AMBE software decoder but enabled ThumbDV on the off chance it may fix the issue. I have a public node and now a private node on the same RPI.  I ran through the setup instructions several times now and I have searched the Threads and tried a few things but so far, no luck.

Things I have checked:
Public Node ASL Audio out is good to other ASL nodes/radios
Ensured only one instance of MMDVM_Bridge is running
USRP Channel Driver is enabled in Modules.conf
Nothing else using UDP  31103

rpt.conf for 1999
 
[1999]
rxchannel = USRP/127.0.0.1:34001:32001  ; Use the USRP channel driver. Must be enabled in modules.conf
                                        ; 127.0.0.1 = IP of the target application
                                        ; 34001 = UDP port the target application is listening on
                                        ; 32001 = UDP port ASL is listening on
 
duplex = 0                              ; 0 = Half duplex with no telemetry tones or hang time. Ah, but Allison STILL talks!
 
hangtime = 0                            ; squelch tail hang time 0
althangtime = 0                         ; longer squelch tail hang time 0
 
holdofftelem = 1                        ; Hold off all telemetry when signal is present on receiver or from connected nodes
                                        ; except when an ID needs to be done and there is a signal coming from a connected node.
 
telemdefault = 0                        ; 0 = telemetry output off. Don't send Allison to DMR !!!!!!!!!!!!!!!!! Trust me.
 
telemdynamic = 0                        ; 0 = disallow users to change the local telemetry setting with a COP command,
 
linktolink = no                         ; disables forcing physical half-duplex operation of main repeater while
                                        ; still keeping half-duplex semantics (optional)
 
nounkeyct = 1                           ; Set to a 1 to eliminate courtesy tones and associated delays.
 
totime = 180000                         ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)
 
; idrecording = |ie                     ; id recording or morse string see http://ohnosec.org/drupal/node/87
; idtalkover = |ie                      ; Talkover ID (optional) default is none see http://ohnosec.org/drupal/node/129

MMDVM_Bridge.ini (partial)
[General]
Callsign=KU5J
Id=316453701
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
 
[DMR]
Enable=1
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0

[DMR Network]
Enable=1
Address=3103.repeater.net
Port=62031
Jitter=360
Local=62032
Password=*XXXXXXXX"
# for XLX the syntax is: Options=XLX:4009
# Options=
Slot1=0
Slot2=1
Debug=0

Analog_Bridge.ini (partial)

[GENERAL]
logLevel = 2                            ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
 
; Metadata management
exportMetadata = true                   ; Export metadata to USRP partner (transcode setups require this)
transferRootDir = /tmp                  ; Export database files to USRP partner
subscriberFile = /var/lib/dvswitch/subscriber_ids.csv   ; DMR ID to callsign lookup data
 
; General vocoder setup information
decoderFallBack = true                  ; Allow software AMBE decoding if a hardware decoder is not found
useEmulator = false                     ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress = 127.0.0.1:2470        ; IP address and port of the md380 server
 
pcmPort = 2222                          ; UDP port to send to the WebProxy
 
; Information for xx_Bridge (Where xx is MMDVM, Quantar, HB, IPSC)
[AMBE_AUDIO]
address = 127.0.0.1                     ; IP address of xx_Bridge
txPort = 31103                          ; Transmit TLV frames to partner on this port
rxPort = 31100                          ; Listen for TLV frames from partner on this port
ambeMode = DMR                          ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW (encode PCM to this format)
minTxTimeMS = 2500                      ; Analog -> Digital Minimum time in MS for hang delay (0-10000)
 
; The metadata below is used when ASL is the source since it does not have any concept of digital modes
gatewayDmrId = 3164537                  ; ID to use when transmitting from Analog_Bridge 7 digit ID
repeaterID = 316453701                  ; ID of source repeater 7 digit ID plus 2 digit SSID
txTg = 310512                           ; TG to use for all frames sent from Analog_Bridge -> xx_Bridge
txTs = 2                                ; Slot to use for frames sent from Analog_Bridge -> xx_Bridge
colorCode = 1                           ; Color Code to assign DMR frames
 
[USRP]
address = 127.0.0.1                     ; IP address of USRP partner (Analog_Reflector, Allstar/Asterisk or another Analog_Bridge)
txPort = 32001                          ; Transmit USRP frames on this port
rxPort = 34001                          ; Listen for USRP frames on this port
usrpAudio = AUDIO_UNITY                 ; Digital -> Analog (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_USE_AGC)
usrpGain = 1.10                         ; Gain factor when usrpAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)
usrpAGC = -20,10,100                    ; Set the agc threshold (db), slope (db) and decay (ms)
tlvAudio = AUDIO_UNITY                  ; Analog -> Digital (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
tlvGain = 0.35                          ; Gain factor when tlvAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)

[DV3000]
; address = 127.0.0.1                   ; IP address of AMBEServer
; rxPort = 2460                         ; Port of AMBEServer
address = /dev/ttyUSB0              ; Device of DV3000U on this machine
baud = 460800                       ; Baud rate of the dongle (230400 or 460800)
serial = true                       ; Use serial=true for direct connect or serial=false for AMBEServer
 
MMDVM_Bridge (running)

root@KU5J1:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2022-03-19 22:53:13.265 MMDVM_Bridge:
I: 2022-03-19 22:53:13.265 Portions Copyright (C) 2018, 2019, 2020, 2021 DVSwitch, INAD.
I: 2022-03-19 22:53:13.265 Hacks by Mike N4IRR and Steve N4IRS
I: 2022-03-19 22:53:13.266 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2022-03-19 22:53:13.266 This software is for use on amateur radio networks only,
I: 2022-03-19 22:53:13.266 it is to be used for educational purposes only. Its use on
I: 2022-03-19 22:53:13.266 commercial networks is strictly prohibited.
I: 2022-03-19 22:53:13.266 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2022-03-19 22:53:13.266 MMDVM_Bridge-20210520_V1.6.8 is starting
M: 2022-03-19 22:53:13.266 Built 07:13:59 May 28 2021 (GitID #3cfcf23)
I: 2022-03-19 22:53:13.266 General Parameters
I: 2022-03-19 22:53:13.266     Callsign: KU5J
I: 2022-03-19 22:53:13.266     Id: 316453701
I: 2022-03-19 22:53:13.266     Duplex: no
I: 2022-03-19 22:53:13.266     Timeout: 180s
I: 2022-03-19 22:53:13.266     D-Star: disabled
I: 2022-03-19 22:53:13.266     DMR: enabled
I: 2022-03-19 22:53:13.266     YSF: disabled
I: 2022-03-19 22:53:13.266     P25: disabled
I: 2022-03-19 22:53:13.266     NXDN: disabled
I: 2022-03-19 22:53:13.266 Modem Parameters
I: 2022-03-19 22:53:13.266     Port: /dev/null
I: 2022-03-19 22:53:13.266     RX Invert: no
I: 2022-03-19 22:53:13.266     TX Invert: no
I: 2022-03-19 22:53:13.266     PTT Invert: no
I: 2022-03-19 22:53:13.266     TX Delay: 100ms
I: 2022-03-19 22:53:13.266     RX Offset: 0Hz
I: 2022-03-19 22:53:13.266     TX Offset: 0Hz
I: 2022-03-19 22:53:13.266     RX DC Offset: 0
I: 2022-03-19 22:53:13.266     TX DC Offset: 0
I: 2022-03-19 22:53:13.266     RF Level: 100.0%
I: 2022-03-19 22:53:13.266     DMR Delay: 0 (0.0ms)
I: 2022-03-19 22:53:13.267     RX Level: 50.0%
I: 2022-03-19 22:53:13.267     CW Id TX Level: 50.0%
I: 2022-03-19 22:53:13.267     D-Star TX Level: 50.0%
I: 2022-03-19 22:53:13.267     DMR TX Level: 50.0%
I: 2022-03-19 22:53:13.267     YSF TX Level: 50.0%
I: 2022-03-19 22:53:13.267     P25 TX Level: 50.0%
I: 2022-03-19 22:53:13.267     NXDN TX Level: 50.0%
I: 2022-03-19 22:53:13.267     RX Frequency: 222340000Hz (222340000Hz)
I: 2022-03-19 22:53:13.267     TX Frequency: 224940000Hz (224940000Hz)
M: 2022-03-19 22:53:13.267 Opening the MMDVM
I: 2022-03-19 22:53:13.267 Display Parameters
I: 2022-03-19 22:53:13.267     Type:
I: 2022-03-19 22:53:13.267 DMR Network Parameters
I: 2022-03-19 22:53:13.267     Address: 3103.repeater.net
I: 2022-03-19 22:53:13.267     Port: 62031
I: 2022-03-19 22:53:13.267     Local: 62032
I: 2022-03-19 22:53:13.267     Jitter: 360ms
I: 2022-03-19 22:53:13.267     Slot 1: disabled
I: 2022-03-19 22:53:13.267     Slot 2: enabled
I: 2022-03-19 22:53:13.267     Mode Hang: 3s
I: 2022-03-19 22:53:13.377 Info Parameters
I: 2022-03-19 22:53:13.377     Callsign: KU5J
I: 2022-03-19 22:53:13.377     RX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     TX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     Power: 1W
I: 2022-03-19 22:53:13.377     Latitude: 41.733299deg N
I: 2022-03-19 22:53:13.377     Longitude: -50.399899deg E
I: 2022-03-19 22:53:13.377     Height: 0m
I: 2022-03-19 22:53:13.377     Location: "Iceberg, North Atlantic"
I: 2022-03-19 22:53:13.377     Description: "MMDVM_Bridge"
I: 2022-03-19 22:53:13.378     URL: "https://groups.io/g/DVSwitch"
M: 2022-03-19 22:53:13.378 DMR, Opening DMR Network
I: 2022-03-19 22:53:13.378 RSSI
I: 2022-03-19 22:53:13.378     Mapping File: /dev/null
I: 2022-03-19 22:53:13.378 Loaded 0 RSSI data mapping points from /dev/null
I: 2022-03-19 22:53:13.378 DMR Id Lookups
I: 2022-03-19 22:53:13.378     File: /var/lib/mmdvm/DMRIds.dat
I: 2022-03-19 22:53:13.378     Reload: 24 hours
I: 2022-03-19 22:53:13.911 Loaded 215862 Ids to the DMR callsign lookup table
I: 2022-03-19 22:53:13.912 DMR RF Parameters
I: 2022-03-19 22:53:13.912     Id: 316453701
I: 2022-03-19 22:53:13.912     Color Code: 1
I: 2022-03-19 22:53:13.912     Self Only: no
I: 2022-03-19 22:53:13.912     Embedded LC Only: yes
I: 2022-03-19 22:53:13.912     Dump Talker Alias Data: no
I: 2022-03-19 22:53:13.912     Prefixes: 0
I: 2022-03-19 22:53:13.912     Call Hang: 3s
I: 2022-03-19 22:53:13.912     TX Hang: 3s
I: 2022-03-19 22:53:13.912     Mode Hang: 10s
M: 2022-03-19 22:53:13.912 DMR, Opening INI file: DVSwitch.ini
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] address -> 127.0.0.1
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] txPort -> 31100
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] rxPort -> 31103
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] slot -> 2
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] exportTG -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] talkerAlias -> %callsign %location %description
E: 2022-03-19 22:53:13.912 Cannot bind the UDP address, err: 98
F: 2022-03-19 22:53:13.912 DMR, Can not open listener port 31103

Any help at all would be greatly appreciated.

Thanks,

Loma
KU5J
 


 

I have played around bringing in Asl to digital networks. The only time you will get nice audio is when you connect directly to your hub via DVSM.  Or a hub running similar setup. 
I have my own digital network, users will not tolerate an Asl connection.

It seems to be nodes with cheap radios that seem to introduce all the noise.

I would like to find out where the problem lies.


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Mike KB8JNM <groupio@...>
Sent: Saturday, March 19, 2022 11:12:34 PM
To: main@DVSwitch.groups.io <main@DVSwitch.groups.io>
Subject: Re: [DVSwitch] ASL to DMR no Audio #mmdvm_bridge #dvs
 

Without hearing it with my own earball... no clue.

But I will say that what may sound perfectly fine on analog circuits, may be totally faulty when converted to digital.

I would mention my own experience of a minor hum in my analog repeater generated by the vco in a tx exciter.

I could hardly notice it on the analog side, and only when you were near the repeater but it made things very bad on DMR.

Perhaps my story will help you hone in on a better clue.


On 3/19/2022 7:00 PM, Loma KU5J wrote:
I can get excellent audio from DMR radio to ASL radio, but not from ASL to DMR.
I am trying install an Allstar to DMR Bridge on a SHARI Pi Hat RPI4B running ASL 2.0 beta with a DV3000 (Thumb DV) hardware vocoder. I Originally setup with AMBE software decoder but enabled ThumbDV on the off chance it may fix the issue. I have a public node and now a private node on the same RPI.  I ran through the setup instructions several times now and I have searched the Threads and tried a few things but so far, no luck.

Things I have checked:
Public Node ASL Audio out is good to other ASL nodes/radios
Ensured only one instance of MMDVM_Bridge is running
USRP Channel Driver is enabled in Modules.conf
Nothing else using UDP  31103

rpt.conf for 1999
 
[1999]
rxchannel = USRP/127.0.0.1:34001:32001  ; Use the USRP channel driver. Must be enabled in modules.conf
                                        ; 127.0.0.1 = IP of the target application
                                        ; 34001 = UDP port the target application is listening on
                                        ; 32001 = UDP port ASL is listening on
 
duplex = 0                              ; 0 = Half duplex with no telemetry tones or hang time. Ah, but Allison STILL talks!
 
hangtime = 0                            ; squelch tail hang time 0
althangtime = 0                         ; longer squelch tail hang time 0
 
holdofftelem = 1                        ; Hold off all telemetry when signal is present on receiver or from connected nodes
                                        ; except when an ID needs to be done and there is a signal coming from a connected node.
 
telemdefault = 0                        ; 0 = telemetry output off. Don't send Allison to DMR !!!!!!!!!!!!!!!!! Trust me.
 
telemdynamic = 0                        ; 0 = disallow users to change the local telemetry setting with a COP command,
 
linktolink = no                         ; disables forcing physical half-duplex operation of main repeater while
                                        ; still keeping half-duplex semantics (optional)
 
nounkeyct = 1                           ; Set to a 1 to eliminate courtesy tones and associated delays.
 
totime = 180000                         ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)
 
; idrecording = |ie                     ; id recording or morse string see http://ohnosec.org/drupal/node/87
; idtalkover = |ie                      ; Talkover ID (optional) default is none see http://ohnosec.org/drupal/node/129

MMDVM_Bridge.ini (partial)
[General]
Callsign=KU5J
Id=316453701
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
 
[DMR]
Enable=1
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0

[DMR Network]
Enable=1
Address=3103.repeater.net
Port=62031
Jitter=360
Local=62032
Password=*XXXXXXXX"
# for XLX the syntax is: Options=XLX:4009
# Options=
Slot1=0
Slot2=1
Debug=0

Analog_Bridge.ini (partial)

[GENERAL]
logLevel = 2                            ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
 
; Metadata management
exportMetadata = true                   ; Export metadata to USRP partner (transcode setups require this)
transferRootDir = /tmp                  ; Export database files to USRP partner
subscriberFile = /var/lib/dvswitch/subscriber_ids.csv   ; DMR ID to callsign lookup data
 
; General vocoder setup information
decoderFallBack = true                  ; Allow software AMBE decoding if a hardware decoder is not found
useEmulator = false                     ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress = 127.0.0.1:2470        ; IP address and port of the md380 server
 
pcmPort = 2222                          ; UDP port to send to the WebProxy
 
; Information for xx_Bridge (Where xx is MMDVM, Quantar, HB, IPSC)
[AMBE_AUDIO]
address = 127.0.0.1                     ; IP address of xx_Bridge
txPort = 31103                          ; Transmit TLV frames to partner on this port
rxPort = 31100                          ; Listen for TLV frames from partner on this port
ambeMode = DMR                          ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW (encode PCM to this format)
minTxTimeMS = 2500                      ; Analog -> Digital Minimum time in MS for hang delay (0-10000)
 
; The metadata below is used when ASL is the source since it does not have any concept of digital modes
gatewayDmrId = 3164537                  ; ID to use when transmitting from Analog_Bridge 7 digit ID
repeaterID = 316453701                  ; ID of source repeater 7 digit ID plus 2 digit SSID
txTg = 310512                           ; TG to use for all frames sent from Analog_Bridge -> xx_Bridge
txTs = 2                                ; Slot to use for frames sent from Analog_Bridge -> xx_Bridge
colorCode = 1                           ; Color Code to assign DMR frames
 
[USRP]
address = 127.0.0.1                     ; IP address of USRP partner (Analog_Reflector, Allstar/Asterisk or another Analog_Bridge)
txPort = 32001                          ; Transmit USRP frames on this port
rxPort = 34001                          ; Listen for USRP frames on this port
usrpAudio = AUDIO_UNITY                 ; Digital -> Analog (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_USE_AGC)
usrpGain = 1.10                         ; Gain factor when usrpAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)
usrpAGC = -20,10,100                    ; Set the agc threshold (db), slope (db) and decay (ms)
tlvAudio = AUDIO_UNITY                  ; Analog -> Digital (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
tlvGain = 0.35                          ; Gain factor when tlvAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)

[DV3000]
; address = 127.0.0.1                   ; IP address of AMBEServer
; rxPort = 2460                         ; Port of AMBEServer
address = /dev/ttyUSB0              ; Device of DV3000U on this machine
baud = 460800                       ; Baud rate of the dongle (230400 or 460800)
serial = true                       ; Use serial=true for direct connect or serial=false for AMBEServer
 
MMDVM_Bridge (running)

root@KU5J1:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2022-03-19 22:53:13.265 MMDVM_Bridge:
I: 2022-03-19 22:53:13.265 Portions Copyright (C) 2018, 2019, 2020, 2021 DVSwitch, INAD.
I: 2022-03-19 22:53:13.265 Hacks by Mike N4IRR and Steve N4IRS
I: 2022-03-19 22:53:13.266 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2022-03-19 22:53:13.266 This software is for use on amateur radio networks only,
I: 2022-03-19 22:53:13.266 it is to be used for educational purposes only. Its use on
I: 2022-03-19 22:53:13.266 commercial networks is strictly prohibited.
I: 2022-03-19 22:53:13.266 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2022-03-19 22:53:13.266 MMDVM_Bridge-20210520_V1.6.8 is starting
M: 2022-03-19 22:53:13.266 Built 07:13:59 May 28 2021 (GitID #3cfcf23)
I: 2022-03-19 22:53:13.266 General Parameters
I: 2022-03-19 22:53:13.266     Callsign: KU5J
I: 2022-03-19 22:53:13.266     Id: 316453701
I: 2022-03-19 22:53:13.266     Duplex: no
I: 2022-03-19 22:53:13.266     Timeout: 180s
I: 2022-03-19 22:53:13.266     D-Star: disabled
I: 2022-03-19 22:53:13.266     DMR: enabled
I: 2022-03-19 22:53:13.266     YSF: disabled
I: 2022-03-19 22:53:13.266     P25: disabled
I: 2022-03-19 22:53:13.266     NXDN: disabled
I: 2022-03-19 22:53:13.266 Modem Parameters
I: 2022-03-19 22:53:13.266     Port: /dev/null
I: 2022-03-19 22:53:13.266     RX Invert: no
I: 2022-03-19 22:53:13.266     TX Invert: no
I: 2022-03-19 22:53:13.266     PTT Invert: no
I: 2022-03-19 22:53:13.266     TX Delay: 100ms
I: 2022-03-19 22:53:13.266     RX Offset: 0Hz
I: 2022-03-19 22:53:13.266     TX Offset: 0Hz
I: 2022-03-19 22:53:13.266     RX DC Offset: 0
I: 2022-03-19 22:53:13.266     TX DC Offset: 0
I: 2022-03-19 22:53:13.266     RF Level: 100.0%
I: 2022-03-19 22:53:13.266     DMR Delay: 0 (0.0ms)
I: 2022-03-19 22:53:13.267     RX Level: 50.0%
I: 2022-03-19 22:53:13.267     CW Id TX Level: 50.0%
I: 2022-03-19 22:53:13.267     D-Star TX Level: 50.0%
I: 2022-03-19 22:53:13.267     DMR TX Level: 50.0%
I: 2022-03-19 22:53:13.267     YSF TX Level: 50.0%
I: 2022-03-19 22:53:13.267     P25 TX Level: 50.0%
I: 2022-03-19 22:53:13.267     NXDN TX Level: 50.0%
I: 2022-03-19 22:53:13.267     RX Frequency: 222340000Hz (222340000Hz)
I: 2022-03-19 22:53:13.267     TX Frequency: 224940000Hz (224940000Hz)
M: 2022-03-19 22:53:13.267 Opening the MMDVM
I: 2022-03-19 22:53:13.267 Display Parameters
I: 2022-03-19 22:53:13.267     Type:
I: 2022-03-19 22:53:13.267 DMR Network Parameters
I: 2022-03-19 22:53:13.267     Address: 3103.repeater.net
I: 2022-03-19 22:53:13.267     Port: 62031
I: 2022-03-19 22:53:13.267     Local: 62032
I: 2022-03-19 22:53:13.267     Jitter: 360ms
I: 2022-03-19 22:53:13.267     Slot 1: disabled
I: 2022-03-19 22:53:13.267     Slot 2: enabled
I: 2022-03-19 22:53:13.267     Mode Hang: 3s
I: 2022-03-19 22:53:13.377 Info Parameters
I: 2022-03-19 22:53:13.377     Callsign: KU5J
I: 2022-03-19 22:53:13.377     RX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     TX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     Power: 1W
I: 2022-03-19 22:53:13.377     Latitude: 41.733299deg N
I: 2022-03-19 22:53:13.377     Longitude: -50.399899deg E
I: 2022-03-19 22:53:13.377     Height: 0m
I: 2022-03-19 22:53:13.377     Location: "Iceberg, North Atlantic"
I: 2022-03-19 22:53:13.377     Description: "MMDVM_Bridge"
I: 2022-03-19 22:53:13.378     URL: "https://groups.io/g/DVSwitch"
M: 2022-03-19 22:53:13.378 DMR, Opening DMR Network
I: 2022-03-19 22:53:13.378 RSSI
I: 2022-03-19 22:53:13.378     Mapping File: /dev/null
I: 2022-03-19 22:53:13.378 Loaded 0 RSSI data mapping points from /dev/null
I: 2022-03-19 22:53:13.378 DMR Id Lookups
I: 2022-03-19 22:53:13.378     File: /var/lib/mmdvm/DMRIds.dat
I: 2022-03-19 22:53:13.378     Reload: 24 hours
I: 2022-03-19 22:53:13.911 Loaded 215862 Ids to the DMR callsign lookup table
I: 2022-03-19 22:53:13.912 DMR RF Parameters
I: 2022-03-19 22:53:13.912     Id: 316453701
I: 2022-03-19 22:53:13.912     Color Code: 1
I: 2022-03-19 22:53:13.912     Self Only: no
I: 2022-03-19 22:53:13.912     Embedded LC Only: yes
I: 2022-03-19 22:53:13.912     Dump Talker Alias Data: no
I: 2022-03-19 22:53:13.912     Prefixes: 0
I: 2022-03-19 22:53:13.912     Call Hang: 3s
I: 2022-03-19 22:53:13.912     TX Hang: 3s
I: 2022-03-19 22:53:13.912     Mode Hang: 10s
M: 2022-03-19 22:53:13.912 DMR, Opening INI file: DVSwitch.ini
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] address -> 127.0.0.1
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] txPort -> 31100
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] rxPort -> 31103
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] slot -> 2
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] exportTG -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] talkerAlias -> %callsign %location %description
E: 2022-03-19 22:53:13.912 Cannot bind the UDP address, err: 98
F: 2022-03-19 22:53:13.912 DMR, Can not open listener port 31103

Any help at all would be greatly appreciated.

Thanks,

Loma
KU5J
 


Steve N4IRS
 

The usual problem is audio levels. Over driving the analog to digital link.

Steve N4IRS

On 3/19/22 21:23, Ernie Gm7kbk wrote:
I have played around bringing in Asl to digital networks. The only time you will get nice audio is when you connect directly to your hub via DVSM.  Or a hub running similar setup. 
I have my own digital network, users will not tolerate an Asl connection.

It seems to be nodes with cheap radios that seem to introduce all the noise.

I would like to find out where the problem lies.


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Mike KB8JNM <groupio@...>
Sent: Saturday, March 19, 2022 11:12:34 PM
To: main@DVSwitch.groups.io <main@DVSwitch.groups.io>
Subject: Re: [DVSwitch] ASL to DMR no Audio #mmdvm_bridge #dvs
 

Without hearing it with my own earball... no clue.

But I will say that what may sound perfectly fine on analog circuits, may be totally faulty when converted to digital.

I would mention my own experience of a minor hum in my analog repeater generated by the vco in a tx exciter.

I could hardly notice it on the analog side, and only when you were near the repeater but it made things very bad on DMR.

Perhaps my story will help you hone in on a better clue.


On 3/19/2022 7:00 PM, Loma KU5J wrote:
I can get excellent audio from DMR radio to ASL radio, but not from ASL to DMR.
I am trying install an Allstar to DMR Bridge on a SHARI Pi Hat RPI4B running ASL 2.0 beta with a DV3000 (Thumb DV) hardware vocoder. I Originally setup with AMBE software decoder but enabled ThumbDV on the off chance it may fix the issue. I have a public node and now a private node on the same RPI.  I ran through the setup instructions several times now and I have searched the Threads and tried a few things but so far, no luck.

Things I have checked:
Public Node ASL Audio out is good to other ASL nodes/radios
Ensured only one instance of MMDVM_Bridge is running
USRP Channel Driver is enabled in Modules.conf
Nothing else using UDP  31103

rpt.conf for 1999
 
[1999]
rxchannel = USRP/127.0.0.1:34001:32001  ; Use the USRP channel driver. Must be enabled in modules.conf
                                        ; 127.0.0.1 = IP of the target application
                                        ; 34001 = UDP port the target application is listening on
                                        ; 32001 = UDP port ASL is listening on
 
duplex = 0                              ; 0 = Half duplex with no telemetry tones or hang time. Ah, but Allison STILL talks!
 
hangtime = 0                            ; squelch tail hang time 0
althangtime = 0                         ; longer squelch tail hang time 0
 
holdofftelem = 1                        ; Hold off all telemetry when signal is present on receiver or from connected nodes
                                        ; except when an ID needs to be done and there is a signal coming from a connected node.
 
telemdefault = 0                        ; 0 = telemetry output off. Don't send Allison to DMR !!!!!!!!!!!!!!!!! Trust me.
 
telemdynamic = 0                        ; 0 = disallow users to change the local telemetry setting with a COP command,
 
linktolink = no                         ; disables forcing physical half-duplex operation of main repeater while
                                        ; still keeping half-duplex semantics (optional)
 
nounkeyct = 1                           ; Set to a 1 to eliminate courtesy tones and associated delays.
 
totime = 180000                         ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)
 
; idrecording = |ie                     ; id recording or morse string see http://ohnosec.org/drupal/node/87
; idtalkover = |ie                      ; Talkover ID (optional) default is none see http://ohnosec.org/drupal/node/129

MMDVM_Bridge.ini (partial)
[General]
Callsign=KU5J
Id=316453701
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
 
[DMR]
Enable=1
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0

[DMR Network]
Enable=1
Address=3103.repeater.net
Port=62031
Jitter=360
Local=62032
Password=*XXXXXXXX"
# for XLX the syntax is: Options=XLX:4009
# Options=
Slot1=0
Slot2=1
Debug=0

Analog_Bridge.ini (partial)

[GENERAL]
logLevel = 2                            ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
 
; Metadata management
exportMetadata = true                   ; Export metadata to USRP partner (transcode setups require this)
transferRootDir = /tmp                  ; Export database files to USRP partner
subscriberFile = /var/lib/dvswitch/subscriber_ids.csv   ; DMR ID to callsign lookup data
 
; General vocoder setup information
decoderFallBack = true                  ; Allow software AMBE decoding if a hardware decoder is not found
useEmulator = false                     ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress = 127.0.0.1:2470        ; IP address and port of the md380 server
 
pcmPort = 2222                          ; UDP port to send to the WebProxy
 
; Information for xx_Bridge (Where xx is MMDVM, Quantar, HB, IPSC)
[AMBE_AUDIO]
address = 127.0.0.1                     ; IP address of xx_Bridge
txPort = 31103                          ; Transmit TLV frames to partner on this port
rxPort = 31100                          ; Listen for TLV frames from partner on this port
ambeMode = DMR                          ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW (encode PCM to this format)
minTxTimeMS = 2500                      ; Analog -> Digital Minimum time in MS for hang delay (0-10000)
 
; The metadata below is used when ASL is the source since it does not have any concept of digital modes
gatewayDmrId = 3164537                  ; ID to use when transmitting from Analog_Bridge 7 digit ID
repeaterID = 316453701                  ; ID of source repeater 7 digit ID plus 2 digit SSID
txTg = 310512                           ; TG to use for all frames sent from Analog_Bridge -> xx_Bridge
txTs = 2                                ; Slot to use for frames sent from Analog_Bridge -> xx_Bridge
colorCode = 1                           ; Color Code to assign DMR frames
 
[USRP]
address = 127.0.0.1                     ; IP address of USRP partner (Analog_Reflector, Allstar/Asterisk or another Analog_Bridge)
txPort = 32001                          ; Transmit USRP frames on this port
rxPort = 34001                          ; Listen for USRP frames on this port
usrpAudio = AUDIO_UNITY                 ; Digital -> Analog (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_USE_AGC)
usrpGain = 1.10                         ; Gain factor when usrpAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)
usrpAGC = -20,10,100                    ; Set the agc threshold (db), slope (db) and decay (ms)
tlvAudio = AUDIO_UNITY                  ; Analog -> Digital (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
tlvGain = 0.35                          ; Gain factor when tlvAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)

[DV3000]
; address = 127.0.0.1                   ; IP address of AMBEServer
; rxPort = 2460                         ; Port of AMBEServer
address = /dev/ttyUSB0              ; Device of DV3000U on this machine
baud = 460800                       ; Baud rate of the dongle (230400 or 460800)
serial = true                       ; Use serial=true for direct connect or serial=false for AMBEServer
 
MMDVM_Bridge (running)

root@KU5J1:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2022-03-19 22:53:13.265 MMDVM_Bridge:
I: 2022-03-19 22:53:13.265 Portions Copyright (C) 2018, 2019, 2020, 2021 DVSwitch, INAD.
I: 2022-03-19 22:53:13.265 Hacks by Mike N4IRR and Steve N4IRS
I: 2022-03-19 22:53:13.266 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2022-03-19 22:53:13.266 This software is for use on amateur radio networks only,
I: 2022-03-19 22:53:13.266 it is to be used for educational purposes only. Its use on
I: 2022-03-19 22:53:13.266 commercial networks is strictly prohibited.
I: 2022-03-19 22:53:13.266 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2022-03-19 22:53:13.266 MMDVM_Bridge-20210520_V1.6.8 is starting
M: 2022-03-19 22:53:13.266 Built 07:13:59 May 28 2021 (GitID #3cfcf23)
I: 2022-03-19 22:53:13.266 General Parameters
I: 2022-03-19 22:53:13.266     Callsign: KU5J
I: 2022-03-19 22:53:13.266     Id: 316453701
I: 2022-03-19 22:53:13.266     Duplex: no
I: 2022-03-19 22:53:13.266     Timeout: 180s
I: 2022-03-19 22:53:13.266     D-Star: disabled
I: 2022-03-19 22:53:13.266     DMR: enabled
I: 2022-03-19 22:53:13.266     YSF: disabled
I: 2022-03-19 22:53:13.266     P25: disabled
I: 2022-03-19 22:53:13.266     NXDN: disabled
I: 2022-03-19 22:53:13.266 Modem Parameters
I: 2022-03-19 22:53:13.266     Port: /dev/null
I: 2022-03-19 22:53:13.266     RX Invert: no
I: 2022-03-19 22:53:13.266     TX Invert: no
I: 2022-03-19 22:53:13.266     PTT Invert: no
I: 2022-03-19 22:53:13.266     TX Delay: 100ms
I: 2022-03-19 22:53:13.266     RX Offset: 0Hz
I: 2022-03-19 22:53:13.266     TX Offset: 0Hz
I: 2022-03-19 22:53:13.266     RX DC Offset: 0
I: 2022-03-19 22:53:13.266     TX DC Offset: 0
I: 2022-03-19 22:53:13.266     RF Level: 100.0%
I: 2022-03-19 22:53:13.266     DMR Delay: 0 (0.0ms)
I: 2022-03-19 22:53:13.267     RX Level: 50.0%
I: 2022-03-19 22:53:13.267     CW Id TX Level: 50.0%
I: 2022-03-19 22:53:13.267     D-Star TX Level: 50.0%
I: 2022-03-19 22:53:13.267     DMR TX Level: 50.0%
I: 2022-03-19 22:53:13.267     YSF TX Level: 50.0%
I: 2022-03-19 22:53:13.267     P25 TX Level: 50.0%
I: 2022-03-19 22:53:13.267     NXDN TX Level: 50.0%
I: 2022-03-19 22:53:13.267     RX Frequency: 222340000Hz (222340000Hz)
I: 2022-03-19 22:53:13.267     TX Frequency: 224940000Hz (224940000Hz)
M: 2022-03-19 22:53:13.267 Opening the MMDVM
I: 2022-03-19 22:53:13.267 Display Parameters
I: 2022-03-19 22:53:13.267     Type:
I: 2022-03-19 22:53:13.267 DMR Network Parameters
I: 2022-03-19 22:53:13.267     Address: 3103.repeater.net
I: 2022-03-19 22:53:13.267     Port: 62031
I: 2022-03-19 22:53:13.267     Local: 62032
I: 2022-03-19 22:53:13.267     Jitter: 360ms
I: 2022-03-19 22:53:13.267     Slot 1: disabled
I: 2022-03-19 22:53:13.267     Slot 2: enabled
I: 2022-03-19 22:53:13.267     Mode Hang: 3s
I: 2022-03-19 22:53:13.377 Info Parameters
I: 2022-03-19 22:53:13.377     Callsign: KU5J
I: 2022-03-19 22:53:13.377     RX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     TX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     Power: 1W
I: 2022-03-19 22:53:13.377     Latitude: 41.733299deg N
I: 2022-03-19 22:53:13.377     Longitude: -50.399899deg E
I: 2022-03-19 22:53:13.377     Height: 0m
I: 2022-03-19 22:53:13.377     Location: "Iceberg, North Atlantic"
I: 2022-03-19 22:53:13.377     Description: "MMDVM_Bridge"
I: 2022-03-19 22:53:13.378     URL: "https://groups.io/g/DVSwitch"
M: 2022-03-19 22:53:13.378 DMR, Opening DMR Network
I: 2022-03-19 22:53:13.378 RSSI
I: 2022-03-19 22:53:13.378     Mapping File: /dev/null
I: 2022-03-19 22:53:13.378 Loaded 0 RSSI data mapping points from /dev/null
I: 2022-03-19 22:53:13.378 DMR Id Lookups
I: 2022-03-19 22:53:13.378     File: /var/lib/mmdvm/DMRIds.dat
I: 2022-03-19 22:53:13.378     Reload: 24 hours
I: 2022-03-19 22:53:13.911 Loaded 215862 Ids to the DMR callsign lookup table
I: 2022-03-19 22:53:13.912 DMR RF Parameters
I: 2022-03-19 22:53:13.912     Id: 316453701
I: 2022-03-19 22:53:13.912     Color Code: 1
I: 2022-03-19 22:53:13.912     Self Only: no
I: 2022-03-19 22:53:13.912     Embedded LC Only: yes
I: 2022-03-19 22:53:13.912     Dump Talker Alias Data: no
I: 2022-03-19 22:53:13.912     Prefixes: 0
I: 2022-03-19 22:53:13.912     Call Hang: 3s
I: 2022-03-19 22:53:13.912     TX Hang: 3s
I: 2022-03-19 22:53:13.912     Mode Hang: 10s
M: 2022-03-19 22:53:13.912 DMR, Opening INI file: DVSwitch.ini
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] address -> 127.0.0.1
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] txPort -> 31100
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] rxPort -> 31103
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] slot -> 2
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] exportTG -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] talkerAlias -> %callsign %location %description
E: 2022-03-19 22:53:13.912 Cannot bind the UDP address, err: 98
F: 2022-03-19 22:53:13.912 DMR, Can not open listener port 31103

Any help at all would be greatly appreciated.

Thanks,

Loma
KU5J
 


 

It could be. There are several Asl to digital networks in the UK. All sound the same. Most of the time an Asl link will sound as if someone transmitting is a bit to far away from a repeater or gateway. Lots of hiss etc. 


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Steve N4IRS <szingman@...>
Sent: Sunday, March 20, 2022 1:25:46 AM
To: main@DVSwitch.groups.io <main@DVSwitch.groups.io>
Subject: Re: [DVSwitch] ASL to DMR no Audio #mmdvm_bridge #dvs
 
The usual problem is audio levels. Over driving the analog to digital link.

Steve N4IRS

On 3/19/22 21:23, Ernie Gm7kbk wrote:
I have played around bringing in Asl to digital networks. The only time you will get nice audio is when you connect directly to your hub via DVSM.  Or a hub running similar setup. 
I have my own digital network, users will not tolerate an Asl connection.

It seems to be nodes with cheap radios that seem to introduce all the noise.

I would like to find out where the problem lies.


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Mike KB8JNM <groupio@...>
Sent: Saturday, March 19, 2022 11:12:34 PM
To: main@DVSwitch.groups.io <main@DVSwitch.groups.io>
Subject: Re: [DVSwitch] ASL to DMR no Audio #mmdvm_bridge #dvs
 

Without hearing it with my own earball... no clue.

But I will say that what may sound perfectly fine on analog circuits, may be totally faulty when converted to digital.

I would mention my own experience of a minor hum in my analog repeater generated by the vco in a tx exciter.

I could hardly notice it on the analog side, and only when you were near the repeater but it made things very bad on DMR.

Perhaps my story will help you hone in on a better clue.


On 3/19/2022 7:00 PM, Loma KU5J wrote:
I can get excellent audio from DMR radio to ASL radio, but not from ASL to DMR.
I am trying install an Allstar to DMR Bridge on a SHARI Pi Hat RPI4B running ASL 2.0 beta with a DV3000 (Thumb DV) hardware vocoder. I Originally setup with AMBE software decoder but enabled ThumbDV on the off chance it may fix the issue. I have a public node and now a private node on the same RPI.  I ran through the setup instructions several times now and I have searched the Threads and tried a few things but so far, no luck.

Things I have checked:
Public Node ASL Audio out is good to other ASL nodes/radios
Ensured only one instance of MMDVM_Bridge is running
USRP Channel Driver is enabled in Modules.conf
Nothing else using UDP  31103

rpt.conf for 1999
 
[1999]
rxchannel = USRP/127.0.0.1:34001:32001  ; Use the USRP channel driver. Must be enabled in modules.conf
                                        ; 127.0.0.1 = IP of the target application
                                        ; 34001 = UDP port the target application is listening on
                                        ; 32001 = UDP port ASL is listening on
 
duplex = 0                              ; 0 = Half duplex with no telemetry tones or hang time. Ah, but Allison STILL talks!
 
hangtime = 0                            ; squelch tail hang time 0
althangtime = 0                         ; longer squelch tail hang time 0
 
holdofftelem = 1                        ; Hold off all telemetry when signal is present on receiver or from connected nodes
                                        ; except when an ID needs to be done and there is a signal coming from a connected node.
 
telemdefault = 0                        ; 0 = telemetry output off. Don't send Allison to DMR !!!!!!!!!!!!!!!!! Trust me.
 
telemdynamic = 0                        ; 0 = disallow users to change the local telemetry setting with a COP command,
 
linktolink = no                         ; disables forcing physical half-duplex operation of main repeater while
                                        ; still keeping half-duplex semantics (optional)
 
nounkeyct = 1                           ; Set to a 1 to eliminate courtesy tones and associated delays.
 
totime = 180000                         ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)
 
; idrecording = |ie                     ; id recording or morse string see http://ohnosec.org/drupal/node/87
; idtalkover = |ie                      ; Talkover ID (optional) default is none see http://ohnosec.org/drupal/node/129

MMDVM_Bridge.ini (partial)
[General]
Callsign=KU5J
Id=316453701
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
 
[DMR]
Enable=1
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0

[DMR Network]
Enable=1
Address=3103.repeater.net
Port=62031
Jitter=360
Local=62032
Password=*XXXXXXXX"
# for XLX the syntax is: Options=XLX:4009
# Options=
Slot1=0
Slot2=1
Debug=0

Analog_Bridge.ini (partial)

[GENERAL]
logLevel = 2                            ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
 
; Metadata management
exportMetadata = true                   ; Export metadata to USRP partner (transcode setups require this)
transferRootDir = /tmp                  ; Export database files to USRP partner
subscriberFile = /var/lib/dvswitch/subscriber_ids.csv   ; DMR ID to callsign lookup data
 
; General vocoder setup information
decoderFallBack = true                  ; Allow software AMBE decoding if a hardware decoder is not found
useEmulator = false                     ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress = 127.0.0.1:2470        ; IP address and port of the md380 server
 
pcmPort = 2222                          ; UDP port to send to the WebProxy
 
; Information for xx_Bridge (Where xx is MMDVM, Quantar, HB, IPSC)
[AMBE_AUDIO]
address = 127.0.0.1                     ; IP address of xx_Bridge
txPort = 31103                          ; Transmit TLV frames to partner on this port
rxPort = 31100                          ; Listen for TLV frames from partner on this port
ambeMode = DMR                          ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW (encode PCM to this format)
minTxTimeMS = 2500                      ; Analog -> Digital Minimum time in MS for hang delay (0-10000)
 
; The metadata below is used when ASL is the source since it does not have any concept of digital modes
gatewayDmrId = 3164537                  ; ID to use when transmitting from Analog_Bridge 7 digit ID
repeaterID = 316453701                  ; ID of source repeater 7 digit ID plus 2 digit SSID
txTg = 310512                           ; TG to use for all frames sent from Analog_Bridge -> xx_Bridge
txTs = 2                                ; Slot to use for frames sent from Analog_Bridge -> xx_Bridge
colorCode = 1                           ; Color Code to assign DMR frames
 
[USRP]
address = 127.0.0.1                     ; IP address of USRP partner (Analog_Reflector, Allstar/Asterisk or another Analog_Bridge)
txPort = 32001                          ; Transmit USRP frames on this port
rxPort = 34001                          ; Listen for USRP frames on this port
usrpAudio = AUDIO_UNITY                 ; Digital -> Analog (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_USE_AGC)
usrpGain = 1.10                         ; Gain factor when usrpAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)
usrpAGC = -20,10,100                    ; Set the agc threshold (db), slope (db) and decay (ms)
tlvAudio = AUDIO_UNITY                  ; Analog -> Digital (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
tlvGain = 0.35                          ; Gain factor when tlvAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)

[DV3000]
; address = 127.0.0.1                   ; IP address of AMBEServer
; rxPort = 2460                         ; Port of AMBEServer
address = /dev/ttyUSB0              ; Device of DV3000U on this machine
baud = 460800                       ; Baud rate of the dongle (230400 or 460800)
serial = true                       ; Use serial=true for direct connect or serial=false for AMBEServer
 
MMDVM_Bridge (running)

root@KU5J1:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2022-03-19 22:53:13.265 MMDVM_Bridge:
I: 2022-03-19 22:53:13.265 Portions Copyright (C) 2018, 2019, 2020, 2021 DVSwitch, INAD.
I: 2022-03-19 22:53:13.265 Hacks by Mike N4IRR and Steve N4IRS
I: 2022-03-19 22:53:13.266 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2022-03-19 22:53:13.266 This software is for use on amateur radio networks only,
I: 2022-03-19 22:53:13.266 it is to be used for educational purposes only. Its use on
I: 2022-03-19 22:53:13.266 commercial networks is strictly prohibited.
I: 2022-03-19 22:53:13.266 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2022-03-19 22:53:13.266 MMDVM_Bridge-20210520_V1.6.8 is starting
M: 2022-03-19 22:53:13.266 Built 07:13:59 May 28 2021 (GitID #3cfcf23)
I: 2022-03-19 22:53:13.266 General Parameters
I: 2022-03-19 22:53:13.266     Callsign: KU5J
I: 2022-03-19 22:53:13.266     Id: 316453701
I: 2022-03-19 22:53:13.266     Duplex: no
I: 2022-03-19 22:53:13.266     Timeout: 180s
I: 2022-03-19 22:53:13.266     D-Star: disabled
I: 2022-03-19 22:53:13.266     DMR: enabled
I: 2022-03-19 22:53:13.266     YSF: disabled
I: 2022-03-19 22:53:13.266     P25: disabled
I: 2022-03-19 22:53:13.266     NXDN: disabled
I: 2022-03-19 22:53:13.266 Modem Parameters
I: 2022-03-19 22:53:13.266     Port: /dev/null
I: 2022-03-19 22:53:13.266     RX Invert: no
I: 2022-03-19 22:53:13.266     TX Invert: no
I: 2022-03-19 22:53:13.266     PTT Invert: no
I: 2022-03-19 22:53:13.266     TX Delay: 100ms
I: 2022-03-19 22:53:13.266     RX Offset: 0Hz
I: 2022-03-19 22:53:13.266     TX Offset: 0Hz
I: 2022-03-19 22:53:13.266     RX DC Offset: 0
I: 2022-03-19 22:53:13.266     TX DC Offset: 0
I: 2022-03-19 22:53:13.266     RF Level: 100.0%
I: 2022-03-19 22:53:13.266     DMR Delay: 0 (0.0ms)
I: 2022-03-19 22:53:13.267     RX Level: 50.0%
I: 2022-03-19 22:53:13.267     CW Id TX Level: 50.0%
I: 2022-03-19 22:53:13.267     D-Star TX Level: 50.0%
I: 2022-03-19 22:53:13.267     DMR TX Level: 50.0%
I: 2022-03-19 22:53:13.267     YSF TX Level: 50.0%
I: 2022-03-19 22:53:13.267     P25 TX Level: 50.0%
I: 2022-03-19 22:53:13.267     NXDN TX Level: 50.0%
I: 2022-03-19 22:53:13.267     RX Frequency: 222340000Hz (222340000Hz)
I: 2022-03-19 22:53:13.267     TX Frequency: 224940000Hz (224940000Hz)
M: 2022-03-19 22:53:13.267 Opening the MMDVM
I: 2022-03-19 22:53:13.267 Display Parameters
I: 2022-03-19 22:53:13.267     Type:
I: 2022-03-19 22:53:13.267 DMR Network Parameters
I: 2022-03-19 22:53:13.267     Address: 3103.repeater.net
I: 2022-03-19 22:53:13.267     Port: 62031
I: 2022-03-19 22:53:13.267     Local: 62032
I: 2022-03-19 22:53:13.267     Jitter: 360ms
I: 2022-03-19 22:53:13.267     Slot 1: disabled
I: 2022-03-19 22:53:13.267     Slot 2: enabled
I: 2022-03-19 22:53:13.267     Mode Hang: 3s
I: 2022-03-19 22:53:13.377 Info Parameters
I: 2022-03-19 22:53:13.377     Callsign: KU5J
I: 2022-03-19 22:53:13.377     RX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     TX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     Power: 1W
I: 2022-03-19 22:53:13.377     Latitude: 41.733299deg N
I: 2022-03-19 22:53:13.377     Longitude: -50.399899deg E
I: 2022-03-19 22:53:13.377     Height: 0m
I: 2022-03-19 22:53:13.377     Location: "Iceberg, North Atlantic"
I: 2022-03-19 22:53:13.377     Description: "MMDVM_Bridge"
I: 2022-03-19 22:53:13.378     URL: "https://groups.io/g/DVSwitch"
M: 2022-03-19 22:53:13.378 DMR, Opening DMR Network
I: 2022-03-19 22:53:13.378 RSSI
I: 2022-03-19 22:53:13.378     Mapping File: /dev/null
I: 2022-03-19 22:53:13.378 Loaded 0 RSSI data mapping points from /dev/null
I: 2022-03-19 22:53:13.378 DMR Id Lookups
I: 2022-03-19 22:53:13.378     File: /var/lib/mmdvm/DMRIds.dat
I: 2022-03-19 22:53:13.378     Reload: 24 hours
I: 2022-03-19 22:53:13.911 Loaded 215862 Ids to the DMR callsign lookup table
I: 2022-03-19 22:53:13.912 DMR RF Parameters
I: 2022-03-19 22:53:13.912     Id: 316453701
I: 2022-03-19 22:53:13.912     Color Code: 1
I: 2022-03-19 22:53:13.912     Self Only: no
I: 2022-03-19 22:53:13.912     Embedded LC Only: yes
I: 2022-03-19 22:53:13.912     Dump Talker Alias Data: no
I: 2022-03-19 22:53:13.912     Prefixes: 0
I: 2022-03-19 22:53:13.912     Call Hang: 3s
I: 2022-03-19 22:53:13.912     TX Hang: 3s
I: 2022-03-19 22:53:13.912     Mode Hang: 10s
M: 2022-03-19 22:53:13.912 DMR, Opening INI file: DVSwitch.ini
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] address -> 127.0.0.1
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] txPort -> 31100
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] rxPort -> 31103
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] slot -> 2
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] exportTG -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] talkerAlias -> %callsign %location %description
E: 2022-03-19 22:53:13.912 Cannot bind the UDP address, err: 98
F: 2022-03-19 22:53:13.912 DMR, Can not open listener port 31103

Any help at all would be greatly appreciated.

Thanks,

Loma
KU5J
 


Steve N4IRS
 

Any noise on the analog signal will be a issue through the bridge. We have quite a few AllStar to digital bridges and I have helped more then one adjust their audio level to cleanup the recovered audio to a digital user. In short, turn down the level on tha analog to digital path (in AB.ini)

Steve N4IRS

On 3/19/22 21:37, Ernie Gm7kbk wrote:
It could be. There are several Asl to digital networks in the UK. All sound the same. Most of the time an Asl link will sound as if someone transmitting is a bit to far away from a repeater or gateway. Lots of hiss etc. 


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Steve N4IRS <szingman@...>
Sent: Sunday, March 20, 2022 1:25:46 AM
To: main@DVSwitch.groups.io <main@DVSwitch.groups.io>
Subject: Re: [DVSwitch] ASL to DMR no Audio #mmdvm_bridge #dvs
 
The usual problem is audio levels. Over driving the analog to digital link.

Steve N4IRS

On 3/19/22 21:23, Ernie Gm7kbk wrote:
I have played around bringing in Asl to digital networks. The only time you will get nice audio is when you connect directly to your hub via DVSM.  Or a hub running similar setup. 
I have my own digital network, users will not tolerate an Asl connection.

It seems to be nodes with cheap radios that seem to introduce all the noise.

I would like to find out where the problem lies.


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Mike KB8JNM <groupio@...>
Sent: Saturday, March 19, 2022 11:12:34 PM
To: main@DVSwitch.groups.io <main@DVSwitch.groups.io>
Subject: Re: [DVSwitch] ASL to DMR no Audio #mmdvm_bridge #dvs
 

Without hearing it with my own earball... no clue.

But I will say that what may sound perfectly fine on analog circuits, may be totally faulty when converted to digital.

I would mention my own experience of a minor hum in my analog repeater generated by the vco in a tx exciter.

I could hardly notice it on the analog side, and only when you were near the repeater but it made things very bad on DMR.

Perhaps my story will help you hone in on a better clue.


On 3/19/2022 7:00 PM, Loma KU5J wrote:
I can get excellent audio from DMR radio to ASL radio, but not from ASL to DMR.
I am trying install an Allstar to DMR Bridge on a SHARI Pi Hat RPI4B running ASL 2.0 beta with a DV3000 (Thumb DV) hardware vocoder. I Originally setup with AMBE software decoder but enabled ThumbDV on the off chance it may fix the issue. I have a public node and now a private node on the same RPI.  I ran through the setup instructions several times now and I have searched the Threads and tried a few things but so far, no luck.

Things I have checked:
Public Node ASL Audio out is good to other ASL nodes/radios
Ensured only one instance of MMDVM_Bridge is running
USRP Channel Driver is enabled in Modules.conf
Nothing else using UDP  31103

rpt.conf for 1999
 
[1999]
rxchannel = USRP/127.0.0.1:34001:32001  ; Use the USRP channel driver. Must be enabled in modules.conf
                                        ; 127.0.0.1 = IP of the target application
                                        ; 34001 = UDP port the target application is listening on
                                        ; 32001 = UDP port ASL is listening on
 
duplex = 0                              ; 0 = Half duplex with no telemetry tones or hang time. Ah, but Allison STILL talks!
 
hangtime = 0                            ; squelch tail hang time 0
althangtime = 0                         ; longer squelch tail hang time 0
 
holdofftelem = 1                        ; Hold off all telemetry when signal is present on receiver or from connected nodes
                                        ; except when an ID needs to be done and there is a signal coming from a connected node.
 
telemdefault = 0                        ; 0 = telemetry output off. Don't send Allison to DMR !!!!!!!!!!!!!!!!! Trust me.
 
telemdynamic = 0                        ; 0 = disallow users to change the local telemetry setting with a COP command,
 
linktolink = no                         ; disables forcing physical half-duplex operation of main repeater while
                                        ; still keeping half-duplex semantics (optional)
 
nounkeyct = 1                           ; Set to a 1 to eliminate courtesy tones and associated delays.
 
totime = 180000                         ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)
 
; idrecording = |ie                     ; id recording or morse string see http://ohnosec.org/drupal/node/87
; idtalkover = |ie                      ; Talkover ID (optional) default is none see http://ohnosec.org/drupal/node/129

MMDVM_Bridge.ini (partial)
[General]
Callsign=KU5J
Id=316453701
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
 
[DMR]
Enable=1
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0

[DMR Network]
Enable=1
Address=3103.repeater.net
Port=62031
Jitter=360
Local=62032
Password=*XXXXXXXX"
# for XLX the syntax is: Options=XLX:4009
# Options=
Slot1=0
Slot2=1
Debug=0

Analog_Bridge.ini (partial)

[GENERAL]
logLevel = 2                            ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
 
; Metadata management
exportMetadata = true                   ; Export metadata to USRP partner (transcode setups require this)
transferRootDir = /tmp                  ; Export database files to USRP partner
subscriberFile = /var/lib/dvswitch/subscriber_ids.csv   ; DMR ID to callsign lookup data
 
; General vocoder setup information
decoderFallBack = true                  ; Allow software AMBE decoding if a hardware decoder is not found
useEmulator = false                     ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress = 127.0.0.1:2470        ; IP address and port of the md380 server
 
pcmPort = 2222                          ; UDP port to send to the WebProxy
 
; Information for xx_Bridge (Where xx is MMDVM, Quantar, HB, IPSC)
[AMBE_AUDIO]
address = 127.0.0.1                     ; IP address of xx_Bridge
txPort = 31103                          ; Transmit TLV frames to partner on this port
rxPort = 31100                          ; Listen for TLV frames from partner on this port
ambeMode = DMR                          ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW (encode PCM to this format)
minTxTimeMS = 2500                      ; Analog -> Digital Minimum time in MS for hang delay (0-10000)
 
; The metadata below is used when ASL is the source since it does not have any concept of digital modes
gatewayDmrId = 3164537                  ; ID to use when transmitting from Analog_Bridge 7 digit ID
repeaterID = 316453701                  ; ID of source repeater 7 digit ID plus 2 digit SSID
txTg = 310512                           ; TG to use for all frames sent from Analog_Bridge -> xx_Bridge
txTs = 2                                ; Slot to use for frames sent from Analog_Bridge -> xx_Bridge
colorCode = 1                           ; Color Code to assign DMR frames
 
[USRP]
address = 127.0.0.1                     ; IP address of USRP partner (Analog_Reflector, Allstar/Asterisk or another Analog_Bridge)
txPort = 32001                          ; Transmit USRP frames on this port
rxPort = 34001                          ; Listen for USRP frames on this port
usrpAudio = AUDIO_UNITY                 ; Digital -> Analog (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_USE_AGC)
usrpGain = 1.10                         ; Gain factor when usrpAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)
usrpAGC = -20,10,100                    ; Set the agc threshold (db), slope (db) and decay (ms)
tlvAudio = AUDIO_UNITY                  ; Analog -> Digital (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
tlvGain = 0.35                          ; Gain factor when tlvAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)

[DV3000]
; address = 127.0.0.1                   ; IP address of AMBEServer
; rxPort = 2460                         ; Port of AMBEServer
address = /dev/ttyUSB0              ; Device of DV3000U on this machine
baud = 460800                       ; Baud rate of the dongle (230400 or 460800)
serial = true                       ; Use serial=true for direct connect or serial=false for AMBEServer
 
MMDVM_Bridge (running)

root@KU5J1:/opt/MMDVM_Bridge# ./MMDVM_Bridge MMDVM_Bridge.ini
I: 2022-03-19 22:53:13.265 MMDVM_Bridge:
I: 2022-03-19 22:53:13.265 Portions Copyright (C) 2018, 2019, 2020, 2021 DVSwitch, INAD.
I: 2022-03-19 22:53:13.265 Hacks by Mike N4IRR and Steve N4IRS
I: 2022-03-19 22:53:13.266 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2022-03-19 22:53:13.266 This software is for use on amateur radio networks only,
I: 2022-03-19 22:53:13.266 it is to be used for educational purposes only. Its use on
I: 2022-03-19 22:53:13.266 commercial networks is strictly prohibited.
I: 2022-03-19 22:53:13.266 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2022-03-19 22:53:13.266 MMDVM_Bridge-20210520_V1.6.8 is starting
M: 2022-03-19 22:53:13.266 Built 07:13:59 May 28 2021 (GitID #3cfcf23)
I: 2022-03-19 22:53:13.266 General Parameters
I: 2022-03-19 22:53:13.266     Callsign: KU5J
I: 2022-03-19 22:53:13.266     Id: 316453701
I: 2022-03-19 22:53:13.266     Duplex: no
I: 2022-03-19 22:53:13.266     Timeout: 180s
I: 2022-03-19 22:53:13.266     D-Star: disabled
I: 2022-03-19 22:53:13.266     DMR: enabled
I: 2022-03-19 22:53:13.266     YSF: disabled
I: 2022-03-19 22:53:13.266     P25: disabled
I: 2022-03-19 22:53:13.266     NXDN: disabled
I: 2022-03-19 22:53:13.266 Modem Parameters
I: 2022-03-19 22:53:13.266     Port: /dev/null
I: 2022-03-19 22:53:13.266     RX Invert: no
I: 2022-03-19 22:53:13.266     TX Invert: no
I: 2022-03-19 22:53:13.266     PTT Invert: no
I: 2022-03-19 22:53:13.266     TX Delay: 100ms
I: 2022-03-19 22:53:13.266     RX Offset: 0Hz
I: 2022-03-19 22:53:13.266     TX Offset: 0Hz
I: 2022-03-19 22:53:13.266     RX DC Offset: 0
I: 2022-03-19 22:53:13.266     TX DC Offset: 0
I: 2022-03-19 22:53:13.266     RF Level: 100.0%
I: 2022-03-19 22:53:13.266     DMR Delay: 0 (0.0ms)
I: 2022-03-19 22:53:13.267     RX Level: 50.0%
I: 2022-03-19 22:53:13.267     CW Id TX Level: 50.0%
I: 2022-03-19 22:53:13.267     D-Star TX Level: 50.0%
I: 2022-03-19 22:53:13.267     DMR TX Level: 50.0%
I: 2022-03-19 22:53:13.267     YSF TX Level: 50.0%
I: 2022-03-19 22:53:13.267     P25 TX Level: 50.0%
I: 2022-03-19 22:53:13.267     NXDN TX Level: 50.0%
I: 2022-03-19 22:53:13.267     RX Frequency: 222340000Hz (222340000Hz)
I: 2022-03-19 22:53:13.267     TX Frequency: 224940000Hz (224940000Hz)
M: 2022-03-19 22:53:13.267 Opening the MMDVM
I: 2022-03-19 22:53:13.267 Display Parameters
I: 2022-03-19 22:53:13.267     Type:
I: 2022-03-19 22:53:13.267 DMR Network Parameters
I: 2022-03-19 22:53:13.267     Address: 3103.repeater.net
I: 2022-03-19 22:53:13.267     Port: 62031
I: 2022-03-19 22:53:13.267     Local: 62032
I: 2022-03-19 22:53:13.267     Jitter: 360ms
I: 2022-03-19 22:53:13.267     Slot 1: disabled
I: 2022-03-19 22:53:13.267     Slot 2: enabled
I: 2022-03-19 22:53:13.267     Mode Hang: 3s
I: 2022-03-19 22:53:13.377 Info Parameters
I: 2022-03-19 22:53:13.377     Callsign: KU5J
I: 2022-03-19 22:53:13.377     RX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     TX Frequency: 222340000Hz
I: 2022-03-19 22:53:13.377     Power: 1W
I: 2022-03-19 22:53:13.377     Latitude: 41.733299deg N
I: 2022-03-19 22:53:13.377     Longitude: -50.399899deg E
I: 2022-03-19 22:53:13.377     Height: 0m
I: 2022-03-19 22:53:13.377     Location: "Iceberg, North Atlantic"
I: 2022-03-19 22:53:13.377     Description: "MMDVM_Bridge"
I: 2022-03-19 22:53:13.378     URL: "https://groups.io/g/DVSwitch"
M: 2022-03-19 22:53:13.378 DMR, Opening DMR Network
I: 2022-03-19 22:53:13.378 RSSI
I: 2022-03-19 22:53:13.378     Mapping File: /dev/null
I: 2022-03-19 22:53:13.378 Loaded 0 RSSI data mapping points from /dev/null
I: 2022-03-19 22:53:13.378 DMR Id Lookups
I: 2022-03-19 22:53:13.378     File: /var/lib/mmdvm/DMRIds.dat
I: 2022-03-19 22:53:13.378     Reload: 24 hours
I: 2022-03-19 22:53:13.911 Loaded 215862 Ids to the DMR callsign lookup table
I: 2022-03-19 22:53:13.912 DMR RF Parameters
I: 2022-03-19 22:53:13.912     Id: 316453701
I: 2022-03-19 22:53:13.912     Color Code: 1
I: 2022-03-19 22:53:13.912     Self Only: no
I: 2022-03-19 22:53:13.912     Embedded LC Only: yes
I: 2022-03-19 22:53:13.912     Dump Talker Alias Data: no
I: 2022-03-19 22:53:13.912     Prefixes: 0
I: 2022-03-19 22:53:13.912     Call Hang: 3s
I: 2022-03-19 22:53:13.912     TX Hang: 3s
I: 2022-03-19 22:53:13.912     Mode Hang: 10s
M: 2022-03-19 22:53:13.912 DMR, Opening INI file: DVSwitch.ini
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] address -> 127.0.0.1
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] txPort -> 31100
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] rxPort -> 31103
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] slot -> 2
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] exportTG -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] talkerAlias -> %callsign %location %description
E: 2022-03-19 22:53:13.912 Cannot bind the UDP address, err: 98
F: 2022-03-19 22:53:13.912 DMR, Can not open listener port 31103

Any help at all would be greatly appreciated.

Thanks,

Loma
KU5J
 



Loma KU5J
 

root@KU5J1:~# netstat -unap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
udp        0      0 127.0.0.1:4200          0.0.0.0:*                           631/YSFGateway
udp        0      0 0.0.0.0:111             0.0.0.0:*                           1/init
udp        0      0 0.0.0.0:14020           0.0.0.0:*                           638/NXDNGateway
udp        0      0 0.0.0.0:34001           0.0.0.0:*                           5147/Analog_Bridge
udp        0      0 0.0.0.0:14050           0.0.0.0:*                           638/NXDNGateway
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           384/avahi-daemon: r
udp        0      0 127.0.0.1:32001         0.0.0.0:*                           5185/asterisk
udp        0      0 0.0.0.0:30001           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30002           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30003           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30004           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30005           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30006           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30007           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30051           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30052           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30053           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30054           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30055           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30056           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30057           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:30062           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:31100           0.0.0.0:*                           5147/Analog_Bridge
udp        0      0 0.0.0.0:31103           0.0.0.0:*                           5149/MMDVM_Bridge
udp        0      0 0.0.0.0:38798           0.0.0.0:*                           384/avahi-daemon: r
udp        0      0 0.0.0.0:2470            0.0.0.0:*                           426/qemu-arm-static
udp        0      0 0.0.0.0:6073            0.0.0.0:*                           631/YSFGateway
udp        0      0 0.0.0.0:6074            0.0.0.0:*                           5150/P25Gateway
udp        0      0 0.0.0.0:6075            0.0.0.0:*                           638/NXDNGateway
udp        0      0 0.0.0.0:4568            0.0.0.0:*                           5185/asterisk
udp        0      0 0.0.0.0:58348           0.0.0.0:*                           5149/MMDVM_Bridge
udp        0      0 0.0.0.0:42000           0.0.0.0:*                           631/YSFGateway
udp        0      0 0.0.0.0:42001           0.0.0.0:*                           631/YSFGateway
udp        0      0 0.0.0.0:42010           0.0.0.0:*                           5150/P25Gateway
udp        0      0 0.0.0.0:42011           0.0.0.0:*                           649/P25Parrot
udp        0      0 0.0.0.0:42012           0.0.0.0:*                           633/YSFParrot
udp        0      0 127.0.0.1:20001         0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 127.0.0.1:20002         0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 127.0.0.1:20003         0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:42020           0.0.0.0:*                           5150/P25Gateway
udp        0      0 127.0.0.1:20004         0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 127.0.0.1:20005         0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:42021           0.0.0.0:*                           646/NXDNParrot
udp        0      0 127.0.0.1:20006         0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 127.0.0.1:20007         0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 127.0.0.1:20010         0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:40000           0.0.0.0:*                           645/ircddbgatewayd
udp        0      0 0.0.0.0:68              0.0.0.0:*                           540/dhcpcd
udp        0      0 0.0.0.0:62032           0.0.0.0:*                           5149/MMDVM_Bridge
udp6       0      0 :::111                  :::*                                1/init
udp6       0      0 :::5353                 :::*                                384/avahi-daemon: r
udp6       0      0 :::54554                :::*                                384/avahi-daemon: r
root@KU5J1:~#
 


Loma KU5J
 

If I stop MB and then run it in the foreground I get the following and it seems to work well in both directions.

M: 2022-03-20 16:22:32.400 DMR, Opening INI file: DVSwitch.ini
M: 2022-03-20 16:22:32.400 DMR, Setting [DMR] address -> 127.0.0.1
M: 2022-03-20 16:22:32.400 DMR, Setting [DMR] txPort -> 31100
M: 2022-03-20 16:22:32.400 DMR, Setting [DMR] rxPort -> 31103
M: 2022-03-20 16:22:32.401 DMR, Setting [DMR] slot -> 2
M: 2022-03-20 16:22:32.401 DMR, Setting [DMR] exportTG -> 0
M: 2022-03-20 16:22:32.401 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2022-03-20 16:22:32.401 DMR, Setting [DMR] talkerAlias -> %callsign %location %description
M: 2022-03-20 16:22:32.401 DMR, Transmitting on 127.0.0.1:31100, and listening on port 31103.  Result = 1
M: 2022-03-20 16:22:32.401 MMDVM_Bridge-20210520_V1.6.8 is running
D: 2022-03-20 16:22:42.473 DMR, Sending authorisation
D: 2022-03-20 16:22:42.545 DMR, Sending configuration
M: 2022-03-20 16:22:42.622 DMR, Logged into the master successfully: 3103.repeater.net:62031

But after reboot, I get the following and of course one way communication flow.

M: 2022-03-19 22:53:13.912 DMR, Opening INI file: DVSwitch.ini
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] address -> 127.0.0.1
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] txPort -> 31100
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] rxPort -> 31103
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] slot -> 2
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] exportTG -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] talkerAlias -> %callsign %location %description
E: 2022-03-19 22:53:13.912 Cannot bind the UDP address, err: 98
F: 2022-03-19 22:53:13.912 DMR, Can not open listener port 31103


 

Hello Steve

I am able to clean up the audio. But its the quality of the audio from Asl.
Connected via IAX2 to the node. I do not get good audio. I have heard people say that they get great audio. Most nodes sound faint. Some are distorted. Where if I connect my nodes together and talk on the asl side audio is great.
It is maybe the nodes that I am connecting to.
Point me to an Asl node  that has good audio.


Steve N4IRS
 

After the reboot, do you try to run MB in the foreground?

On 3/20/22 12:31, Loma KU5J wrote:
If I stop MB and then run it in the foreground I get the following and it seems to work well in both directions.

M: 2022-03-20 16:22:32.400 DMR, Opening INI file: DVSwitch.ini
M: 2022-03-20 16:22:32.400 DMR, Setting [DMR] address -> 127.0.0.1
M: 2022-03-20 16:22:32.400 DMR, Setting [DMR] txPort -> 31100
M: 2022-03-20 16:22:32.400 DMR, Setting [DMR] rxPort -> 31103
M: 2022-03-20 16:22:32.401 DMR, Setting [DMR] slot -> 2
M: 2022-03-20 16:22:32.401 DMR, Setting [DMR] exportTG -> 0
M: 2022-03-20 16:22:32.401 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2022-03-20 16:22:32.401 DMR, Setting [DMR] talkerAlias -> %callsign %location %description
M: 2022-03-20 16:22:32.401 DMR, Transmitting on 127.0.0.1:31100, and listening on port 31103.  Result = 1
M: 2022-03-20 16:22:32.401 MMDVM_Bridge-20210520_V1.6.8 is running
D: 2022-03-20 16:22:42.473 DMR, Sending authorisation
D: 2022-03-20 16:22:42.545 DMR, Sending configuration
M: 2022-03-20 16:22:42.622 DMR, Logged into the master successfully: 3103.repeater.net:62031

But after reboot, I get the following and of course one way communication flow.

M: 2022-03-19 22:53:13.912 DMR, Opening INI file: DVSwitch.ini
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] address -> 127.0.0.1
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] txPort -> 31100
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] rxPort -> 31103
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] slot -> 2
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] exportTG -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] hangTimerInFrames -> 0
M: 2022-03-19 22:53:13.912 DMR, Setting [DMR] talkerAlias -> %callsign %location %description
E: 2022-03-19 22:53:13.912 Cannot bind the UDP address, err: 98
F: 2022-03-19 22:53:13.912 DMR, Can not open listener port 31103


Loma KU5J
 

After checking from the radio. If I get no audio from ASL to DMR, then I look at Supermon and Digital Voice dashboards.  If I do not see anything being passed, then I SSH in and check using systemctl status for Asterisk, AB, and MB  or Shore to Shore as you put it.  The issue is always with MB, so I stop it then run it in the foreground.  That's when it starts working again.  After reading through the threads, I started trying to see if there were 2 instances of MB running, or if something else was already connected to port 31103 before I stop MB.

It is very puzzling,   I do not reboot often and I know how to make it work now, so it is just an annoyance. My obsession with with wanting everything to work the way it is intended, will probably keep me a little frustrated until I figure it out.

Thanks for all you do.

Loma


Steve N4IRS
 

Try BM TG 3112138 it is connected to hubnet receive ONLY (51288 -> BM 3112138)

On 3/20/22 12:48, Ernie Gm7kbk wrote:
Hello Steve

I am able to clean up the audio. But its the quality of the audio from Asl.
Connected via IAX2 to the node. I do not get good audio. I have heard people say that they get great audio. Most nodes sound faint. Some are distorted. Where if I connect my nodes together and talk on the asl side audio is great.
It is maybe the nodes that I am connecting to.
Point me to an Asl node  that has good audio.


Steve N4IRS
 

So,
Running MB in the background, you get this:
E: 2022-03-19 22:53:13.912 Cannot bind the UDP address, err: 98
F: 2022-03-19 22:53:13.912 DMR, Can not open listener port 31103

But if you stop MB in the background, then start MB in the foreground, no error 98?

Reboot the capture the complete startup of MMDVM_Bridge from the log and post it.

Steve N4IRS

On 3/20/22 15:05, Loma KU5J wrote:
After checking from the radio. If I get no audio from ASL to DMR, then I look at Supermon and Digital Voice dashboards.  If I do not see anything being passed, then I SSH in and check using systemctl status for Asterisk, AB, and MB  or Shore to Shore as you put it.  The issue is always with MB, so I stop it then run it in the foreground.  That's when it starts working again.  After reading through the threads, I started trying to see if there were 2 instances of MB running, or if something else was already connected to port 31103 before I stop MB.

It is very puzzling,   I do not reboot often and I know how to make it work now, so it is just an annoyance. My obsession with with wanting everything to work the way it is intended, will probably keep me a little frustrated until I figure it out.

Thanks for all you do.

Loma


Steve N4IRS
 

I agree with your obsession with with wanting everything to work the way it is intended.
Shore to shore, well it is a bridge is it not? ;)

On 3/20/22 15:05, Loma KU5J wrote:
After checking from the radio. If I get no audio from ASL to DMR, then I look at Supermon and Digital Voice dashboards.  If I do not see anything being passed, then I SSH in and check using systemctl status for Asterisk, AB, and MB  or Shore to Shore as you put it.  The issue is always with MB, so I stop it then run it in the foreground.  That's when it starts working again.  After reading through the threads, I started trying to see if there were 2 instances of MB running, or if something else was already connected to port 31103 before I stop MB.

It is very puzzling,   I do not reboot often and I know how to make it work now, so it is just an annoyance. My obsession with with wanting everything to work the way it is intended, will probably keep me a little frustrated until I figure it out.

Thanks for all you do.

Loma


Steve N4IRS
 

Also,
If you reboot, then restart MB in background, what happens?

On 3/20/22 15:05, Loma KU5J wrote:
After checking from the radio. If I get no audio from ASL to DMR, then I look at Supermon and Digital Voice dashboards.  If I do not see anything being passed, then I SSH in and check using systemctl status for Asterisk, AB, and MB  or Shore to Shore as you put it.  The issue is always with MB, so I stop it then run it in the foreground.  That's when it starts working again.  After reading through the threads, I started trying to see if there were 2 instances of MB running, or if something else was already connected to port 31103 before I stop MB.

It is very puzzling,   I do not reboot often and I know how to make it work now, so it is just an annoyance. My obsession with with wanting everything to work the way it is intended, will probably keep me a little frustrated until I figure it out.

Thanks for all you do.

Loma