Configuration file location : /opt/BrandMeister/BrandMeister.conf
Purpose : Main parameters for your server to link to other BM (P2P), networks (c-Bridge, DMRPLus...), repeaters, MMDVM, etc ...
Configuration could be splited into several files. To include each configuration file please use following directive:
@include "filename"
More about syntax of configuration file please read at http://www.hyperrealm.com/libconfig/libconfig_manual.html
store = "localhost:3301"; // Connection address of Tarantool server queue = "localhost:1883"; // Connection address of Mosquitto server dictionary = "Dictionary"; // Directory with *.ambe files script = "Script/Main.lua"; // Path to Lua-based script network = 2001; // Network ID serviced by this master interval = 60; // Beacon interval (seconds, 0 = disabled)
// Hytera Multi-Site Connect Master MultiSiteConnect : { port1 = 50000; // P2P port2 = 50001; // RDAC port3 = 50002; // Data latency = 200; // Latency of jitter buffer (100-800 ms) options = 1; // Bit field: bit 0 - transmit Talker Alias and in-call GPS };
// Motorola IP Site Connect Master IPSiteConnect : { number = 100999; // Peer ID port = 55000; // UDP Port profile = "profile.dat"; // Security profile (required by IPSC 4 and higher) password = ""; // Shared password };
// DV4mini DMR Hot-Spot DV4mini : { port = 8880; };
// Home-brew DMR Repeater Protocol HomebrewRepeater : { port = 62030; password = "password"; };
// Home-brew DMR Repeater Protocol (MMDVM) by G4KLX MMDVMHost : { port = 62031; password = "password"; };
// FastForward P2P Protocol FastForward : { port1 = 54000; // Peer-to-Peer port2 = 54001; // CallDirector };
// DG1HT WinMaster WinMaster : { port = 62010; // System description serial = "1"; location = "9991"; description = "BrandMeister"; // Connection profiles connections = [ // "DMRPlus1" ]; };
// SmartPTT Bridge SmartPTT : { number = 1001; // Peer ID port = 55001; // UDP Port password = "12345"; // Shared password };
// CBridge CC-CC Link CBridgeLink : { // Site name name = "MASTER-2041"; // Connection profiles connections = [ "CBridge2227" ]; };
// DExtraLink D-STAR Bridge DExtraLink : { // Call of local system call = "CALL"; // Connection profiles connections = [ "XRF262A" ]; };
// DCSLink D-STAR Bridge DCSLink : { // Call of local system call = "CALL"; // Connection profiles connections = [ "DCS006L" ]; };
// Parrot Application Parrot : { // Private IDs for Parrot service numbers = [ 204991, // Demonstration Application 9990 // Echo Application ]; // Tape duration in seconds duration = 90; };
// AutoPatch Application AutoPatch : { cords = [ //"Cord10", //"Cord11" ]; };
// IPBridge Application IPBridge : { number = 204998; // Private ID device = "tun0"; // TUN device to create type = 1; // Transmission type: 0 - Unconfirmed, 1 - Confirmed };
// ServiceSuite Application ServiceSuite : { network1 = "10.0.0.0"; // CAI network for Hytera equipment network2 = "12.0.0.0"; // CAI network for Motorola equipment (unicast) network3 = "225.0.0.0"; // CAI network for Motorola equipment (multicast) interval1 = 1800; // Registration validity time in seconds interval2 = 150; // Location report default interval in seconds };
// APRS Gateway APRSGate : { // APRS connection credentials address = "aprs.pa4tw.nl:14580"; call = "APRS"; code = "12345"; filter = "-t/poiqstunw"; // Private ID number = 5057; };
// ServiceWrapper Application ServiceWrapper : { // List of mapped service IDs: // <Type>, <Private ID> // Where <Type> in: // 1 - Registration Service // 2 - Messaging Service // 3 - Telemetry Service // 4 - Location Service numbers = [ 1, 5057, 2, 204990, 3, 5057, 4, 5057 ]; };
// Static Route Records routes = ( // It is strongly recommended to use static route records only to define relaying of network using single bridge { type: "Group"; number: 2504; kind: "Application"; link: 10; slot: 0; } );
// Virtual Network Aggregates aggregates = ( { number: 2509; links: [ 2501 ]; } // Transmit all private calls for D-STAR to 2501 );
DMRPlus1 : { // Network ID of remote system network = 262; // Connection mode: // 0 - Basic (reflector connectivity disabled) // 1 - Extended (reflector connectivity enabled) mode = 1; // List of remote system addresses addresses = [ "176.10.105.242", // Germany 2 "87.106.84.53" // Germany 1 ]; // Remote system port port = 62010; // Subscriptions to groups // Note: The software automatically adds dynamic route records to the link subscriptions = [ // <Slot>, <Group ID> 1, 222, 1, 232, 1, 255, 1, 262 ]; };
CBridge2227 : { // Network ID of remote system network = 2227; // List of servers in cluster addresses = [ "primary.dmr-europe.net", // Primary "secondary.dmr-europe.net" // Secondary ]; // Subscriptions to groups // Note: The software automatically adds dynamic route records to the link subscriptions = [ // <Link ID>, <Group ID> 10, 2220, // Lazio, Umbria and Sardinia 1, 2221, // Liguria, Piedmont and Valle d'Aosta 2, 2222, // Lombardy 3, 2223, // Friuli Venezia Giulia, Trentino Alto Adige and Veneto 4, 2224, // Emilia Romagna 5, 2225, // Tuscany 6, 2226, // Abruzzo and Marche 7, 2227, // Apulia 8, 2228, // Basilicata, Calabria, Campania and Molise 9, 2229, // Sicily 99, 0 // Use 0 as Group ID to identify link for Voice + Data ]; // Connection mode: // 0 - Regular // 1 - Persistent mode = 0; };
XRF262A : { // Group ID number = 2621; // Virtual local module letter = "A"; // Reflector call and address call = "XRF262 A"; address = "xrf262.reflector.up4dar.de"; // Connection mode: // 0 - Regular // 1 - Persistent mode = 1; };
DCS006L : { // Group ID number = 9506; // Virtual local module letter = "B"; // Reflector call call = "DCS006 L"; // Address of DCS server address1 = "dcs006.xreflector.net"; // Address of CCS server (optional) address2 = "ccs701.xreflector.net"; // Connection mode: // 0 - Regular // 1 - Persistent mode = 1; };
Cord10 : { // Patch ID number = 10; // Codec type: // AMBEServer - to use with AMBEserver or dvemu (please check https://github.com/dl5di/OpenDV/tree/master/DummyRepeater) // USB Dongle - to use with DVSI USB-3000, NW ThumbDV Model A or DV3K Dongle (baud-rate 460800) // DV3000U - to use with old NW DV3000U (baud-rate 230400) type = "AMBEServer"; location = "localhost:2460"; // ALSA input and output devices input = "hw:Loopback,1,0"; output = "hw:Loopback,0,2"; // Outgoing session parameters (optional) mode = "Group"; source = 2049757; destination = 2049757; }; Cord11 : { // Patch ID number = 11; // Codec type: // AMBEServer - to use with AMBEserver or dvemu (please check https://github.com/dl5di/OpenDV/tree/master/DummyRepeater) // USB Dongle - to use with DVSI USB-3000, NW ThumbDV Model A or DV3K Dongle (baud-rate 460800) // DV3000U - to use with old NW DV3000U (baud-rate 230400) type = "USB Dongle"; location = "/dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_DA01PK2N-if00-port0"; // ALSA input and output devices input = "hw:Loopback,1,0"; output = "hw:Loopback,0,2"; // Outgoing session parameters (optional) mode = "Group"; source = 1; destination = 9553; };
Configuration file location : /opt/BrandMeister/Data
Deprecated Is now done in tarantool (Dont remove the file yet) Defines which TGs should be static on which repeaters
{ 2044 : { "slot" : 1, "repeaters" : [ 204711, 204601, 204666, 204720 ] }, 950600 : { "slot" : 1, "repeaters" : [ 250318 ] }, 950601 : { "slot" : 1, "repeaters" : [ 250901 ] }, 950602 : { "slot" : 1, "repeaters" : [ 250901 ] } }
Deprecated can be done in Tarantool (Dont remove the file yet) Mirrors one talkgroup to another a talkgroup (a talkgroup can only exist once)
{ // Syntax: // <Group 1 ID> : <Group 2 ID> 2 : 92, // Europe 3 : 93, // USA 13 : 913, // Worldwide English 22 : 922 // Dutch speaking }
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 }
Deprecated Moved to tarantool (Dont remove the file yet) Allows you to define a cluster of repeaters that are linked on the defined slot with the defined talkgroup
{ "Example Cluster" : { "repeaters" : { 206010,206003,206012 }, "groups" : { 9 : { "slot" : 2 } } } }
Sets the general configuration for Generic.lua
{ // General configuration for Generic.lua "AutomaticRouting" : { "Mode" : "None", // possible values: "National", "NationalOnly", "Regional", "None" "Slot" : 1 }, "DV4miniSupport" : { "ReflectorMapping" : true, "ExtendedRouting" : 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
Contains a list of all reflectors that is updated when needed through the BM software updates Deprecated This is now done from MYSQL
4000@4000 No Link@1@1234 4001@TG2621 Berlin-Brandenburg@1@1234 4011@REF4011 Celle-Heide@1@1234 4016@REF4016 Berlin-Brandenburg@1@1234 4020@REF4020 Niedersachsen Mitte@1@1234 4060@TG2280 Switzerland German@1@1234 4061@TG2281 Switzerland French@1@1234 4062@TG2286 Switzerland Italian@1@1234 4063@TG2283 Bern / Solothurn@1@1234 Ect...
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" } }
Configuration file location : /opt/BrandMeister/BrandMeister.conf
Purpose : Main parameters for your server to link to other BM (P2P), networks (c-Bridge, DMRPLus...), repeaters, MMDVM, etc ...
Configuration could be splited into several files. To include each configuration file please use following directive:
@include "filename"
More about syntax of configuration file please read at http://www.hyperrealm.com/libconfig/libconfig_manual.html
store = "localhost:3301"; // Connection address of Tarantool server queue = "localhost:1883"; // Connection address of Mosquitto server dictionary = "Dictionary"; // Directory with *.ambe files script = "Script/Main.lua"; // Path to Lua-based script network = 2001; // Network ID serviced by this master interval = 60; // Beacon interval (seconds, 0 = disabled)
// Hytera Multi-Site Connect Master MultiSiteConnect : { port1 = 50000; // P2P port2 = 50001; // RDAC port3 = 50002; // Data latency = 200; // Latency of jitter buffer (100-800 ms) options = 1; // Bit field: bit 0 - transmit Talker Alias and in-call GPS };
// Motorola IP Site Connect Master IPSiteConnect : { number = 100999; // Peer ID port = 55000; // UDP Port profile = "profile.dat"; // Security profile (required by IPSC 4 and higher) password = ""; // Shared password };
// DV4mini DMR Hot-Spot DV4mini : { port = 8880; };
// Home-brew DMR Repeater Protocol HomebrewRepeater : { port = 62030; password = "password"; };
// Home-brew DMR Repeater Protocol (MMDVM) by G4KLX MMDVMHost : { port = 62031; password = "password"; };
// FastForward P2P Protocol FastForward : { port1 = 54000; // Peer-to-Peer port2 = 54001; // CallDirector };
// DG1HT WinMaster WinMaster : { port = 62010; // System description serial = "1"; location = "9991"; description = "BrandMeister"; // Connection profiles connections = [ // "DMRPlus1" ]; };
// SmartPTT Bridge SmartPTT : { number = 1001; // Peer ID port = 55001; // UDP Port password = "12345"; // Shared password };
// CBridge CC-CC Link CBridgeLink : { // Site name name = "MASTER-2041"; // Connection profiles connections = [ "CBridge2227" ]; };
// DExtraLink D-STAR Bridge DExtraLink : { // Call of local system call = "CALL"; // Connection profiles connections = [ "XRF262A" ]; };
// DCSLink D-STAR Bridge DCSLink : { // Call of local system call = "CALL"; // Connection profiles connections = [ "DCS006L" ]; };
// Parrot Application Parrot : { // Private IDs for Parrot service numbers = [ 204991, // Demonstration Application 9990 // Echo Application ]; // Tape duration in seconds duration = 90; };
// AutoPatch Application AutoPatch : { cords = [ //"Cord10", //"Cord11" ]; };
// IPBridge Application IPBridge : { number = 204998; // Private ID device = "tun0"; // TUN device to create type = 1; // Transmission type: 0 - Unconfirmed, 1 - Confirmed };
// ServiceSuite Application ServiceSuite : { network1 = "10.0.0.0"; // CAI network for Hytera equipment network2 = "12.0.0.0"; // CAI network for Motorola equipment (unicast) network3 = "225.0.0.0"; // CAI network for Motorola equipment (multicast) interval1 = 1800; // Registration validity time in seconds interval2 = 150; // Location report default interval in seconds };
// APRS Gateway APRSGate : { // APRS connection credentials address = "aprs.pa4tw.nl:14580"; call = "APRS"; code = "12345"; filter = "-t/poiqstunw"; // Private ID number = 5057; };
// ServiceWrapper Application ServiceWrapper : { // List of mapped service IDs: // <Type>, <Private ID> // Where <Type> in: // 1 - Registration Service // 2 - Messaging Service // 3 - Telemetry Service // 4 - Location Service numbers = [ 1, 5057, 2, 204990, 3, 5057, 4, 5057 ]; };
// Static Route Records routes = ( // It is strongly recommended to use static route records only to define relaying of network using single bridge { type: "Group"; number: 2504; kind: "Application"; link: 10; slot: 0; } );
// Virtual Network Aggregates aggregates = ( { number: 2509; links: [ 2501 ]; } // Transmit all private calls for D-STAR to 2501 );
DMRPlus1 : { // Network ID of remote system network = 262; // Connection mode: // 0 - Basic (reflector connectivity disabled) // 1 - Extended (reflector connectivity enabled) mode = 1; // List of remote system addresses addresses = [ "176.10.105.242", // Germany 2 "87.106.84.53" // Germany 1 ]; // Remote system port port = 62010; // Subscriptions to groups // Note: The software automatically adds dynamic route records to the link subscriptions = [ // <Slot>, <Group ID> 1, 222, 1, 232, 1, 255, 1, 262 ]; };
CBridge2227 : { // Network ID of remote system network = 2227; // List of servers in cluster addresses = [ "primary.dmr-europe.net", // Primary "secondary.dmr-europe.net" // Secondary ]; // Subscriptions to groups // Note: The software automatically adds dynamic route records to the link subscriptions = [ // <Link ID>, <Group ID> 10, 2220, // Lazio, Umbria and Sardinia 1, 2221, // Liguria, Piedmont and Valle d'Aosta 2, 2222, // Lombardy 3, 2223, // Friuli Venezia Giulia, Trentino Alto Adige and Veneto 4, 2224, // Emilia Romagna 5, 2225, // Tuscany 6, 2226, // Abruzzo and Marche 7, 2227, // Apulia 8, 2228, // Basilicata, Calabria, Campania and Molise 9, 2229, // Sicily 99, 0 // Use 0 as Group ID to identify link for Voice + Data ]; // Connection mode: // 0 - Regular // 1 - Persistent mode = 0; };
XRF262A : { // Group ID number = 2621; // Virtual local module letter = "A"; // Reflector call and address call = "XRF262 A"; address = "xrf262.reflector.up4dar.de"; // Connection mode: // 0 - Regular // 1 - Persistent mode = 1; };
DCS006L : { // Group ID number = 9506; // Virtual local module letter = "B"; // Reflector call call = "DCS006 L"; // Address of DCS server address1 = "dcs006.xreflector.net"; // Address of CCS server (optional) address2 = "ccs701.xreflector.net"; // Connection mode: // 0 - Regular // 1 - Persistent mode = 1; };
Cord10 : { // Patch ID number = 10; // Codec type: // AMBEServer - to use with AMBEserver or dvemu (please check https://github.com/dl5di/OpenDV/tree/master/DummyRepeater) // USB Dongle - to use with DVSI USB-3000, NW ThumbDV Model A or DV3K Dongle (baud-rate 460800) // DV3000U - to use with old NW DV3000U (baud-rate 230400) type = "AMBEServer"; location = "localhost:2460"; // ALSA input and output devices input = "hw:Loopback,1,0"; output = "hw:Loopback,0,2"; // Outgoing session parameters (optional) mode = "Group"; source = 2049757; destination = 2049757; }; Cord11 : { // Patch ID number = 11; // Codec type: // AMBEServer - to use with AMBEserver or dvemu (please check https://github.com/dl5di/OpenDV/tree/master/DummyRepeater) // USB Dongle - to use with DVSI USB-3000, NW ThumbDV Model A or DV3K Dongle (baud-rate 460800) // DV3000U - to use with old NW DV3000U (baud-rate 230400) type = "USB Dongle"; location = "/dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_DA01PK2N-if00-port0"; // ALSA input and output devices input = "hw:Loopback,1,0"; output = "hw:Loopback,0,2"; // Outgoing session parameters (optional) mode = "Group"; source = 1; destination = 9553; };
Configuration file location : /opt/BrandMeister/Data
Deprecated Is now done in tarantool (Dont remove the file yet) Defines which TGs should be static on which repeaters
{ 2044 : { "slot" : 1, "repeaters" : [ 204711, 204601, 204666, 204720 ] }, 950600 : { "slot" : 1, "repeaters" : [ 250318 ] }, 950601 : { "slot" : 1, "repeaters" : [ 250901 ] }, 950602 : { "slot" : 1, "repeaters" : [ 250901 ] } }
Deprecated can be done in Tarantool (Dont remove the file yet) Mirrors one talkgroup to another a talkgroup (a talkgroup can only exist once)
{ // Syntax: // <Group 1 ID> : <Group 2 ID> 2 : 92, // Europe 3 : 93, // USA 13 : 913, // Worldwide English 22 : 922 // Dutch speaking }
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 }
Deprecated Moved to tarantool (Dont remove the file yet) Allows you to define a cluster of repeaters that are linked on the defined slot with the defined talkgroup
{ "Example Cluster" : { "repeaters" : { 206010,206003,206012 }, "groups" : { 9 : { "slot" : 2 } } } }
Sets the general configuration for Generic.lua
{ // General configuration for Generic.lua "AutomaticRouting" : { "Mode" : "None", // possible values: "National", "NationalOnly", "Regional", "None" "Slot" : 1 }, "DV4miniSupport" : { "ReflectorMapping" : true, "ExtendedRouting" : 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
Contains a list of all reflectors that is updated when needed through the BM software updates Deprecated This is now done from MYSQL
4000@4000 No Link@1@1234 4001@TG2621 Berlin-Brandenburg@1@1234 4011@REF4011 Celle-Heide@1@1234 4016@REF4016 Berlin-Brandenburg@1@1234 4020@REF4020 Niedersachsen Mitte@1@1234 4060@TG2280 Switzerland German@1@1234 4061@TG2281 Switzerland French@1@1234 4062@TG2286 Switzerland Italian@1@1234 4063@TG2283 Bern / Solothurn@1@1234 Ect...
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" } }