Date   

Re: DVSwitch on Centos

Steve KC1AWV
 

I'm actually thinking of doing the same myself, making a portable ASL node like I've seen out there on the Internet. If you want to revisit this at some point, feel free to keep us posted!


On Tue, Jun 11, 2019, 9:43 PM Brett KB5YZB via Groups.Io <Brett.williams=sss.gov@groups.io> wrote:
Copy Steve, no worries, I may just try to start fresh with a  raspberry pi ....... 


Re: 1 Way Audio (XLX DMR to ASL)

Steve KC1AWV
 

Stand by. Steve and Mike are keeping an eye on the board, and are paying attention to what's going on. I'm sure an answer will be provided once they have time to get to it.


On Tue, Jun 11, 2019, 9:43 PM <raymond.strickoff@...> wrote:
Did you guys ever get to the bottom of the 1 way audio?  I'm in the same boat right now.  Any help would be appreciated!

Thanks,
Ray


Re: 1 Way Audio (XLX DMR to ASL)

N0KEG
 

Did you guys ever get to the bottom of the 1 way audio?  I'm in the same boat right now.  Any help would be appreciated!

Thanks,
Ray


Re: DVSwitch on Centos

Brett KB5YZB
 

Copy Steve, no worries, I may just try to start fresh with a  raspberry pi ....... 


Re: Setting up a YSFn <--> ASL bridge

Tom Corcoran
 

Hello José … tnx for this … I actually "stumbled" on to the same set of parameters and have a working ASL <=> YSF bridge working now. Thanks to everyone on the group for suggestions and encouragements. As always, persistence is the most important attribute an individual can possess. Glad to share .ini files with anyone, but looks like José has already delivered.
--
Tom VE3NY


Re: DVSwitch on Centos

Steve KC1AWV
 

According to the errors you're receiving, youve got a major issue in the underlying operating system. In order for the package manager, yum, to operate properly, it needs a valid list of sites that have the packages you wish to install on your system. This list differs between versions, and system architectures. Since yum does not have a valid list of mirrors in mirrorlist.txt, it will never be able to download any of the prerequisites in order to run DVSwitch correctly.

You have two options that I can see right now, and both of them are at the OS level.

1. Fix the issue with yum. Get a good copy of a mirror list for your version and architecture. Check that running yum on other packages works properly.

2. Reinstall a fresh copy of CentOS on the server.

The directions I typed up are for a fresh, working copy of CentOS 7. All of my directions I bring to the group are based on the assumption that the reader has a working knowledge of Linux, and how to administer it. How or why your install is working without a functional package manager is beyond me. If I came across anything like that before installing programs I wanted on the server, I'd wipe it and reinstall.

At this point, we're getting into support of an operating system, which is beyond the scope of the DVSwitch mailing list. Once you've got the problems worked out with CentOS and can install packages through yum, either by fixing yum or reinstalling CentOS, try running through my directions again 

I apologise if this message comes across harshly. I kind of relate what's going on here so far like trying to put gas into a car with no gas pump. Sure, you could use paper cups to scoop it up and pour it in, but wouldn't it be easier to fix the gas pump in the first place?

On Tue, Jun 11, 2019, 8:33 PM Brett KB5YZB via Groups.Io <Brett.williams=sss.gov@groups.io> wrote:
Steve KC1AWV  just checking back in. Any guidance? Thanks 

Brett
KB5YZB 


Re: DVSwitch on Centos

Brett KB5YZB
 

Steve KC1AWV  just checking back in. Any guidance? Thanks 

Brett
KB5YZB 


Re: Setting up a YSFn <--> ASL bridge

TG9AOR
 

Hello. Here is a working copy of my config file for node 48270. This has a private node for ASL<>YSFReflector.


[System Fusion]
Enable=1
LowDeviation=0
SelfOnly=0
RemoteGateway=0
ModeHang=0

[System Fusion Network]
Enable=1
LocalAddress=0
LocalPort=3200
GatewayAddress=190.148.222.28
GatewayPort=42000
ModeHang=0
Debug=0

I use a separate instance of MD380EMU due to the fact the original one (the one that runs on port 2470) is being used by DMR, so... on analog bridge for YSF...

; General vocoder setup information
decoderFallBack = true                  ; Allow software AMBE decoding if a hardware decoder is not found
useEmulator = true                      ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress = 127.0.0.1:2471        ; IP address and port of the server

; Information for xx_Bridges (Where xx is MMDVM, HB, IPSC)
[AMBE_AUDIO]
server = 127.0.0.1                      ; IP address of xx_Bridge.py
fromDMRPort = 35100                     ; AMBE frames from xx_Bridge (should match "toGatewayPort" in xx_Bridge.cfg)
toDMRPort = 35103                       ; AMBE frames from xx_Bridge (should match "fromGatewayPort" in xx_Bridge.cfg)
ambeMode = YSFN                         ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW
minTxTimeMS = 3000                      ; Minimum time in MS for hang delay
gatewayDmrId = 7040002                  ; ID to use when transmitting from Analog_Bridge
repeaterID = 704000230                  ; ID of source repeater
txTg = XXXXX                            ; TG to use for all frames received from Analog_Bridge -> xx_Bridge
txTs = 2                                ; Slot to use for frames received from Analog_Bridge -> xx_Bridge
colorCode = 1                           ; Color Code to assign DMR frames


These audio levels have been giving me good results:
[USRP]
server = 127.0.0.1                      ; IP address of Allstar/Asterisk
toASLPort = 32003                       ; Analog_Bridge <-- ASL
fromASLPort = 34003                     ; Analog_Bridge --> ASL
aslAudio = AUDIO_USE_GAIN                  ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = 3                           ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_USE_GAIN                  ; Audio from ASL (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
dmrGain = 0.5                          ; Gain factor of audio from ASL (0.0-1.0)

Hope this helps. You would need to create a service file in order to use the MD380EMU on a different port as not to interfere with your existing DMR outlet(port 2470). Just copy the values of the md380emu.service located in /lib/systemd/system/ and rename it for YSF use, and change the port value to another one like 2471, then enable and start the service. Also I understand you have set up an private extension for this service, on my example above I use ports 32003 and 34003 for such use.


73



--
José Roberto Ruíz García Salas
TG9AOR


Re: DVSwitch on Centos

Brett KB5YZB
 

Steve looks like I'm still having issues.....Please help :)


Brett
KB5YZB

///////////////////////////////////////////////////////////////
[root@Aurora ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@Aurora ~]# sudo su
[root@Aurora ~]# yum update
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@Aurora ~]# yum install epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@Aurora ~]# yum groupinstall "Development Tools"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@Aurora ~]# yum install jq perl-Digest-SHA glibc-static
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@Aurora ~]#


DVSwitch on Centos

Steve KC1AWV
 

Brett - 

You've got some repo errors it looks like.
Can you try yum clean all and then start from the beginning?


Steve, I'm getting the following errors: 
/.///////////////////////////////////////////

[root@Aurora ~]# sudo su
[root@Aurora ~]# # yum update
[root@Aurora ~]# yum update
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@Aurora ~]# yum install epel-release
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@Aurora ~]# yum groupinstall "Development Tools"
Loaded plugins: fastestmirror
\Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@Aurora ~]# \yum install jq perl-Digest-SHA glibc-static
Loaded plugins: fastestmirror
\Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@Aurora ~]# \


Re: Setting up a YSFn <--> ASL bridge

Steve KC1AWV
 

Brett - I bungled the topic split. I'm creating a new topic based off this message "DVSwitch on Centos" since we're going a bit off topic on this thread.

Steve KC1AWV


Re: Setting up a YSFn <--> ASL bridge

Steve N4IRS
 

Tom,

Maybe I missed something, did you not say you had a ASL <-> DMR bridge running?

ASL <-> YSF is the same except you configure MMDVM_Bridge for YSF and you point Analog_Bridge at the MMDVM_Bridge YSF TX and RX ports.

Here is the howto for ASL <-> DMR

<https://docs.google.com/document/d/1eN50Csr29eAprBu7eKA0Bfa2XUcsXw5iktY1Ey-Qjkg/edit?usp=sharing>

On 6/10/19 8:16 PM, Tom Corcoran wrote:
Steve(s) … I need a little clearer guidance … at least three moving parts (ini files)and I need to keep track of them. 

Instead of narratives … can you please edit my .ini files to indicate what you are suggesting about switching 
--
tnx so much … I really appreciate your help on this. Because I'm seeing traffic on logs, I feel I'm almost there. Tom VE3NY


Re: Setting up a YSFn <--> ASL bridge

Steve N4IRS
 

Yes,

useEmulator = true      ;false                     ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress = 127.0.0.1:2470        ; IP address and port of the server

On 6/10/19 8:18 PM, Tom Corcoran wrote:
by "emulator" do you mean the md380-emu?
--
Tom VE3NY


Re: Setting up a YSFn <--> ASL bridge

Tom Corcoran
 

by "emulator" do you mean the md380-emu?
--
Tom VE3NY


Re: Setting up a YSFn <--> ASL bridge

Tom Corcoran
 

Steve(s) … I need a little clearer guidance … at least three moving parts (ini files)and I need to keep track of them. 

Instead of narratives … can you please edit my .ini files to indicate what you are suggesting about switching 
--
tnx so much … I really appreciate your help on this. Because I'm seeing traffic on logs, I feel I'm almost there. Tom VE3NY


Re: Setting up a YSFn <--> ASL bridge

Steve N4IRS
 

Yes, assuming you have the emulator running. You can use the ASL <-> DMR writeup for info. Or you can use your working ASL <-> DMR bridge as a template.

On 6/10/19 8:12 PM, Tom Corcoran wrote:
Steve N4irs

to be clear … is this the change to enable vocoder?

; General vocoder setup information
decoderFallBack = true  ;false                 ; Allow software AMBE decoding if a hardware decoder is not found
useEmulator = true      ;false                     ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress = 127.0.0.1:2470        ; IP address and port of the server

--
Tom VE3NY


Re: Setting up a YSFn <--> ASL bridge

Tom Corcoran
 

Steve N4irs

to be clear … is this the change to enable vocoder?

; General vocoder setup information
decoderFallBack = true  ;false                 ; Allow software AMBE decoding if a hardware decoder is not found
useEmulator = true      ;false                     ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress = 127.0.0.1:2470        ; IP address and port of the server

--
Tom VE3NY


Setting up a YSFn <--> ASL bridge

Brett KB5YZB
 

Steve, I'm getting the following errors: 
/.///////////////////////////////////////////

[root@Aurora ~]# sudo su
[root@Aurora ~]# # yum update
[root@Aurora ~]# yum update
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@Aurora ~]# yum install epel-release
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@Aurora ~]# yum groupinstall "Development Tools"
Loaded plugins: fastestmirror
\Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@Aurora ~]# \yum install jq perl-Digest-SHA glibc-static
Loaded plugins: fastestmirror
\Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@Aurora ~]# \


Re: Setting up a YSFn <--> ASL bridge

Steve N4IRS
 

As Steve said, move the DMR ports to something else then the port number in use by YSF.

I see no software vocoder turned on in Analog_Bridge.ini Are you using a DV3000? If not turn on a software vocoder.

Steve N4IRS

On 6/10/19 5:53 PM, Tom Corcoran wrote:
Hello Steve,

here goes … I hope this is a "learning experience" for the whole community … it sure is for me!!
--
tnx … Tom VE3NY

mmdvm log

I: 2019-06-10 21:30:36.665 MMDVM_Bridge:
I: 2019-06-10 21:30:36.665 Portions Copyright (C) 2018 DVSwitch, INAD.
I: 2019-06-10 21:30:36.665 Hacks by Mike N4IRR and Steve N4IRS
I: 2019-06-10 21:30:36.665 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2019-06-10 21:30:36.665 This software is for use on amateur radio networks only,
I: 2019-06-10 21:30:36.665 it is to be used for educational purposes only. Its use on
I: 2019-06-10 21:30:36.665 commercial networks is strictly prohibited.
I: 2019-06-10 21:30:36.665 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2019-06-10 21:30:36.665 MMDVM_Bridge-20180423 is starting
M: 2019-06-10 21:30:36.665 Built 13:54:43 May 30 2018 (GitID #9cdea41)
I: 2019-06-10 21:30:36.665 General Parameters
I: 2019-06-10 21:30:36.665     Callsign: VE3NY
I: 2019-06-10 21:30:36.665     Id: 3023284
I: 2019-06-10 21:30:36.665     Duplex: no
I: 2019-06-10 21:30:36.665     Timeout: 180s
I: 2019-06-10 21:30:36.665     D-Star: disabled
I: 2019-06-10 21:30:36.665     DMR: disabled
I: 2019-06-10 21:30:36.665     YSF: enabled
I: 2019-06-10 21:30:36.665     P25: disabled
I: 2019-06-10 21:30:36.665     NXDN: disabled
I: 2019-06-10 21:30:36.665 Modem Parameters
I: 2019-06-10 21:30:36.665     Port: /dev/null
I: 2019-06-10 21:30:36.665     RX Invert: no
I: 2019-06-10 21:30:36.665     TX Invert: no
I: 2019-06-10 21:30:36.665     PTT Invert: no
I: 2019-06-10 21:30:36.665     TX Delay: 100ms
I: 2019-06-10 21:30:36.665     RX Offset: 0Hz
I: 2019-06-10 21:30:36.665     TX Offset: 0Hz
I: 2019-06-10 21:30:36.665     RX DC Offset: 0
I: 2019-06-10 21:30:36.665     TX DC Offset: 0
I: 2019-06-10 21:30:36.665     RF Level: 100.0%
I: 2019-06-10 21:30:36.665     DMR Delay: 0 (0.0ms)
I: 2019-06-10 21:30:36.665     RX Level: 50.0%
I: 2019-06-10 21:30:36.666     CW Id TX Level: 50.0%
I: 2019-06-10 21:30:36.666     D-Star TX Level: 50.0%
I: 2019-06-10 21:30:36.667     DMR TX Level: 50.0%
I: 2019-06-10 21:30:36.667     YSF TX Level: 50.0%
I: 2019-06-10 21:30:36.667     P25 TX Level: 50.0%
I: 2019-06-10 21:30:36.667     NXDN TX Level: 50.0%
I: 2019-06-10 21:30:36.667     RX Frequency: 222340000Hz (222340000Hz)
I: 2019-06-10 21:30:36.667     TX Frequency: 224940000Hz (224940000Hz)
M: 2019-06-10 21:30:36.667 Opening the MMDVM
I: 2019-06-10 21:30:36.667 Display Parameters
I: 2019-06-10 21:30:36.667     Type:
I: 2019-06-10 21:30:36.667 System Fusion Network Parameters
I: 2019-06-10 21:30:36.667     Local Address: 0
I: 2019-06-10 21:30:36.667     Local Port: 3200
I: 2019-06-10 21:30:36.667     Gateway Address: 144.217.241.23
I: 2019-06-10 21:30:36.667     Gateway Port: 42100
I: 2019-06-10 21:30:36.667     Mode Hang: 3s
M: 2019-06-10 21:30:36.667 Opening YSF network connection
I: 2019-06-10 21:30:36.667 RSSI
I: 2019-06-10 21:30:36.667     Mapping File: RSSI.dat
W: 2019-06-10 21:30:36.667 Cannot open the RSSI data file - RSSI.dat
I: 2019-06-10 21:30:36.667 DMR Id Lookups
I: 2019-06-10 21:30:36.667     File: /var/lib/mmdvm/DMRIds.dat
I: 2019-06-10 21:30:36.667     Reload: 24 hours
I: 2019-06-10 21:30:36.808 Loaded 135612 Ids to the DMR callsign lookup table
I: 2019-06-10 21:30:36.808 YSF RF Parameters
I: 2019-06-10 21:30:36.808     Low Deviation: no
I: 2019-06-10 21:30:36.808     Remote Gateway: no
I: 2019-06-10 21:30:36.808     Self Only: no
I: 2019-06-10 21:30:36.808     DSQ: no
I: 2019-06-10 21:30:36.808     Mode Hang: 10s
M: 2019-06-10 21:30:36.808 YSF, Opening INI file: DVSwitch.ini
M: 2019-06-10 21:30:36.808 YSF, Setting [YSF] Address -> 127.0.0.1
M: 2019-06-10 21:30:36.808 YSF, Setting [YSF] TXPort -> 31103
M: 2019-06-10 21:30:36.808 YSF, Setting [YSF] RXPort -> 31100
M: 2019-06-10 21:30:36.808 YSF, Setting [YSF] FallbackID -> 3112488
M: 2019-06-10 21:30:36.808 YSF, Setting [YSF] ExportTG -> 77353
M: 2019-06-10 21:30:36.808 YSF, Setting [YSF] Slot -> 2
M: 2019-06-10 21:30:36.808 YSF, Transmitting on 127.0.0.1:31103 and listening on port 31100.  Result = 1
M: 2019-06-10 21:30:36.808 MMDVM_Bridge-20180423 is running
I: 2019-06-10 21:30:36.808 Started the DMR Id lookup reload thread
M: 2019-06-10 21:30:41.873 YSF, received network data from VA3AGZ     to ALL        at VE2DMR   
I: 2019-06-10 21:30:41.873 YSF, Lookup call VA3AGZ returned id 3023594 -> 3023594
M: 2019-06-10 21:30:57.964 YSF, received network end of transmission, 16.5 seconds, 0% packet loss, BER: 0.0%
M: 2019-06-10 21:31:02.137 YSF, received network data from VE3BWP     to ALL        at VE2DMR   
I: 2019-06-10 21:31:02.137 YSF, Lookup call VE3BWP returned id 3023340 -> 3023340


MMDVM ini

[General]
Callsign=VE3NY
Id=3023284
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=47.7333
Longitude=-78.3999
Height=0
Location=Toronto, Canada
Description=MMDVM_Bridge
URL=https://groups.io/g/DVSwitch
[Log]
# Logging levels, 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=1
[P25]
Enable=0
NAC=293
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Address=hblink.dvswitch.org
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=1
LocalAddress=0
LocalPort=3200
GatewayAddress=144.217.241.23
GatewayPort=42100
Debug=0
[P25 Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020


DVSwitch ini

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


Analog ini

; Analog_Bridge configuration file.
;   This file should be placed in either /etc or it can be
;   supplied as a path on the Analog_Bridge command line.
; General Section describes settings for Analog_Bridge itself.
;   For RPI, don't forget to modprobe snd_pcm_oss to get the devices populated
[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)
subscriberFile = /var/lib/dvswitch/subscriber_ids.csv   ; DMR ID to callsign lookup data
; General vocoder setup information
decoderFallBack = false                 ; 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 server
; Audio devices are normally not needed when in gateway service.  These devices should
; only be set when local monitor or dongle modes are required.
outputAudioDevice = /dev/null           ; Audio device /dev/null, /dev/dsp1, portaudio, etc
inputAudioDevice = /dev/null            ; Only used for dongle mode
; Below values are for using this as a local DMR dongle (no ASL needed)
useMicrophone = false                   ; Use app as just a fancy dongle for DMR
useVox = false                          ; If using dongle mode (useMicrophone), enable VOX
voxDecay = 2                            ; Hang time in seconds
voxTrigger = 200                        ; Value to trip PTT (0-32767)
; Information for xx_Bridges (Where xx is MMDVM, HB, IPSC)
[AMBE_AUDIO]
server = 127.0.0.1                      ; IP address of xx_Bridge.py
fromDMRPort = 31100   ; AMBE frames from xx_Bridge (should match "toGatewayPort" in xx_Bridge.cfg)
toDMRPort = 31103   ;  AMBE frames from xx_Bridge (should match "fromGatewayPort" in xx_Bridge.cfg)
ambeMode = YSFN                         ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW
minTxTimeMS = 2000                      ; Minimum time in MS for hang delay
gatewayDmrId = 3023284                  ; ID to use when transmitting from Analog_Bridge
repeaterID = 302328401                  ; ID of source repeater
txTg = 77353                            ; TG to use for all frames received from Analog_Bridge -> xx_Bridge
txTs = 2                                ; Slot to use for frames received from Analog_Bridge -> xx_Bridge
colorCode = 1                           ; Color Code to assign DMR frames
; Information for USRP channel driver.  This interface uses PCM to transfer audio information
; There are two typical configurations, ASL and Transcode.  ASL (AllstarLink) is for analog clients connected
; to a digital network.  Transcode is when Analog_Bridge actually points its PCM interfaces back at itself,
; causing a TLV <-- (pcm <--> pcm) --> TLV type of architecture.
;   When using ASL, this matches the rpt.conf ASL file with a setting like:
;   rxchannel = usrp/127.0.0.1:34001:32001
;   When Transcoding, make toASLPort equal to the other instance fromASLPort (crossover)
[USRP]
server = 127.0.0.1                      ; IP address of Allstar/Asterisk
toASLPort = 32001                       ; Analog_Bridge <-- ASL
fromASLPort = 34001                     ; Analog_Bridge --> ASL
aslAudio = AUDIO_USE_Gain               ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = 83                             ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_USE_GAIN               ; Audio from ASL (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
dmrGain = 0.25                          ; Gain factor of audio from ASL (0.0-1.0)
; Information for DV3000 hardware decoder
;   There are two configuration modes: IP (AMBEServer) and serial (direct connect hardware)
;   Use top server and port if using AMBEServer
;   Use bottom server/port and serial = true if using the DV3000u (thumbdv)
;   Did you run AMBETest4.py before using this?
[DV3000]
server = 127.0.0.1                      ; IP address of AMBEServer
port = 2460                             ; Port of AMBEServer
; server = /dev/ttyUSB0                 ; Device of DV3000U on this machine
; port = 460800                         ; Baud rate of the dongle
; serial = true                         ; Use serial (DV3000U) or IP




Re: Setting up a YSFn <--> ASL bridge

Steve KC1AWV
 

You've switched the ports in DVSwitch.ini for YSF to match DMR. Change either YSF back to 35100 and 35103 and update Analog_Bridge.ini or switch the ports for DMR to something else that doesn't match the YSF ports.

Steve KC1AWV


On Mon, Jun 10, 2019 at 5:53 PM Tom Corcoran <tcorcoran@...> wrote:
Hello Steve,

here goes … I hope this is a "learning experience" for the whole community … it sure is for me!!
--
tnx … Tom VE3NY

mmdvm log

I: 2019-06-10 21:30:36.665 MMDVM_Bridge:
I: 2019-06-10 21:30:36.665 Portions Copyright (C) 2018 DVSwitch, INAD.
I: 2019-06-10 21:30:36.665 Hacks by Mike N4IRR and Steve N4IRS
I: 2019-06-10 21:30:36.665 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I: 2019-06-10 21:30:36.665 This software is for use on amateur radio networks only,
I: 2019-06-10 21:30:36.665 it is to be used for educational purposes only. Its use on
I: 2019-06-10 21:30:36.665 commercial networks is strictly prohibited.
I: 2019-06-10 21:30:36.665 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others
M: 2019-06-10 21:30:36.665 MMDVM_Bridge-20180423 is starting
M: 2019-06-10 21:30:36.665 Built 13:54:43 May 30 2018 (GitID #9cdea41)
I: 2019-06-10 21:30:36.665 General Parameters
I: 2019-06-10 21:30:36.665     Callsign: VE3NY
I: 2019-06-10 21:30:36.665     Id: 3023284
I: 2019-06-10 21:30:36.665     Duplex: no
I: 2019-06-10 21:30:36.665     Timeout: 180s
I: 2019-06-10 21:30:36.665     D-Star: disabled
I: 2019-06-10 21:30:36.665     DMR: disabled
I: 2019-06-10 21:30:36.665     YSF: enabled
I: 2019-06-10 21:30:36.665     P25: disabled
I: 2019-06-10 21:30:36.665     NXDN: disabled
I: 2019-06-10 21:30:36.665 Modem Parameters
I: 2019-06-10 21:30:36.665     Port: /dev/null
I: 2019-06-10 21:30:36.665     RX Invert: no
I: 2019-06-10 21:30:36.665     TX Invert: no
I: 2019-06-10 21:30:36.665     PTT Invert: no
I: 2019-06-10 21:30:36.665     TX Delay: 100ms
I: 2019-06-10 21:30:36.665     RX Offset: 0Hz
I: 2019-06-10 21:30:36.665     TX Offset: 0Hz
I: 2019-06-10 21:30:36.665     RX DC Offset: 0
I: 2019-06-10 21:30:36.665     TX DC Offset: 0
I: 2019-06-10 21:30:36.665     RF Level: 100.0%
I: 2019-06-10 21:30:36.665     DMR Delay: 0 (0.0ms)
I: 2019-06-10 21:30:36.665     RX Level: 50.0%
I: 2019-06-10 21:30:36.666     CW Id TX Level: 50.0%
I: 2019-06-10 21:30:36.666     D-Star TX Level: 50.0%
I: 2019-06-10 21:30:36.667     DMR TX Level: 50.0%
I: 2019-06-10 21:30:36.667     YSF TX Level: 50.0%
I: 2019-06-10 21:30:36.667     P25 TX Level: 50.0%
I: 2019-06-10 21:30:36.667     NXDN TX Level: 50.0%
I: 2019-06-10 21:30:36.667     RX Frequency: 222340000Hz (222340000Hz)
I: 2019-06-10 21:30:36.667     TX Frequency: 224940000Hz (224940000Hz)
M: 2019-06-10 21:30:36.667 Opening the MMDVM
I: 2019-06-10 21:30:36.667 Display Parameters
I: 2019-06-10 21:30:36.667     Type:
I: 2019-06-10 21:30:36.667 System Fusion Network Parameters
I: 2019-06-10 21:30:36.667     Local Address: 0
I: 2019-06-10 21:30:36.667     Local Port: 3200
I: 2019-06-10 21:30:36.667     Gateway Address: 144.217.241.23
I: 2019-06-10 21:30:36.667     Gateway Port: 42100
I: 2019-06-10 21:30:36.667     Mode Hang: 3s
M: 2019-06-10 21:30:36.667 Opening YSF network connection
I: 2019-06-10 21:30:36.667 RSSI
I: 2019-06-10 21:30:36.667     Mapping File: RSSI.dat
W: 2019-06-10 21:30:36.667 Cannot open the RSSI data file - RSSI.dat
I: 2019-06-10 21:30:36.667 DMR Id Lookups
I: 2019-06-10 21:30:36.667     File: /var/lib/mmdvm/DMRIds.dat
I: 2019-06-10 21:30:36.667     Reload: 24 hours
I: 2019-06-10 21:30:36.808 Loaded 135612 Ids to the DMR callsign lookup table
I: 2019-06-10 21:30:36.808 YSF RF Parameters
I: 2019-06-10 21:30:36.808     Low Deviation: no
I: 2019-06-10 21:30:36.808     Remote Gateway: no
I: 2019-06-10 21:30:36.808     Self Only: no
I: 2019-06-10 21:30:36.808     DSQ: no
I: 2019-06-10 21:30:36.808     Mode Hang: 10s
M: 2019-06-10 21:30:36.808 YSF, Opening INI file: DVSwitch.ini
M: 2019-06-10 21:30:36.808 YSF, Setting [YSF] Address -> 127.0.0.1
M: 2019-06-10 21:30:36.808 YSF, Setting [YSF] TXPort -> 31103
M: 2019-06-10 21:30:36.808 YSF, Setting [YSF] RXPort -> 31100
M: 2019-06-10 21:30:36.808 YSF, Setting [YSF] FallbackID -> 3112488
M: 2019-06-10 21:30:36.808 YSF, Setting [YSF] ExportTG -> 77353
M: 2019-06-10 21:30:36.808 YSF, Setting [YSF] Slot -> 2
M: 2019-06-10 21:30:36.808 YSF, Transmitting on 127.0.0.1:31103 and listening on port 31100.  Result = 1
M: 2019-06-10 21:30:36.808 MMDVM_Bridge-20180423 is running
I: 2019-06-10 21:30:36.808 Started the DMR Id lookup reload thread
M: 2019-06-10 21:30:41.873 YSF, received network data from VA3AGZ     to ALL        at VE2DMR   
I: 2019-06-10 21:30:41.873 YSF, Lookup call VA3AGZ returned id 3023594 -> 3023594
M: 2019-06-10 21:30:57.964 YSF, received network end of transmission, 16.5 seconds, 0% packet loss, BER: 0.0%
M: 2019-06-10 21:31:02.137 YSF, received network data from VE3BWP     to ALL        at VE2DMR   
I: 2019-06-10 21:31:02.137 YSF, Lookup call VE3BWP returned id 3023340 -> 3023340


MMDVM ini

[General]
Callsign=VE3NY
Id=3023284
Timeout=180
Duplex=0
[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=47.7333
Longitude=-78.3999
Height=0
Location=Toronto, Canada
Description=MMDVM_Bridge
URL=https://groups.io/g/DVSwitch
[Log]
# Logging levels, 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge
[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24
[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24
[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0
[D-Star]
Enable=0
Module=C
[DMR]
Enable=0
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0
[System Fusion]
Enable=1
[P25]
Enable=0
NAC=293
[NXDN]
Enable=0
RAN=1
Id=12345
[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
Debug=0
[DMR Network]
Enable=0
Address=hblink.dvswitch.org
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
Debug=0
[System Fusion Network]
Enable=1
LocalAddress=0
LocalPort=3200
GatewayAddress=144.217.241.23
GatewayPort=42100
Debug=0
[P25 Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=42020
LocalPort=32010
Debug=0
[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020


DVSwitch ini

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


Analog ini

; Analog_Bridge configuration file.
;   This file should be placed in either /etc or it can be
;   supplied as a path on the Analog_Bridge command line.
; General Section describes settings for Analog_Bridge itself.
;   For RPI, don't forget to modprobe snd_pcm_oss to get the devices populated
[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)
subscriberFile = /var/lib/dvswitch/subscriber_ids.csv   ; DMR ID to callsign lookup data
; General vocoder setup information
decoderFallBack = false                 ; 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 server
; Audio devices are normally not needed when in gateway service.  These devices should
; only be set when local monitor or dongle modes are required.
outputAudioDevice = /dev/null           ; Audio device /dev/null, /dev/dsp1, portaudio, etc
inputAudioDevice = /dev/null            ; Only used for dongle mode
; Below values are for using this as a local DMR dongle (no ASL needed)
useMicrophone = false                   ; Use app as just a fancy dongle for DMR
useVox = false                          ; If using dongle mode (useMicrophone), enable VOX
voxDecay = 2                            ; Hang time in seconds
voxTrigger = 200                        ; Value to trip PTT (0-32767)
; Information for xx_Bridges (Where xx is MMDVM, HB, IPSC)
[AMBE_AUDIO]
server = 127.0.0.1                      ; IP address of xx_Bridge.py
fromDMRPort = 31100   ; AMBE frames from xx_Bridge (should match "toGatewayPort" in xx_Bridge.cfg)
toDMRPort = 31103   ;  AMBE frames from xx_Bridge (should match "fromGatewayPort" in xx_Bridge.cfg)
ambeMode = YSFN                         ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW
minTxTimeMS = 2000                      ; Minimum time in MS for hang delay
gatewayDmrId = 3023284                  ; ID to use when transmitting from Analog_Bridge
repeaterID = 302328401                  ; ID of source repeater
txTg = 77353                            ; TG to use for all frames received from Analog_Bridge -> xx_Bridge
txTs = 2                                ; Slot to use for frames received from Analog_Bridge -> xx_Bridge
colorCode = 1                           ; Color Code to assign DMR frames
; Information for USRP channel driver.  This interface uses PCM to transfer audio information
; There are two typical configurations, ASL and Transcode.  ASL (AllstarLink) is for analog clients connected
; to a digital network.  Transcode is when Analog_Bridge actually points its PCM interfaces back at itself,
; causing a TLV <-- (pcm <--> pcm) --> TLV type of architecture.
;   When using ASL, this matches the rpt.conf ASL file with a setting like:
;   rxchannel = usrp/127.0.0.1:34001:32001
;   When Transcoding, make toASLPort equal to the other instance fromASLPort (crossover)
[USRP]
server = 127.0.0.1                      ; IP address of Allstar/Asterisk
toASLPort = 32001                       ; Analog_Bridge <-- ASL
fromASLPort = 34001                     ; Analog_Bridge --> ASL
aslAudio = AUDIO_USE_Gain               ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = 83                             ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_USE_GAIN               ; Audio from ASL (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
dmrGain = 0.25                          ; Gain factor of audio from ASL (0.0-1.0)
; Information for DV3000 hardware decoder
;   There are two configuration modes: IP (AMBEServer) and serial (direct connect hardware)
;   Use top server and port if using AMBEServer
;   Use bottom server/port and serial = true if using the DV3000u (thumbdv)
;   Did you run AMBETest4.py before using this?
[DV3000]
server = 127.0.0.1                      ; IP address of AMBEServer
port = 2460                             ; Port of AMBEServer
; server = /dev/ttyUSB0                 ; Device of DV3000U on this machine
; port = 460800                         ; Baud rate of the dongle
; serial = true                         ; Use serial (DV3000U) or IP





--
Steve Miller
KC1AWV

5821 - 5840 of 9882