Network Bridging is a feature of BrandMeister DMR Server that is implemented by LUA scripts to allow forward calls from cBridge, SmartPTT Bridge or other kind of network links to BrandMeister Network via FastForward and back.

Warning! Be careful with network bridging to avoid looping on the bridged network side. Please discuss it with BrandMeister Steering Team before configuring.

Configuration

Registry.lua

If you have customized Registry.lua you need to add following lines:

local json = require("dkjson")
local bridges = json.decode(readFile("Data/bridge.json"))
 
  -- Somewhere in handleCallSession(..)
  makeBridgedNetworkRouteForGroup(kind, name, number, destination, bridges)

bridge.json

{
  // Syntax:
  // <Group ID> : { "network" : <Network ID>, "slot" : <Slot Number> }
 
  // Bridged groups for CBridge2228
  3182    : { "network" : 2228, "slot" : 0 },  // DCI-FU-3182
  8952    : { "network" : 2228, "slot" : 0 },  // DCI-iCall
  3100    : { "network" : 2228, "slot" : 0 },  // DMRX-3100
  3777215 : { "network" : 2228, "slot" : 0 },  // DMRX-Comm1-3777215
  3777216 : { "network" : 2228, "slot" : 0 },  // DMRX-Comm1-3777216
  8951    : { "network" : 2228, "slot" : 0 },  // DMRX-TAC1-8951
  9310    : { "network" : 2228, "slot" : 0 },  // DMRX-TAC310
  9311    : { "network" : 2228, "slot" : 0 },  // DMRX-TAC311
  9312    : { "network" : 2228, "slot" : 0 },  // DMRX-TAC312
  1776    : { "network" : 2228, "slot" : 0 }   // MIT-1776
}