(→General information) |
(→bridge.json) |
||
(4 intermediate revisions by one other user not shown) | |||
Line 22: | Line 22: | ||
</pre> | </pre> | ||
− | == | + | === 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 <i>/opt/BrandMeister/setup.sh install</i>. | |
− | + | ||
− | + | 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 === | === generic.json === |
BrandMeister Core supports multiple configuration formats:
JSON (default)
LibConfig (old)
// 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 }
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
Configuration file location : /opt/BrandMeister/Data
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
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" } }
BrandMeister Core supports multiple configuration formats:
JSON (default)
LibConfig (old)
// 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 }
Configuration file location : /opt/BrandMeister/Data
Allows you to establish links with other networks
{ // 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 }
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
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" } }