diff --git a/include/osmocom/msc/ran_msg.h b/include/osmocom/msc/ran_msg.h index dc1483cb5..7df6564ef 100644 --- a/include/osmocom/msc/ran_msg.h +++ b/include/osmocom/msc/ran_msg.h @@ -103,6 +103,7 @@ struct ran_clear_command { struct ran_assignment_command { const struct osmo_sockaddr_str *cn_rtp; const struct gsm0808_channel_type *channel_type; + const struct sdp_audio_codecs *codecs; enum nsap_addr_enc rab_assign_addr_enc; bool osmux_present; uint8_t osmux_cid; diff --git a/src/libmsc/msc_a.c b/src/libmsc/msc_a.c index 991661c55..084d04fcd 100644 --- a/src/libmsc/msc_a.c +++ b/src/libmsc/msc_a.c @@ -700,6 +700,7 @@ void msc_a_tx_assignment_cmd(struct msc_a *msc_a) .assignment_command = { .cn_rtp = &msc_a->cc.call_leg->rtp[RTP_TO_RAN]->local, .channel_type = &channel_type, + .codecs = &cc_trans->cc.local.audio_codecs, .osmux_present = msc_a->cc.call_leg->rtp[RTP_TO_RAN]->use_osmux, .osmux_cid = msc_a->cc.call_leg->rtp[RTP_TO_RAN]->local_osmux_cid, .call_id_present = true,