fixing typos on obp call tracking

This commit is contained in:
Cort Buffington 2020-02-19 19:27:37 +00:00
parent 9e2876dfae
commit 4e3a13daaf

View File

@ -240,7 +240,7 @@ class routerOBP(OPENBRIDGE):
'CONTENTION':False, 'CONTENTION':False,
'RFS': _rf_src, 'RFS': _rf_src,
'TYPE': 'GROUP', 'TYPE': 'GROUP',
'TGID': _dst_id 'DST': _dst_id
} }
# If we can, use the LC from the voice header as to keep all options intact # If we can, use the LC from the voice header as to keep all options intact
@ -279,8 +279,8 @@ class routerOBP(OPENBRIDGE):
'START': pkt_time, 'START': pkt_time,
'CONTENTION':False, 'CONTENTION':False,
'RFS': _rf_src, 'RFS': _rf_src,
'TYPE': 'GROUP' 'TYPE': 'GROUP',
'DST': _dst_id, 'DST': _dst_id
} }
# Generate LCs (full and EMB) for the TX stream # Generate LCs (full and EMB) for the TX stream
dst_lc = b''.join([self.STATUS[_stream_id]['LC'][0:3], _target['TGID'], _rf_src]) dst_lc = b''.join([self.STATUS[_stream_id]['LC'][0:3], _target['TGID'], _rf_src])
@ -439,7 +439,7 @@ class routerOBP(OPENBRIDGE):
'CONTENTION':False, 'CONTENTION':False,
'RFS': _rf_src, 'RFS': _rf_src,
'TYPE': 'UNIT', 'TYPE': 'UNIT',
'TGID': _dst_id 'DST': _dst_id
} }
# Create a destination list for the call: # Create a destination list for the call:
@ -473,8 +473,8 @@ class routerOBP(OPENBRIDGE):
'START': pkt_time, 'START': pkt_time,
'CONTENTION':False, 'CONTENTION':False,
'RFS': _rf_src, 'RFS': _rf_src,
'TYPE': 'UNIT' 'TYPE': 'UNIT',
'DST': _dst_id, 'DST': _dst_id
} }
logger.info('(%s) Unit call bridged to OBP System: %s TS: %s, TGID: %s', self._system, _target, _slot, int_id(_dst_id)) logger.info('(%s) Unit call bridged to OBP System: %s TS: %s, TGID: %s', self._system, _target, _slot, int_id(_dst_id))
@ -686,7 +686,7 @@ class routerHBP(HBSYSTEM):
'CONTENTION':False, 'CONTENTION':False,
'RFS': _rf_src, 'RFS': _rf_src,
'TYPE': 'GROUP', 'TYPE': 'GROUP',
'DST': _dst_id, 'DST': _dst_id
} }
# Generate LCs (full and EMB) for the TX stream # Generate LCs (full and EMB) for the TX stream
dst_lc = b''.join([self.STATUS[_slot]['RX_LC'][0:3], _target['TGID'], _rf_src]) dst_lc = b''.join([self.STATUS[_slot]['RX_LC'][0:3], _target['TGID'], _rf_src])