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
This commit is contained in:
Pau Espin 2022-01-07 18:45:50 +01:00
parent 9de384a28c
commit d795531564
1 changed files with 2 additions and 1 deletions

View File

@ -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)) {