aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2022-01-13 19:59:02 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2022-08-07 02:12:14 +0200
commitf5277278f3c331a034f193da8ee74f6ff4683274 (patch)
treeeee430f08d0972337c065cab3b93147c7a737f56
parent18ab4f38f5bb22f9eec09954f25a2bf4d607ed38 (diff)
MT call: store MS Bearer Cap from CC Call Conf
-rw-r--r--src/libmsc/gsm_04_08_cc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libmsc/gsm_04_08_cc.c b/src/libmsc/gsm_04_08_cc.c
index 0e9b7b459..e5890726a 100644
--- a/src/libmsc/gsm_04_08_cc.c
+++ b/src/libmsc/gsm_04_08_cc.c
@@ -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 */