diff --git a/bridge_master.py b/bridge_master.py index c9e7280..7e17a7e 100644 --- a/bridge_master.py +++ b/bridge_master.py @@ -2351,6 +2351,13 @@ class routerHBP(HBSYSTEM): self.STATUS[_slot]['_stopTgAnnounce'] = True self.STATUS[_slot]['_allStarMode'] = True reactor.callLater(30,resetallStarMode) + elif not CONFIG['ALLSTAR']['ENABLED'] and _int_dst_id == 8: + logger.info('(%s) Reflector: TG 8 AllStar not enabled"', self._system) + _say.append(words[_lang]['busy']) + _say.append(words[_lang]['silence']) + self.STATUS[_slot]['_stopTgAnnounce'] = True + + #If disconnection called if _int_dst_id == 4000: diff --git a/config.py b/config.py index f0ac779..4444466 100755 --- a/config.py +++ b/config.py @@ -200,7 +200,7 @@ def build_config(_config_file): 'ENABLED': config.getboolean(section, 'ENABLED'), 'USER': config.get(section, 'USER'), 'PASS': config.get(section, 'PASS'), - 'SERVER': gethostbyname(config.get(section, 'SERVER')), + 'SERVER': config.get(section, 'SERVER'), 'PORT': config.getint(section,'PORT'), 'NODE' : config.getint(section,'NODE') })