(bridge.json)
(Registry.lua)
Line 4: Line 4:
  
 
== Configuration ==
 
== Configuration ==
 
== Registry.lua ==
 
 
If you have customized Registry.lua you need to add following lines:
 
<syntaxhighlight lang="lua">
 
 
local json = require("dkjson")
 
local bridges = json.decode(readFile("Data/bridge.json"))
 
 
  -- Somewhere in handleCallSession(..)
 
  makeBridgedNetworkRouteForGroup(kind, name, number, destination, bridges)
 
 
</syntaxhighlight>
 

Revision as of 16:07, 20 December 2021

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

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[edit]

Registry.lua[edit]

If you have customized Registry.lua you need to add following lines: <syntaxhighlight lang="lua">

local json = require("dkjson") local bridges = json.decode(readFile("Data/bridge.json"))

 -- Somewhere in handleCallSession(..)
 makeBridgedNetworkRouteForGroup(kind, name, number, destination, bridges)

</syntaxhighlight>