Hi, and thanks for reading. I have the below network setup, the problem is the TGRewrite's do not seem to do what I think they should do. If you transmit on TG#310195 on slot 1 or 2 it should go out on slot 2. If you transmit on TG#311887 on slot 1 or 2 it should go out on slot 1. All other traffic should go out Network 1. Am I missing something?
[DMR Network 4]
Enabled=1
Address=w8lrk.ddnsfree.com
Port=62033
Password="secret"
Debug=0
Id=3126781
Name=LARK
TGRewrite1=1,310195,2,310195,1
TGRewrite2=2,310195,2,310195,1
TGRewrite3=2,311887,1,311887,1
TGRewrite4=1,311887,1,311887,1
Help needed with TGRewrite commands
Re: Help needed with TGRewrite commands
I think you will only be able to hear TG310195 on TS1, and TG311887 on TS2. ....I think.
Re: Help needed with TGRewrite commands
Well this kinda whats happening:
TGRewrite1=1,310195,2,310195,1 <== I thought this should rewrite any 310195 on slot one to slot two and put on network 4
TGRewrite2=2,310195,2,310195,1 <== I thought this should rewrite any 310195 on slot two (from above or RF) to slot two on network 4
TGRewrite3=2,311887,1,311887,1
TGRewrite4=1,311887,1,311887,1
It appears to NOT rewrite the RF to NET as I thought but it is rewriting the NET to RF the wrong way. I found this in another tread:
TGRewrite=fromSlot,fromTG,toSlot,toTG,range
But it does not say which direction it is rewriting, I ASSUMED RF to NET and also it does not say what range does.
TGRewrite1=1,310195,2,310195,1 <== I thought this should rewrite any 310195 on slot one to slot two and put on network 4
TGRewrite2=2,310195,2,310195,1 <== I thought this should rewrite any 310195 on slot two (from above or RF) to slot two on network 4
TGRewrite3=2,311887,1,311887,1
TGRewrite4=1,311887,1,311887,1
It appears to NOT rewrite the RF to NET as I thought but it is rewriting the NET to RF the wrong way. I found this in another tread:
TGRewrite=fromSlot,fromTG,toSlot,toTG,range
But it does not say which direction it is rewriting, I ASSUMED RF to NET and also it does not say what range does.
Re: Help needed with TGRewrite commands
From the Net to RF, it will go through the Rewrite rules sequentially until one is triggeredW8DSB wrote: ↑Sun Jul 12, 2020 12:40 am Well this kinda whats happening:
TGRewrite1=1,310195,2,310195,1 <== I thought this should rewrite any 310195 on slot one to slot two and put on network 4
TGRewrite2=2,310195,2,310195,1 <== I thought this should rewrite any 310195 on slot two (from above or RF) to slot two on network 4
TGRewrite3=2,311887,1,311887,1
TGRewrite4=1,311887,1,311887,1
It appears to NOT rewrite the RF to NET as I thought but it is rewriting the NET to RF the wrong way. I found this in another tread:
TGRewrite=fromSlot,fromTG,toSlot,toTG,range
But it does not say which direction it is rewriting, I ASSUMED RF to NET and also it does not say what range does.
From the Net, TG310195/TS2 will trigger TGRewrite1 and it will broadcast on TS1.
From the Net, TG311887/TS1 will trigger TGRewrite 3 and it will be broadcast on TS2
TGRewrite1=1,RF,2,NET,1
From RF it goes >>>> to NET
From NET it goes <<<< to RF, or backwards
Try:
TGRewrite1=2,310195,2,310195,1
TGRewrite2=1,310195,2,310195,1
TGRewrite3=1,311887,1,311887,1
TGRewrite4=2,311887,1,311887,1
but it will always only be broadcast on 1 TS.
It will not consider which TS was used from RF, only which rule is triggered first. If you put range as 3 it will rewrite TG's 310195 to 310197 according to the rule.
Re: Help needed with TGRewrite commands
Thank You, I will give it a try and report
Re: Help needed with TGRewrite commands
You could add a Receive Group with both time slots to the channel and then you would be able to hear it. Otherwise use Digital Monitor/Promiscuous for the channel.
Edit: Ooops, if you are running a simplex hotspot, RF will only be on TS2, so I am not quite sure what your server does with time slots, maybe it puts all TS's on the server side, to TS2 on gateway side (or not). Duplex hotspot, no problem.
Edit: Ooops, if you are running a simplex hotspot, RF will only be on TS2, so I am not quite sure what your server does with time slots, maybe it puts all TS's on the server side, to TS2 on gateway side (or not). Duplex hotspot, no problem.
Re: Help needed with TGRewrite commands
I am the president of a local club we have built maybe 200 hotspots over the last 2 to 3 years. Most of them are simplex but we do have some duplex ones.
The traffic coming in is from a HBlink hub so we can control what port and slot its on, its just the outgoing traffic I am trying to control. What you laid out yesterday works great.
Simplex hotspots are always on slot 2 but we can reroute what TG they hear by what port they connect to....
If your interested I have a graphic map at http://www.w8lrk.org/projects/2020_07_02_DMR.pdf
Soon to be updated with the new information
The traffic coming in is from a HBlink hub so we can control what port and slot its on, its just the outgoing traffic I am trying to control. What you laid out yesterday works great.
Simplex hotspots are always on slot 2 but we can reroute what TG they hear by what port they connect to....
If your interested I have a graphic map at http://www.w8lrk.org/projects/2020_07_02_DMR.pdf
Soon to be updated with the new information
Re: Help needed with TGRewrite commands
Great work, well done.
Cheers
Steve, VK3HAW
Cheers
Steve, VK3HAW