This commit is contained in:
Simon 2021-04-15 18:49:19 +01:00
parent d7bf07c23a
commit a27801e399
1 changed files with 2 additions and 2 deletions

View File

@ -1103,7 +1103,7 @@ class routerOBP(OPENBRIDGE):
continue
#If target has missed 6 (on 1 min) of keepalives, don't send
if _target_system['ENHANCED_OBP'] ['_bcka'] in _target_system and _target_system['_bcka'] < _pkt_time - 60:
if _target_system['ENHANCED_OBP'] and '_bcka' in _target_system and _target_system['_bcka'] < _pkt_time - 60:
logger.debug(_target_system['_bcka'])
continue
@ -1456,7 +1456,7 @@ class routerHBP(HBSYSTEM):
continue
#If target has missed 6 (on 1 min) of keepalives, don't send
if _target_system['ENHANCED_OBP'] ['_bcka'] in _target_system and _target_system['_bcka'] < _pkt_time - 60:
if _target_system['ENHANCED_OBP'] and '_bcka' in _target_system and _target_system['_bcka'] < _pkt_time - 60:
continue
# Is this a new call stream on the target?