Reject null streamid from HBP
This commit is contained in:
parent
441644dd03
commit
06c7b6acc6
@ -466,6 +466,8 @@ class HBSYSTEM(DatagramProtocol):
|
|||||||
_frame_type = (_bits & 0x30) >> 4
|
_frame_type = (_bits & 0x30) >> 4
|
||||||
_dtype_vseq = (_bits & 0xF) # data, 1=voice header, 2=voice terminator; voice, 0=burst A ... 5=burst F
|
_dtype_vseq = (_bits & 0xF) # data, 1=voice header, 2=voice terminator; voice, 0=burst A ... 5=burst F
|
||||||
_stream_id = _data[16:20]
|
_stream_id = _data[16:20]
|
||||||
|
if not bool(_stream_id):
|
||||||
|
logger.warning('(%s) CALL DROPPED AS STREAM ID IS NULL FROM SUBSCRIBER %s', self._system, int_id(_rf_src))
|
||||||
#logger.debug('(%s) DMRD - Seqence: %s, RF Source: %s, Destination ID: %s', self._system, _seq, int_id(_rf_src), int_id(_dst_id))
|
#logger.debug('(%s) DMRD - Seqence: %s, RF Source: %s, Destination ID: %s', self._system, _seq, int_id(_rf_src), int_id(_dst_id))
|
||||||
# ACL Processing
|
# ACL Processing
|
||||||
if self._CONFIG['GLOBAL']['USE_ACL']:
|
if self._CONFIG['GLOBAL']['USE_ACL']:
|
||||||
|
Loading…
Reference in New Issue
Block a user