Browse Source

ran_msg_iu.c: Set proper codec in Assignment Complete

We need to set the codec as present in order for
msc_a_up_call_assignment_complete() to configure properly the CN-side of
he leg with the IUFP codec, which should be the desired default in order
to avoid transcoding.

Change-Id: Ib8086462239e2df748cf47ea7b37a07f1f3b85a8
changes/06/26806/1
Pau Espin 7 months ago
parent
commit
d795531564
  1. 3
      src/libmsc/ran_msg_iu.c

3
src/libmsc/ran_msg_iu.c

@ -153,7 +153,8 @@ static int ran_iu_decode_rab_assignment_response_decode_setup_ies(struct ran_dec
.msg_type = RAN_MSG_ASSIGNMENT_COMPLETE,
.msg_name = "RANAP RAB Assignment Response",
.assignment_complete = {
.codec = CODEC_AMR_8000_1,
.codec_present = true,
.codec = CODEC_IUFP,
},
};
if (osmo_sockaddr_str_from_str(&ran_dec_msg->assignment_complete.remote_rtp, addr, port)) {

Loading…
Cancel
Save