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:

Re: New Overlay for DMRGateway - welcome your comments

Post by MW0MWZ » Thu May 21, 2020 1:27 pm

VE6DV wrote:
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.
In short no, the purpose of the rules above is that they should handle everything for DMR+ that carries voice.
Using 80320 I can see that my outbound traffic went out correctly:

Code: Select all

D: 2020-05-21 12:18:19.318 Rule Trace,	RewriteTG to DMR+_IPSC2-PhoenixF Slot=1 Dst=TG9-TG9999
Update: As I was writing this I also did more testing and..
**Remember to use an IPSC2+ master that supports both time slots, ones that only support DMO mode or single slot will let you push your transmission into the network, but wont sent anything back from TS1.
My original test (see above) was using PhoenixF, that let me send to TG320 (TG80320 on my radio) no problem, but I never got anything back from it via the network, swapping over to the OpenQuad master - it all works just like it should do.

Audio from the network to local RF:

Code: Select all

D: 2020-05-21 13:15:32.740 Rule Trace, network 2 transmission: Slot=1 Src=3138451 Dst=TG320
D: 2020-05-21 13:15:32.741 Rule Trace,	RewriteTG to DMR+_IPSC2-QUADNET Slot=2 Dst=TG80009-TG89999
Audio from local RF > to the network:

Code: Select all

D: 2020-05-21 13:18:12.651 Rule Trace, RF transmission: Slot=2 Src=2353150 Dst=TG80320
D: 2020-05-21 13:18:12.652 Rule Trace,	RewriteTG to DMR+_IPSC2-QUADNET Slot=1 Dst=TG9-TG9999
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 4:20 pm

IPSC2-QuadNet is setup for dual time slots. Out of curiosity, is your new overlay setup for a hotspot with a duplex board or a simplex board?

/edit - I believe I have figured this out. I had to modify your overlay to accommodate my simplex board:

TGRewrite0=2,8,2,9,1
TGRewrite1=2,80001,2,1,7
TGRewrite2=2,80505,2,505,1
TGRewrite3=2,80800,2,800,100
TGRewrite4=2,83801,2,3801,8
TGRewrite5=2,80009,2,9,9991
TypeRewrite=2,89990,2,9990
PCRewrite0=2,84000,2,4000,1001
SrcRewrite0=2,9,2,8,1
SrcRewrite1=1,1,2,80001,7
SrcRewrite2=2,505,2,80505,1
SrcRewrite3=2,800,2,80800,100
SrcRewrite4=2,3801,2,83801,8
SrcRewrite5=1,9,2,80009,9991

Once I changed the rules to make everything on TS2 the overlay started working for me as intended.

Thanks for the help,

Jeff VE6DV
73 - Jeff VE6DV

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 » Thu May 21, 2020 7:53 pm

Well thats interesting, and somewhat unexpected.... I'll do some more testing :)
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 9:37 pm

How would we use 4 digit talkgroups on DMR+ such as the Parrot on talkgroup 9990 with this configuration? I tried 809990 but didn't get a reply. Everything else appears to be working perfectly.
73 - Jeff VE6DV

VK3HAW
Posts: 35
Joined: Sat Dec 14, 2019 3:31 am

Re: New Overlay for DMRGateway - welcome your comments

Post by VK3HAW » Thu May 21, 2020 10:10 pm

Beginners question, how can I log the "Rule Trace"?

Edit: Ok, I should have looked before I asked.
I found it in [General] RuleTrace=1, so the new question is can I view this log live?

Edit2: Beginners answer: Google it, my bad.

Found this

tail -f /var/log/pi-star/DMRGateway-2020-05-22.log

seems to do what I want.

Thanks,
Stephen

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 » Fri May 22, 2020 12:51 pm

VK3HAW wrote:
Thu May 21, 2020 10:10 pm
Beginners question, how can I log the "Rule Trace"?

Edit: Ok, I should have looked before I asked.
I found it in [General] RuleTrace=1, so the new question is can I view this log live?

Edit2: Beginners answer: Google it, my bad.

Found this

tail -f /var/log/pi-star/DMRGateway-2020-05-22.log

seems to do what I want.

Thanks,
Stephen
Exactly correct in both cases :)
Andy

73 de MW0MWZ
http://pistar.uk

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 » Fri May 22, 2020 12:53 pm

VE6DV wrote:
Thu May 21, 2020 9:37 pm
How would we use 4 digit talkgroups on DMR+ such as the Parrot on talkgroup 9990 with this configuration? I tried 809990 but didn't get a reply. Everything else appears to be working perfectly.
Too many digits... 8 prefix, total length of 5 digits, so Private call to Parrot on 9990 becomes 89990, TG 1 would become TG 80001.

I hope you follow that.
Andy

73 de MW0MWZ
http://pistar.uk

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 » Fri May 22, 2020 1:12 pm

Posted a shorter version of the rewrites for DMR+ (also updated in the top post in this thread);

Code: Select all

[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;"
The source re-write can be way less specific, since we always want to direct the return traffic from DMR+ to TG 8xxxx on TS2....
Andy

73 de MW0MWZ
http://pistar.uk

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 » Fri May 22, 2020 1:23 pm

VE6DV wrote:
Thu May 21, 2020 4:20 pm
IPSC2-QuadNet is setup for dual time slots. Out of curiosity, is your new overlay setup for a hotspot with a duplex board or a simplex board?

/edit - I believe I have figured this out. I had to modify your overlay to accommodate my simplex board:

Once I changed the rules to make everything on TS2 the overlay started working for me as intended.

Thanks for the help,

Jeff VE6DV
See my revised version of the rules in the top post;
Now you only need to change this one line:

Code: Select all

TGRewrite4=2,80001,1,1,9999
to

Code: Select all

TGRewrite4=2,80001,2,1,9999
So that all the re-writes send to Slot 2 on the network, and you only need this when using a simplex hotspot.
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 » Fri May 22, 2020 4:24 pm

MW0MWZ wrote:
Fri May 22, 2020 12:53 pm
VE6DV wrote:
Thu May 21, 2020 9:37 pm
How would we use 4 digit talkgroups on DMR+ such as the Parrot on talkgroup 9990 with this configuration? I tried 809990 but didn't get a reply. Everything else appears to be working perfectly.
Too many digits... 8 prefix, total length of 5 digits, so Private call to Parrot on 9990 becomes 89990, TG 1 would become TG 80001.

I hope you follow that.
That worked perfectly, Andy. Thanks for the help. I was thinking that 80 was the prefix, not 8. So that's where I went sideways in setting up my code plug. Thank you for the help.
73 - Jeff VE6DV

Post Reply