Echo works with new streamid

This commit is contained in:
Simon 2021-03-28 12:03:57 +01:00
parent 7ba70ae78d
commit bc9b1d5f0e

View File

@ -139,13 +139,9 @@ class playback(HBSYSTEM):
self._system, int_id(_new_stream_id), get_alias(_rf_src, subscriber_ids), int_id(_rf_src), get_alias(_peer_id, peer_ids), int_id(_peer_id), get_alias(_dst_id, talkgroup_ids), int_id(_dst_id), _slot, call_duration)
for i in self.CALL_DATA:
print('****')
print(i)
print('----')
i = i[:16] + _new_stream_id + i[20:]
print(i)
self.send_system(i)
#print(i)
sleep(0.06)
self.CALL_DATA = []
logger.info('(%s) *END PLAYBACK* STREAM ID: %s', self._system, int_id(_new_stream_id))