From db18b418b6aaf40b6e737ca4661eaec7e5726f03 Mon Sep 17 00:00:00 2001 From: n0mjs710 Date: Thu, 8 Nov 2018 09:39:50 -0600 Subject: [PATCH] OB to OB Support Added --- hb_confbridge.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hb_confbridge.py b/hb_confbridge.py index ff90b8b..fe21710 100755 --- a/hb_confbridge.py +++ b/hb_confbridge.py @@ -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() \ No newline at end of file + reactor.run()