OB to OB Support Added

This commit is contained in:
n0mjs710 2018-11-08 09:39:50 -06:00
parent 316b566b9d
commit db18b418b6

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()