New Overlay for DMRGateway - welcome your comments

Help with DMR issues
User avatar
MW0MWZ
Site Admin
Posts: 1074
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

New Overlay for DMRGateway - welcome your comments

Post by MW0MWZ » Sun May 17, 2020 5:17 pm

I'm slowly working on a new overlay for DMRGateway; it still needs some work, but so far with some basic testing it seems to work OK.

General concept:
The idea here is to be able to use TS1 or TS2 on the repeater, you can tweet this to your desires with some caveats;
Any Private call, or Group call that is not specifically routed, will go out via BrandMeister. So GPS updates, private contacts, SMS etc will go that way.

BrandMeister works as normal without any changes, they have the most TGs and this causes the least frustration to do it this way.

DMR+ this has had quite some revisions, steering the output Group calls to specific TimeSlots to make them work properly (if you have some specific input on this, I'd like to hear it).
The short version is that TG 800 - 899 go to TS2, the rest go to TS1. TS2/TG9 becomes TS2/TG8 locally, and the Private calls to 4000-5000 (TS2) are handled so that you can use the DMR+ reflectors too.
All of DMR+ TalkGroups are now 5 digits long, starting with 8, all the reflectors are also 5 digits starting with an 8. (No conflict with BM or TGIF)

TGIF Talkgroups are all extended to 7 digits total, with a "4" prefix, and can be used on either time slot. (No conflict with BM or DMR+)

I've not managed to make the new TGDynRewrite bend to my will yet, but have no fear, we're getting to that.

Remember we are leaving DMR Network 3 free for the DMR2xxx cross-over mode (prefix with 7).

And there is still provision for DMR Network 5 to link to whatever custom thing you want too.
As usual - open to your suggestions here....

Code: Select all

[DMR Network 1]
Enabled=1
Address=87.117.229.173
Port=62031
TGRewrite0=2,9,2,9,1
TypeRewrite1=1,9990,1,9990
TypeRewrite2=2,9990,2,9990
SrcRewrite0=2,4000,2,9,1001
PassAllPC1=1
PassAllPC2=2
PassAllTG1=1
PassAllTG2=2
Password="passw0rd"
Debug=0
Name=BM_United_Kingdom_2341
Id=123456701

[DMR Network 2]
Enabled=1
Address=168.235.109.210
Port=55555
TGRewrite0=2,8,2,9,1
TGRewrite1=2,80505,2,505,1
TGRewrite2=2,80800,2,800,100
TGRewrite3=2,83801,2,3801,8
TGRewrite4=2,89990,2,9990,1
TGRewrite5=2,80001,1,1,9999
TGRewrite6=2,80001,2,1,9999
PCRewrite0=2,84000,2,4000,1001
Password="PASSWORD"
Debug=0
Id=123456701
Name=DMR+_IPSC2-QUADNET
Options="Userlink=1;"

[DMR Network 4]
Enabled=1
Name=TGIF_Network
PCRewrite1=1,4009990,1,9990,1
PCRewrite2=2,4009990,2,9990,1
TypeRewrite1=1,4009990,1,9990
TypeRewrite2=2,4009990,2,9990
TGRewrite1=1,4000001,1,1,999999
TGRewrite2=2,4000001,2,1,999999
SrcRewrite1=1,9990,1,4009990,1
SrcRewrite2=2,9990,2,4009990,1
SrcRewrite3=1,1,1,4000001,999999
SrcRewrite4=2,1,2,4000001,999999
Address=tgif.network
Password="passw0rd"
Port=62031
Location=0
Debug=0
Id=123456701
Andy

73 de MW0MWZ
http://pistar.uk

K4WZV
Posts: 7
Joined: Wed Apr 11, 2018 1:13 pm

Re: New Overlay for DMRGateway - welcome your comments

Post by K4WZV » Mon May 18, 2020 1:17 am

Thanks Andy for correcting this and making the DMR gateway much better. The TGIF clients will enjoy using the DMR gateway on the TGIF network. We very much appreciate all you have done with pi-star and the hobby.
Thanks again, Robert
K4WZV
Oh yea, still would like to have you as a guest on the TGIF net.
73
Robert
K4WZV

VE3RD
Posts: 54
Joined: Thu Oct 11, 2018 7:21 pm

Re: New Overlay for DMRGateway - welcome your comments

Post by VE3RD » Mon May 18, 2020 2:01 am

I loaded up your rule set and tryed to start DMRGateway
I cannot get past dmrgateway connecting to mmdvmhost

I: 2020-05-18 01:54:35.878 This software is for use on amateur radio networks only,
I: 2020-05-18 01:54:35.879 it is to be used for educational purposes only. Its use on
I: 2020-05-18 01:54:35.879 commercial networks is strictly prohibited.
I: 2020-05-18 01:54:35.879 Copyright(C) 2017-2020 by Jonathan Naylor, G4KLX and others
M: 2020-05-18 01:54:35.879 DMRGateway-20200502_Pi-Star_v4 is starting
M: 2020-05-18 01:54:35.879 Built 13:53:07 May 2 2020 (GitID #8e75b24)
I: 2020-05-18 01:54:35.879 MMDVM Network Parameters
I: 2020-05-18 01:54:35.879 Rpt Address: 127.0.0.1
I: 2020-05-18 01:54:35.879 Rpt Port: 62032
I: 2020-05-18 01:54:35.879 Local Address: 127.0.0.1
I: 2020-05-18 01:54:35.879 Local Port: 62031
M: 2020-05-18 01:54:35.879 MMDVM Network, Opening
M: 2020-05-18 01:54:35.879 Waiting for MMDVM to connect.....

Locked up here for ever, restarted mmdvmhost and dmrgateway to no effect

In the past(3.4.17) I used the gateway a great deal, but so much lately

Phil VE3RD

User avatar
MW0MWZ
Site Admin
Posts: 1074
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: New Overlay for DMRGateway - welcome your comments

Post by MW0MWZ » Mon May 18, 2020 8:11 am

K4WZV wrote:
Mon May 18, 2020 1:17 am
Thanks Andy for correcting this and making the DMR gateway much better. The TGIF clients will enjoy using the DMR gateway on the TGIF network. We very much appreciate all you have done with pi-star and the hobby.
Thanks again, Robert
K4WZV
Oh yea, still would like to have you as a guest on the TGIF net.
73
Robert
K4WZV
Robert, Its just a timing thing, your nets tend to be at times of day that make it painful for me... remind me when they are again...
Andy

73 de MW0MWZ
http://pistar.uk

K4WZV
Posts: 7
Joined: Wed Apr 11, 2018 1:13 pm

Re: New Overlay for DMRGateway - welcome your comments

Post by K4WZV » Mon May 18, 2020 11:55 am

No worries Andy. I understand there is a big time difference. The net is at 8:30 eastern on Friday night. What we can do is I would announce a few weeks in advance an we can reschedule the net to start earlier. We would bypass the check ins that night as we are getting over 100 on the nets. It would be be very well moderated. I would not let it last all night. About a hour or so.
Thanks for you consideration
73
Robert
K4WZV

KC0RNP
Posts: 1
Joined: Tue May 19, 2020 3:53 am

Re: New Overlay for DMRGateway - welcome your comments

Post by KC0RNP » Tue May 19, 2020 11:11 am

A little confused on TGIF Talkgroups using DMR gateway. Would 31665 then become 4031665? If so it is not working when I try to use the gateway and connect to both BM and TGIF at the same time.

Trying to understand how to reprogram TGs for TGIF. Everything for BM still works. But if I use 4031665 to get to TGIF 31765 it doesn’t work.

User avatar
MW0MWZ
Site Admin
Posts: 1074
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: New Overlay for DMRGateway - welcome your comments

Post by MW0MWZ » Tue May 19, 2020 5:01 pm

Keep in mind then when using DMRGateway, if a network is active (say you had a call come in from BrandMeister on a TG you have static for example) then DMRGateway is listening there, until that traffic stops, it then stays listening there until the "Net Hangtime" for DMR expires.

So, if you try to use TGIF within that time, it really wont work, this is why less is more when it comes to pinning talk groups and using DMRGateway :)
Andy

73 de MW0MWZ
http://pistar.uk

VE6PLC
Posts: 4
Joined: Tue May 19, 2020 11:46 pm

Re: New Overlay for DMRGateway - welcome your comments

Post by VE6PLC » Wed May 20, 2020 4:50 pm

Hi, Andy. I haven't run into any problems with DMR+ timeslots but I don't use the TG's that you made special allowances for. I suppose that part may only come into play in a repeater situation, where I an just using a hotspot. I gave BM the 10 prefix just to be consistent so that everything on my Pi-star hotspot has a prefix, unlike my Openspot hotspot. I have changed my prefixes for DMR+ and TGIF to match yours, so as not to confuse other people when describing my setup.
Thanks for Pi-star! I have had a lot of enjoyment learning how to use it. It has worked very well for me.

User avatar
MW0MWZ
Site Admin
Posts: 1074
Joined: Wed Apr 04, 2018 9:15 pm
Location: Wales, UK
Contact:

Re: New Overlay for DMRGateway - welcome your comments

Post by MW0MWZ » Wed May 20, 2020 9:12 pm

Historically we only had access to DMR+ reflectors, but now we have (so far as I can tell) all the available voice Talkgroups on DMR+, in stark contrast to other DMR networks, it seems to matter on DMR+ what time slot you use the TG with, the others don't care on the back end, this is why the rewrite rules are rather longer for DMR+ now.

I picked the prefixes to that they don't trample on TG numbers in each others networks :)
Andy

73 de MW0MWZ
http://pistar.uk

VE6DV
Posts: 34
Joined: Sun May 13, 2018 4:34 pm
Location: Edmonton, Alberta

Re: New Overlay for DMRGateway - welcome your comments

Post by VE6DV » Thu May 21, 2020 2:24 am

Just so I understand this correctly, on DMR+ we would need to setup the talkgroups that we want to use on the network in the TGRewrite and SrcRewrite section, correct? I tried to use talkgroup 320 as talkgroup 80320 on DMR+ but didn't hear any activity and they couldn't hear me until I added it to the TGRewrite and SrcRewrite rules even though the IPSC2-QuadNet server was sending the transmission to my hotspot.
73 - Jeff VE6DV

Post Reply