(Multiple Instances)
(bridge.json)
 
Line 32: Line 32:
 
== Local Configuration ==
 
== Local Configuration ==
 
Configuration file location : /opt/BrandMeister/Data
 
Configuration file location : /opt/BrandMeister/Data
 
=== bridge.json ===
 
Allows you to establish links with other networks
 
<pre>
 
{
 
  // Syntax:
 
  // <Group ID> : [ { "network" : <Network ID>, "slot" : <Slot Number> }, ... ]
 
 
  // Please see details and examples at our wiki:
 
  // https://bm.pd0zry.nl/index.php/Network_Bridging
 
 
  // 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
 
}
 
</pre>
 
  
 
=== generic.json ===
 
=== generic.json ===

Latest revision as of 15:08, 20 December 2021

General information

BrandMeister Core supports multiple configuration formats:

JSON (default)

  • Sample Configuration File: /opt/BrandMeister/BrandMeister.sample.json
  • Configuration File: /opt/BrandMeister/BrandMeister.json

LibConfig (old)

  • Sample Configuration File: /opt/BrandMeister/BrandMeister.sample.conf
  • Configuration File: /opt/BrandMeister/BrandMeister.conf

Consul KV

// contents of /opt/BrandMeister/BrandMeister.json
{
  "configuration" : "http://127.0.0.1:8500/v1/kv/bm/2842",
  "token" : "86bc3216-8751-7bca-57bc-e949981d9130" // optional token if ACLs enabled
}

Multiple Instances

Technically BrandMeister Core loads configuration files from /opt/BrandMeister/Instances/. Each .conf file (in libconfig format) or folder (containing set of .json files) corresponds to each BrandMeister Core instance. You can read more information about that at BrandMeister Server Clustering.

If you need to create a second instance (or whatever else) of BrandMeister Core you have to create corresponding configuration and register it by call /opt/BrandMeister/setup.sh install.

Script automatically creates symlinks to default configuration files /opt/BrandMeister/BrandMeister.json or /opt/BrandMeister/BrandMeister.conf

Local Configuration

Configuration file location : /opt/BrandMeister/Data

generic.json

Sets the general configuration for Generic.lua

{
  // General configuration for Generic.lua
  "AutomaticRouting" :
  {
    "Mode" : "None",  // possible values: "National", "NationalOnly", "Regional", "None"
    "Slot" : 1
  },
  "CallEnrichment" :
  {
    "TalkerAlias" : true,
    "ConfirmedCall" : true
  },
  "Timers" :
  {
    "HandOff" : 15,
    "OnDemand" : 600
  }
}

// Automatic Routing Modes
// NationalOnly: route the talkgroup that matches the first 3 digits of the repeater ID
// National: Do NationalOnly + talkgroup matching first 4 digits of the repeater ID
// Regional: Do only talkgroup with first 4 digits of the repeater ID
// None: Do nothing automatic

round.json

Settings for the weekly CQWW Round every saturday evening on TG91

{
  "WWCQ" : 
  {
  	"Mode" : "By-Default",  // possible values: "Disabled", "By-Default" and "On-Demand"
  	"Slot" : 1              // Slot for mode "By-Default"
  }
}

General information[edit]

BrandMeister Core supports multiple configuration formats:

JSON (default)

LibConfig (old)

Consul KV

// contents of /opt/BrandMeister/BrandMeister.json
{
  "configuration" : "http://127.0.0.1:8500/v1/kv/bm/2842",
  "token" : "86bc3216-8751-7bca-57bc-e949981d9130" // optional token if ACLs enabled
}

Multiple Instances[edit]

Technically BrandMeister Core loads configuration files from /opt/BrandMeister/Instances/. Each .conf file (in libconfig format) or folder (containing set of .json files) corresponds to each BrandMeister Core instance. You can read more information about that at BrandMeister Server Clustering.

If you need to create a second instance (or whatever else) of BrandMeister Core you have to create corresponding configuration and register it by call /opt/BrandMeister/setup.sh install.

Script automatically creates symlinks to default configuration files /opt/BrandMeister/BrandMeister.json or /opt/BrandMeister/BrandMeister.conf

Local Configuration[edit]

Configuration file location : /opt/BrandMeister/Data

generic.json[edit]

Sets the general configuration for Generic.lua

{
  // General configuration for Generic.lua
  "AutomaticRouting" :
  {
    "Mode" : "None",  // possible values: "National", "NationalOnly", "Regional", "None"
    "Slot" : 1
  },
  "CallEnrichment" :
  {
    "TalkerAlias" : true,
    "ConfirmedCall" : true
  },
  "Timers" :
  {
    "HandOff" : 15,
    "OnDemand" : 600
  }
}

// Automatic Routing Modes
// NationalOnly: route the talkgroup that matches the first 3 digits of the repeater ID
// National: Do NationalOnly + talkgroup matching first 4 digits of the repeater ID
// Regional: Do only talkgroup with first 4 digits of the repeater ID
// None: Do nothing automatic

round.json[edit]

Settings for the weekly CQWW Round every saturday evening on TG91

{
  "WWCQ" : 
  {
  	"Mode" : "By-Default",  // possible values: "Disabled", "By-Default" and "On-Demand"
  	"Slot" : 1              // Slot for mode "By-Default"
  }
}