From a2c0bb54c6125ca5f757004b251408ed2be2e6e3 Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Mon, 16 Mar 2020 08:38:16 -0500 Subject: [PATCH] Fixed typo in call state tracking. --- bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge.py b/bridge.py index 6530e85..7d0faf4 100755 --- a/bridge.py +++ b/bridge.py @@ -316,7 +316,7 @@ class routerOBP(OPENBRIDGE): dmrbits = _target_status[_stream_id]['T_LC'][0:98] + dmrbits[98:166] + _target_status[_stream_id]['T_LC'][98:197] if CONFIG['REPORTS']['REPORT']: call_duration = pkt_time - _target_status[_stream_id]['START'] - _target_status[_stream_id]['ACTIVE']: False + _target_status[_stream_id]['ACTIVE'] = False systems[_target['SYSTEM']]._report.send_bridgeEvent('GROUP VOICE,END,TX,{},{},{},{},{},{},{:.2f}'.format(_target['SYSTEM'], int_id(_stream_id), int_id(_peer_id), int_id(_rf_src), _target['TS'], int_id(_target['TGID']), call_duration).encode(encoding='utf-8', errors='ignore')) # Create a Burst B-E packet (Embedded LC) elif _dtype_vseq in [1,2,3,4]: