From 62fc209b4ff012ea01541231fcd131bc6344948b Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Fri, 23 Jun 2017 16:04:45 -0500 Subject: [PATCH] fix TS parsing during trigger action --- confbridge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confbridge.py b/confbridge.py index bf87ad7..5cac329 100755 --- a/confbridge.py +++ b/confbridge.py @@ -373,7 +373,7 @@ class confbridgeIPSC(IPSC): if _system['SYSTEM'] == self._system: # TGID matches an ACTIVATION trigger - if _dst_group in _system['ON']: + if _dst_group in _system['ON'] and _ts == _system['TS']: # Set the matching rule as ACTIVE if _system['ACTIVE'] == False: _system['ACTIVE'] = True @@ -388,7 +388,7 @@ class confbridgeIPSC(IPSC): self._logger.info('(%s) Bridge: %s, timeout timer reset to: %s', self._system, _bridge, _system['TIMER'] - now) # TGID matches an DE-ACTIVATION trigger - if _dst_group in _system['OFF']: + if _dst_group in _system['OFF'] and _ts == _system['TS']: # Set the matching rule as ACTIVE if _system['ACTIVE'] == True: _system['ACTIVE'] = False