Bridging to multiple Brandmeister Talkgroups HBLink


Skyler Fennell
 

I have a need to bridge in another DMR brandmeister talk-group into an HBLink DMR server. This is to connect a Colorado repeater network to a weather net, and I have permission on both talk-groups. I hope this isn't against BM's terms of service, I would like an answer anyways just for educational purposes because I will eventually do this between TGIF and BM in the future once I have permission from TGIF.  

GOAL:
TALKGROUP_2_BRANDMEISTER  <---->  TALKGROUP_1_HBLINK  <----> TALKGROUP_1_BRANDMEISTER

On my HBLink.cfg, I have created 3 stanzas. MASTER1, REPEATER1, and REPEATER2. 
Repeater 1 and Repeater 2 are both connected to the brandmeister network using a different local port and DMR ID.

HBLINK.CFG Important STANZAS:

[MASTER-1]

MODE: MASTER

ENABLED: True

REPEAT: True

MAX_PEERS: 10

EXPORT_AMBE: False

IP:

PORT: 62030

PASSPHRASE: passw0rd

GROUP_HANGTIME: 0

#This was set to 5

USE_ACL: True

REG_ACL: DENY:1

SUB_ACL: DENY:1

TGID_TS1_ACL: PERMIT:ALL

TGID_TS2_ACL: PERMIT:ALL


[REPEATER-1]

MODE: PEER

ENABLED: True

LOOSE: False

EXPORT_AMBE: False

IP:

PORT: 54009

MASTER_IP: 64.94.238.196

MASTER_PORT: 62031

PASSPHRASE: passw0rd

CALLSIGN: W0SKY

RADIO_ID: my_id_02

COLORCODE: 1

SLOTS: 3

GROUP_HANGTIME: 0

(omitted the rest of the not importatn stuff)


[REPEATER-2]

MODE: PEER

ENABLED: True

LOOSE: False

EXPORT_AMBE: False

IP:

PORT: 54008

MASTER_IP: 64.94.238.196

MASTER_PORT: 62031

PASSPHRASE: passw0rd

CALLSIGN: W0SKY

RADIO_ID: my_id_03

COLORCODE: 1

SLOTS: 3

GROUP_HANGTIME: 0

(omitted the rest of the not importatn stuff)


RULES.PY. I've tried it both ways, but either way it will ONLY bridge to ONE Talkgroup, it will not chose both:

First Attempt:

BRIDGES = {

    'TEST': [

            {'SYSTEM': 'MASTER-1',    'TS': 2, 'TGID': TALKGROUP_1_HBLINK,    'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10], 'RESET': []},

            {'SYSTEM': 'REPEATER-1',    'TS': 2, 'TGID': TALKGROUP_1_BRANDMEISTER, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10], 'RESET': []},

           {'SYSTEM': 'REPEATER-2',    'TS': 2, 'TGID': TALKGROUP_2_BRANDMEISTER, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10], 'RESET': []},

        ]

Audio only routes between TALKGROUP_1_HBLINK and one of the brandmeister talkgroups, not both. Trying each one individually works fine. 

Second Attempt:

BRIDGES = {

    'TEST': [

            {'SYSTEM': 'MASTER-1',    'TS': 2, 'TGID': TALKGROUP_1_HBLINK,    'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10], 'RESET': []},

            {'SYSTEM': 'REPEATER-1',    'TS': 2, 'TGID': TALKGROUP_1_BRANDMEISTER, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10], 'RESET': []},

        ],


    'TESTA': [

            {'SYSTEM': 'MASTER-1',    'TS': 2, 'TGID': TALKGROUP_1_HBLINK,    'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10], 'RESET': []},


           {'SYSTEM': 'REPEATER-2',    'TS': 2, 'TGID': TALKGROUP_2_BRANDMEISTER, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10], 'RESET': []},

        ]

}


Also, if it matters, the HBLINK TG 1 is equal to the BM TG 1. I can make them different.


Join main@DVSwitch.groups.io to automatically receive all group messages.