master
Simon 6 years ago
parent cbf1116076
commit eb0b23c39c

@ -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?

Loading…
Cancel
Save

Powered by TurnKey Linux.