From 339ed8b9ceb3e18e9284eab45ad73ab9571cd7a8 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 25 Mar 2021 22:42:59 +0000 Subject: [PATCH] Revert "Stop double-logging voice start" This reverts commit b67ad6e78730a538e1e65511f281a5f34b85c073. --- bridge_master.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bridge_master.py b/bridge_master.py index 3cf7bed..743d0b0 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -1273,9 +1273,9 @@ class routerOBP(OPENBRIDGE): return #Move this here to stop messing up the dash - we only want to log a QSO if we allow it - #if (_stream_id not in self.STATUS): - # if CONFIG['REPORTS']['REPORT']: - # self._report.send_bridgeEvent('GROUP VOICE,START,RX,{},{},{},{},{},{}'.format(self._system, int_id(_stream_id), int_id(_peer_id), int_id(_rf_src), _slot, int_id(_dst_id)).encode(encoding='utf-8', errors='ignore')) + if (_stream_id not in self.STATUS): + if CONFIG['REPORTS']['REPORT']: + self._report.send_bridgeEvent('GROUP VOICE,START,RX,{},{},{},{},{},{}'.format(self._system, int_id(_stream_id), int_id(_peer_id), int_id(_rf_src), _slot, int_id(_dst_id)).encode(encoding='utf-8', errors='ignore')) self.STATUS[_stream_id]['LAST'] = pkt_time