Strange DMRGateway instability issue

Help with DMR issues
Post Reply
N6PL
Posts: 30
Joined: Thu Jan 09, 2020 1:41 am

Strange DMRGateway instability issue

Post by N6PL » Sat Feb 22, 2020 6:37 pm

I'm seeing a very strange behavior when using DMRGateway to route to HBlink, not sure what to make of it. I have set up a cloud HBlink server which is behaving as expected, and if I route all traffic from a MMDVM/Pistar hotspot directly to the HBlink server then all traffic is properly handled. However, if I use DMRGateway to route traffic (to either Brandmeister or HBlink) then I see a strange problem:

My simple test config routes one TG (3670) to HBlink, and all other traffic to Brandmeister. And it works... kinda. The problem is that if I send a group call to TG 3670 I see the call received by the hotpot on the RF side but the call is not sent to HBlink, in fact if I tail the DMRGateway log file I do not see any traffic being sent to the DMRGateway process at all. That is, until I key the TG 3670 for 5 times in succession, then everything works as expected... I see the call appear in the log and it is sent to my HPlink server. But at that point if I send a call to Brandmeister the same failure occurs, traffic is received on the RF side of the hotspot but not sent to Brandmeister until I send 5 transmissions, and then calls to Brandmeister work normally, but calls to TG 3670/HPlink fail, until I sent 5 transmissions to TG 3670 and HPlink path works again, at which time Brandmeister fails, and so on. The problem is reliably repeatable and for some reason the path always starts working on the fifth attempt.

I can't find any reason for this behavior and not sure where to go from here, I would assume that the config files are ok because routing to both paths (HBlink or Brandmeister) does work properly, but why only after a series of five transmissions and why does the other path then shut down?

I have included the DMRGateway config below.

Code: Select all

[code]
[General]
RptAddress=127.0.0.1
RptPort=62032
LocalAddress=127.0.0.1
LocalPort=62031
RuleTrace=0
Daemon=1
Debug=0
RFTimeout=60
NetTimeout=60

[Log]
DisplayLevel=0
FileLevel=1
FilePath=/var/log/pi-star
FileRoot=DMRGateway

[Voice]
Enabled=1
Language=en_GB
Directory=/usr/local/etc/DMR_Audio

[Info]
Enabled=0
RXFrequency=438025000
TXFrequency=438025000
Power=1
Latitude=33.333333
Longitude=-133.333333
Height=0
Location="My city"
Description="USA"
URL=http://www.mw0mwz.co.uk/pi-star/

[XLX Network]
Startup=950
Enabled=0
File=/usr/local/etc/XLXHosts.txt
Port=62030
Password=passw0rd
ReloadTime=60
Slot=2
TG=6
Base=64000
Relink=60
Debug=0
Id=3151234
UserControl=1

[DMR Network 1]
Enabled=1
Address=74.91.118.251
Port=62031
TGRewrite0=2,9,2,9,1
PassAllPC=2
PassAllTG=2
Password="secret"
Debug=0
Id=3151111
Name=BM_United_States_3103

[DMR Network 2]
Enabled=0
Address=103.93.139.189
Port=55555
TGRewrite0=2,8,2,9,1
PCRewrite0=2,84000,2,4000,1001
Password="secret"
Debug=0
Id=3159576
Name=DMR+_IPSC2-Australia

[DMR Network 3]
Enabled=1
Name=HBLink
Address=128.64.32.16
Port=62030
TGRewrite=2,3670,2,3670,1
Password="secret"
Location=0
Debug=0
TGRewrite0=2,11,2,11,1
[/code]

W8DSB
Posts: 22
Joined: Thu Jun 14, 2018 5:54 pm

Re: Strange DMRGateway instability issue

Post by W8DSB » Thu Jul 09, 2020 1:48 pm

Did you ever get this figured out? I now have the exact same setup and issue. I think your rewrite might be incorrect but it goes along with me not understanding all of this just yet:

My issue is the same but different; I use 62033 for dual slot hotspots to link to HBlink3. I then take slot 1 to one hub and slot 2 to a different hub.
It works if I log directly into HBlink with a hotspot but if I use the DMR gateway, it never logs in at all. I just get this:

E: 2020-07-09 13:33:53.598 DMR, Connection to the master has timed out, retrying connection
M: 2020-07-09 13:33:53.598 DMR, Closing DMR Network
M: 2020-07-09 13:33:53.598 DMR, Opening DMR Network
E: 2020-07-09 13:35:03.631 DMR, Connection to the master has timed out, retrying connection
M: 2020-07-09 13:35:03.631 DMR, Closing DMR Network
M: 2020-07-09 13:35:03.631 DMR, Opening DMR Network
E: 2020-07-09 13:36:13.661 DMR, Connection to the master has timed out, retrying connection
M: 2020-07-09 13:36:13.661 DMR, Closing DMR Network
M: 2020-07-09 13:36:13.661 DMR, Opening DMR Network

The HBlink log never sees any network activity.
[DMR Network 4]
Enabled=1
Address=18.224.138.81
Port=62033
TGRewrite0=2,310195,2,310195,4
TGRewrite1=1,311887,1,311887,4
Password="secret"
Debug=0
Id=3126781
Name=LARK

W8DSB
Posts: 22
Joined: Thu Jun 14, 2018 5:54 pm

Re: Strange DMRGateway instability issue

Post by W8DSB » Thu Jul 09, 2020 2:19 pm

FYI, I was able to get it working as designed... Did you?

Post Reply