Handle BCSQ when coming from a HBP source also

This commit is contained in:
Simon 2021-04-14 22:36:28 +01:00
parent 8266467564
commit 1cf2415321

View File

@ -1458,6 +1458,10 @@ class routerHBP(HBSYSTEM):
#We want to ignore this system and TS combination if it's called again for this packet #We want to ignore this system and TS combination if it's called again for this packet
_sysIgnore.append((_target['SYSTEM'],_target['TS'])) _sysIgnore.append((_target['SYSTEM'],_target['TS']))
if ('_bcsq' in _target_system) and (_dst_id in _target_system['_bcsq']) and (_target_system['_bcsq'][_target['TGID'] == _stream_id):
#logger.info('(%s) Conference Bridge: %s, is Source Quenched for Stream ID: %s, skipping system: %s TS: %s, TGID: %s', self._system, _bridge, int_id(_stream_id), _target['SYSTEM'], _target['TS'], int_id(_target['TGID']))
continue
# Is this a new call stream on the target? # Is this a new call stream on the target?
if (_stream_id not in _target_status): if (_stream_id not in _target_status):
# This is a new call stream on the target # This is a new call stream on the target