g4klx / DMRGateway

A multi-network DMR gateway for the MMDVM.
GNU General Public License v2.0
141 stars 91 forks source link

ini re-write time slot 1 to time slot 2 not working #110

Open klausiau opened 2 years ago

klausiau commented 2 years ago

Intention is to send RF calls starting with TG80000 to DMR Network 2 TS2 and calls starting with TG90000 to DMR Network 2 TS1. DMR to RF should translate TS2 to TG range 800000 and TS1 to TG range 900000.

I got the TGRewrite working correctly as intended, but the incoming TG on TS1 is not translated All TS1 supposedly translated to TS2 with TG starting with 900001, but they come out (RF) as TG starting with 800001 All TS2 are coming out at TS2 with TG starting with 800001 as intended.

I dont know where the error is, any help appreciated. INI extract below.

[DMR Network 2] Enabled=1 Address=43.245.72.67 Port=55555 TGRewrite0=2,900001,1,1,90000 TGRewrite1=2,800001,2,1,90000 PCRewrite0=2,800000,2,4000,1001 TypeRewrite0=2,809990,2,9990 SrcRewrite0=2,1,2,800001,90000 SrcRewrite1=1,1,2,900001,90000 Password="PASSWORD" Debug=0 Id=xxxxxxxxxx Name=DMR+_IPSC2-VKHOTSPOT

VE3RD commented 2 years ago

On a simplex hotspot TS1 is a no go. All RF TS1 is converted to TS2 and of course it comes back on TS2 What you are trying to do will only work on a duplex hotspot