diff --git a/play_group.py b/play_group.py index 6a5dd89..55a09f0 100755 --- a/play_group.py +++ b/play_group.py @@ -73,7 +73,7 @@ class playIPSC(IPSC): _self_peer = NETWORK[_network]['LOCAL']['RADIO_ID'] _self_src = _self_peer[1:] - + _dst_sub = data[9:12] for i in self.CALL_DATA: _tmp_data = i @@ -83,6 +83,9 @@ class playIPSC(IPSC): # re-Write the source subscriber ID to that of this program _tmp_data = _tmp_data.replace(_src_sub, _self_src) + # Re-Write the destination Group ID + _tmp_data = _tmp_data.replace(_tmp_data[9:12], _dst_group) + # Re-Write IPSC timeslot value ''' _call_info = int_id(_data[17:18])