(bridge.json)
(Configuration)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
'''Warning!''' Be careful with network bridging to avoid looping on the bridged network side. Please discuss it with BrandMeister Steering Team before configuring.
 
'''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:
 
<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>
 

Latest revision as of 15: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.

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>