From e98a3e012f5bb46c19ddf11328657f4a02e62bf0 Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Sun, 31 Jul 2016 09:41:28 -0500 Subject: [PATCH] Initial Upload --- hb_routing_rules.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 hb_routing_rules.py diff --git a/hb_routing_rules.py b/hb_routing_rules.py new file mode 100644 index 0000000..9649108 --- /dev/null +++ b/hb_routing_rules.py @@ -0,0 +1,28 @@ +RULES = { + 'MASTERS': { + 'MASTER-1': { + 'GROUP_HANGTIME': 5, + 'GROUP_VOICE': [ + {'NAME': 'STATEWIDE', 'ACTIVE': False, 'ON': [8,], 'OFF': [9,10], 'SRC_TS': 1, 'SRC_GROUP': 1, 'DST-TYPE': 'CLIENT', 'DST_NET': 'REPEATER-1', 'DST_TS': 2, 'DST_GROUP': 2}, + # When DMRD received on this MASTER, Time Slot 1, Talk Group 1; send to CLIENT-1 on Time Slot 2 Talk Group 2 + # This rule is NOT enabled by default + # This rule can be enabled by transmitting on TGID 8 + # This rule can be disabled by transmitting on TGID 9 or 10 + # Repeat the above line for as many rules for this IPSC network as you want. + ] + }, + }, + 'CLIENTS': { + 'REPEATER-1': { + 'GROUP_HANGTIME': 5, + 'GROUP_VOICE': [ + {'NAME': 'STATEWIDE', 'ACTIVE': False, 'ON': [8,], 'OFF': [9,10], 'SRC_TS': 1, 'SRC_GROUP': 1, 'DST-TYPE': 'MASTER', 'DST_NET': 'MASTER-1', 'DST_TS': 2, 'DST_GROUP': 2}, + # When DMRD received on this CLIENT, Time Slot 1, Talk Group 1; send to MASTER-1 on Time Slot 2 Talk Group 2 + # This rule is NOT enabled by default + # This rule can be enabled by transmitting on TGID 8 + # This rule can be disabled by transmitting on TGID 9 or 10 + # Repeat the above line for as many rules for this IPSC network as you want. + ] + }, + }, +} \ No newline at end of file