aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2022-01-13 19:59:02 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2022-10-13 16:12:26 +0200
commitdb61f7376cac9afd397fb7ea7469e3fed13f08c7 (patch)
tree627771b4567a6a66a33d710292cb55be469cd8ea
parenta4195dbfc12a3899d44044f490dca790ee9e5e4a (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 d94c59cfd..3cee3859b 100644
--- a/src/libmsc/gsm_04_08_cc.c
+++ b/src/libmsc/gsm_04_08_cc.c
@@ -770,6 +770,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 */