From d68d3582daf3a54896068f831ea4fa55aec8ea31 Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Wed, 4 Dec 2019 19:07:58 -0600 Subject: [PATCH] Update bridge.py --- bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge.py b/bridge.py index 2ea79be..81eadb9 100755 --- a/bridge.py +++ b/bridge.py @@ -538,7 +538,7 @@ class routerOBP(OPENBRIDGE): # Final actions - Is this a voice terminator? if (_frame_type == HBPF_DATA_SYNC) and (_dtype_vseq == HBPF_SLT_VTERM): self._targets = [] - call_duration = pkt_time - self.STATUS[_slot]['RX_START'] + call_duration = pkt_time - self.STATUS['START'] logger.info('(%s) *UNIT CALL END* STREAM ID: %s SUB: %s (%s) PEER: %s (%s) UNIT %s (%s), TS %s, Duration: %.2f', \ self._system, int_id(_stream_id), get_alias(_rf_src, subscriber_ids), int_id(_rf_src), get_alias(_peer_id, peer_ids), int_id(_peer_id), get_alias(_dst_id, talkgroup_ids), int_id(_dst_id), _slot, call_duration) if CONFIG['REPORTS']['REPORT']: