PiStar-Remote with DMRGateway PassALLTG rule not working

General support for the Pi-Star System
Post Reply
WD4DAN
Posts: 2
Joined: Mon Aug 01, 2022 2:09 pm

PiStar-Remote with DMRGateway PassALLTG rule not working

Post by WD4DAN »

Hey all. Question about PiStar-Remote while using DMRGateway and Rewriting

I have my PiStar-Remote configured as such:

Code: Select all

[enable]
enabled=true

[keeper]
callsign=WD4DAN

[dmr]
# TG commands
svckill=8999999
svcrestart=8999998
reboot=8999997
shutdown=8999996
hostfiles=8999995
I am using both BrandMeister and TGIF networks as defined in my DMRGateway:

Code: Select all

[DMR Network 1]
Enabled=1
Location=1
Id=3100312
Address=3104.master.brandmeister.network
Password="xxxxxxxxxxxxxxxxxxxxxxxxxx"
Port=62031
Name=BM_3104_United_States
TGRewrite0=2,9,2,9,1
TypeRewrite1=1,9990,1,9990
TypeRewrite2=2,9990,2,9990
PassAllPC1=1
PassAllPC2=2
PassAllTG1=1
PassAllTG2=2

[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="xxxxxxxxxxxxxxxxxxxxxx"
Port=62031
Location=0
Debug=0
Id=3100312
Everything is working perfectly, except for PiStar-Remote TG Numbers.

According to the RuleTrace, when I connect to TG 8999998 (which should restart my pistar services), the call gets routed to BrandMeister.

I suspect that is because of the PassAllTG1 and PassAllTG2 rules on the DMR Network 1 (which I have so I don't have to prefix my BrandMeister talkgroups - it makes BrandMeister the "default" network)

I looked and there doesn't seem to be a "Rewrite exclude" rule available for use (which would be a nice thing to have in order to negate the PassAllTG rules)

My question is, how can I have TG 899999x NOT routed to BrandMeister so my PiStar-Remote commands will work, yet still maintain the PassALLTG on BrandMeister network so I don't have to explicitly prefix my talkgroups for BrandMeister?

Thank you for the help!
Dan
WB3IHY
Posts: 31
Joined: Wed Mar 20, 2019 3:29 pm

Re: PiStar-Remote with DMRGateway PassALLTG rule not working

Post by WB3IHY »

It's been my experience that Pi-Star Remote responds to PRIVATE calls, not GROUP calls. So the rewrite rules which handle talkgroups are not applicable here.

Proof: I have two hotspots (Pi Zero and PI-3B) each running DMRGateway, both with 5 networks, both running Pi-Star-Remote, both responding properly to remote commands issued as PRIVATE calls...in spite of the myriad of rewrite rules necessary to handle 5 networks concurrently.
WD4DAN
Posts: 2
Joined: Mon Aug 01, 2022 2:09 pm

Re: PiStar-Remote with DMRGateway PassALLTG rule not working

Post by WD4DAN »

Thank you so much - you are correct - PRIVATE calls work fine to control

I was confused because of the default comment in the configuration file "# TG Commands" so I assumed it was a Talkgroup

Thank you!
Post Reply