Try another method to match all for dial bridges

This commit is contained in:
Simon 2021-01-10 20:10:17 +00:00
parent e2b137d6aa
commit 7272289a23
1 changed files with 2 additions and 1 deletions

View File

@ -1167,7 +1167,8 @@ class routerOBP(OPENBRIDGE):
#if _bridge[0:1] != '#':
#if True:
for _system in BRIDGES[_bridge]:
if _system['SYSTEM'] == self._system and _system['TGID'] == _dst_id and _system['TS'] == _slot and _system['ACTIVE'] == True:
if (_system['SYSTEM'] == self._system and _system['TGID'] == _dst_id and _system['TS'] == _slot and _system['ACTIVE'] == True) \
or (_system['SYSTEM'] == self._system and int_id(_system['TGID']) == int(_bridge) and _system['TS'] == _slot and _system['ACTIVE'] == True):
_sysIgnore = self.to_target(_peer_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data, pkt_time, dmrpkt, _bits,_bridge,_system,False,_sysIgnore)