PiStar-Remote with DMRGateway PassALLTG rule not working
Posted: Wed Aug 03, 2022 5:23 pm
Hey all. Question about PiStar-Remote while using DMRGateway and Rewriting
I have my PiStar-Remote configured as such:
I am using both BrandMeister and TGIF networks as defined in my DMRGateway:
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
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
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
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