URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       TGIF.Network
  HTML https://tgifnetwork.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: DMR Gateway (beta)
       *****************************************************
       #Post#: 4967--------------------------------------------------
       Tips & Tricks - Advanced Mods for the DMRGateway-4
   DIR By: VE3RD
       Date: April 18, 2022, 11:58 am
       ---------------------------------------------------------
       The following tips tricks and advanced programming are for those
       needing that little something extra in my DMRGateway-4
       1) Sending the TG Control code 9000 into DMRGateway-4 will
       disable ALL filtering. This code can be sent regardless of the
       Gateway Mode you are running.
       The hotspot will then react like the original P-Star
       DMRGateway
       2) Raw Mode and 8 Digit mode can be run together with the
       following manual modification.
       A) Setup in 8 Digit mode using the script
       /home/pi-star/DMRGateway-4/setgwmode.sh 8
       B) Insert this line       'TGRewrite1=2,1,2,1,9999999'  in
       front of the 8 Digit TGRewrite line as follows
       (Net 4)
       TGRewrite0=2,1,2,1,9999999
       TGRewrite1=2,14000001,2,1,999999
       C)  For each TG you want to run in RAW mode, add the
       corresponding TG to a receiver group
       ie in the channel for 14031665 add 31665 in the
       channel receiver group
       3) 7 Digit mode does not naturally support 7 digit talk groups.
       Raw mode and 8 Digit mode with the above mod will support 7
       digit talk groups
       To access a 7 digit talk group in 7 Digit Mode you need to
       translate the talk group. In 7 digit mode, the tg 3023954 would
       naturally switch the hotspot to network 3. I want to
       use this Tg on Network 4. Therefor I need to select a TG
       that is not in use and translate it to 3020954 via the gateway
       rewrite rules. Lets select 90001 as a sample case.
       Then the rewrite rule would look like this
       TGRewrite3=2,4090001,2,3023954,1
       This takes Tg 4090001 from the radio and translates it to
       3023954 and sends it out network 4 to  the corresponding server.
       The server will accept the tg 3023954 and send the
       corresponding data back to the hotspot on 3023954. The Rewrite
       rule will convert this back to 4090001 and send it to the
       radio
       4) To do the same as item 3 above as a private call set the
       following rules
       PCRewrite0=2,4090001,2,3023954,1
       SrcRewrite0=2,3023954,2,VE3RD,1
       Note: Using your call sign in the above line will send the
       private call back directly to the radio
       SrcRewrite0=2,1,2,VE3RD,999999
       Note: Using the above line will redirect ALL private call
       traffic directly to the radio regardless of what TG it comes
       back on.
       5) If you are running a simplex hotspot, DO NOT use any rules
       that reference Time Slot 1.  MMDVMHost will convert all these
       rules to Time Slot 2 and MAY setup conflicting Rules
       Example - The DMRGateway processes the /etc/dmrgateway file
       Line by Line. Once it finds a match, it processes it and looks
       no further.
       TGRewrite0=1,1000001,1,1,99999   -  This will be converted
       to  2,1,2,1,99999 by MMDVMHost
       TGRewrite1=2,1008001,2,8001,999 - This rule will do
       nothing as the tg8001-8999 will be trapped by the first rule
       TGRewrite0
       6) If you are running multiple networks DO NOT Use the PassAll
       rules. They cause more problems than they solve.
       *****************************************************
       Page 1 of 1