Stop double-logging voice start

This commit is contained in:
Simon 2021-03-25 19:10:46 +00:00
parent bec116337e
commit b67ad6e787
1 changed files with 3 additions and 3 deletions

View File

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