Merge branch 'openbridge' of https://github.com/n0mjs710/HBlink into openbridge

This commit is contained in:
Cort Buffington 2018-11-08 09:41:39 -06:00
commit 6f33ec54c5
1 changed files with 2 additions and 3 deletions

View File

@ -279,10 +279,9 @@ class routerOBP(OPENBRIDGE):
if (_system['SYSTEM'] == self._system and _system['TGID'] == _dst_id and _system['TS'] == _slot and _system['ACTIVE'] == True):
for _target in BRIDGES[_bridge]:
if (_target['SYSTEM'] != self._system) and (_target['ACTIVE']) and (CONFIG['SYSTEMS'][_target['SYSTEM']]['MODE'] != 'OPENBRIDGE'):
if (_target['SYSTEM'] != self._system) and (_target['ACTIVE']):
_target_status = systems[_target['SYSTEM']].STATUS
_target_system = self._CONFIG['SYSTEMS'][_target['SYSTEM']]
if _target_system['MODE'] == 'OPENBRIDGE':
# Is this a new call stream on the target?
if (_stream_id not in _target_status):
@ -841,4 +840,4 @@ if __name__ == '__main__':
stream_trimmer = task.LoopingCall(stream_trimmer_loop)
stream_trimmer.start(5)
reactor.run()
reactor.run()