kf7eel-inc
Simon 4 years ago
parent 34a8aaf1d2
commit 6ba9c40c58
No known key found for this signature in database
GPG Key ID: 6ACF11630B5D8F82

@ -1942,7 +1942,6 @@ class routerHBP(HBSYSTEM):
if (_dst_slot['RX_TYPE'] == HBPF_SLT_VTERM) and (_dst_slot['TX_TYPE'] == HBPF_SLT_VTERM) and (time() - _dst_slot['TX_TIME'] > CONFIG['SYSTEMS'][_d_system]['GROUP_HANGTIME']):
#Always use slot2 for hotspots - many of them are simplex and this
#is the convention
logger.info(_bits)
#rewrite slot if required (slot 2 is used on hotspots)
if _slot != 2:
_tmp_bits = _bits ^ 1 << 7
@ -1975,7 +1974,6 @@ class routerHBP(HBSYSTEM):
if (_dst_slot['RX_TYPE'] == HBPF_SLT_VTERM) and (_dst_slot['TX_TYPE'] == HBPF_SLT_VTERM) and (time() - _dst_slot['TX_TIME'] > CONFIG['SYSTEMS'][_d_system]['GROUP_HANGTIME']):
#Always use slot2 for hotspots - many of them are simplex and this
#is the convention
logger.info(_bits)
#rewrite slot if required (slot 2 is used on hotspots)
if _slot != 2:
_tmp_bits = _bits ^ 1 << 7
@ -1995,18 +1993,10 @@ class routerHBP(HBSYSTEM):
#Handle private calls (for reflectors)
#Handle private voice calls (for reflectors)
if _call_type == 'unit' and not _data_call:
if (_stream_id != self.STATUS[_slot]['RX_STREAM_ID']):
logger.info(_bits)
self.STATUS[_slot]['_stopTgAnnounce'] = False
logger.warning('(%s) Reflector: Private call from %s to %s',self._system, int_id(_rf_src), _int_dst_id)

Loading…
Cancel
Save

Powered by TurnKey Linux.