Re: Call routing cluster


Petr Frank, OK2ZAR
 

Hi guys,

i've tried to play a bit and have some questions. It means dummy questions and I'd like to ask like an idiot :-)

  • I guess each *.PY script is a module so in case i want to use hb_confbridge do i have to start hblink.py + hb_confbridge.py or is particular module called/load by main script hblink.py?
  • Where and how i can define repeaters (including repeater ID, etc...) able to connect to the master
  • What's about requirements to connect hblink to DMR+ or BrandMeister as a repeater? I've tried but it ended in logging loop without success login.


Lets see my configuration

hblink.cfg:
[MASTER-1]
MODE: MASTER
ENABLED: True
REPEAT: True
EXPORT_AMBE: False
IP:
PORT: 62031
PASSPHRASE: passw0rd
GROUP_HANGTIME: 5

[REPEATER-1]
MODE: CLIENT
ENABLED: False
EXPORT_AMBE: False
IP:
PORT: 54001
MASTER_IP: 92.43.29.198
MASTER_PORT: 62031
PASSPHRASE: passw0rd
CALLSIGN: OK0TEST
RADIO_ID: 230116
RX_FREQ: 439000000
TX_FREQ: 431000000
TX_POWER: 25
COLORCODE: 1
SLOTS: 1
LATITUDE: 38.0000
LONGITUDE: -095.0000
HEIGHT: 75
LOCATION: Anywhere, EU
DESCRIPTION: This is a cool repeater
URL: www.w1abc.org
SOFTWARE_ID: 20170620
PACKAGE_ID: MMDVM_HBlink
GROUP_HANGTIME: 5
OPTIONS:

hb_confbridge_rules.py:

BRIDGES = {
    'WORLDWIDE': [
            {'SYSTEM': 'MASTER-1',    'TS': 1, 'TGID': 1,    'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'ON',  'ON': [2,], 'OFF': [9,10]},
            {'SYSTEM': 'REPEATER-1',    'TS': 1, 'TGID': 3100, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'ON',  'ON': [2,], 'OFF': [9,10]},
        ],
    'ENGLISH': [
            {'SYSTEM': 'MASTER-1',    'TS': 1, 'TGID': 13,   'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [3,], 'OFF': [8,10]},
            {'SYSTEM': 'REPEATER-1',    'TS': 1, 'TGID': 13,   'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [3,], 'OFF': [8,10]},
        ],
    'STATEWIDE': [
            {'SYSTEM': 'MASTER-1',    'TS': 2, 'TGID': 3129, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [4,], 'OFF': [7,10]},
            {'SYSTEM': 'REPEATER-1',    'TS': 2, 'TGID': 3129, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [4,], 'OFF': [7,10]},
        ],
    'PRAHA': [
            {'SYSTEM': 'MASTER-1',    'TS': 1, 'TGID': 111, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [5,], 'OFF': [6,10]},
            {'SYSTEM': 'REPEATER-1',    'TS': 1, 'TGID': 111, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [5,], 'OFF': [6,10]},
        ]
}

talkgroup_ids.csv:

1,MARC Wordlwide
2,Local 2
3,MARC North America
111,Praha

talkgroup_ids.json is deleted once hb_confbridge.py starts and it returns:
DEBUG 2018-04-06 09:58:41,802 Logging system started, anything from here on gets logged
INFO 2018-04-06 09:58:41,803 Routing bridges file found and bridges imported
ERROR: Conference bridges found for system not configured main configuration

Unfortunately i don't know what else i can check and modify.

Sorry for dummy questions but i was unable to find-out answers in wiki.

Petr, OK2ZAR.

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