MT call: store MS Bearer Cap from CC Call Conf

Related: SYS#5066
Change-Id: Ic3d0f05af57a493d500700c63b121c8114e7fbf4
This commit is contained in:
Neels Hofmeyr 2022-01-13 19:59:02 +01:00
parent ae2ce44529
commit 40b3fc77ea
1 changed files with 4 additions and 0 deletions

View File

@ -768,6 +768,10 @@ static int gsm48_cc_rx_call_conf(struct gsm_trans *trans, struct msgb *msg)
* this information later */
memcpy(&trans->bearer_cap, &call_conf.bearer_cap,
sizeof(trans->bearer_cap));
/* This is the MT call leg's Call Conf, containing the MS Bearer Capabilities of the MT MS.
* Store in codecs filter. */
codec_filter_set_ms_from_bc(&trans->cc.codecs, &call_conf.bearer_cap);
}
/* cause */