diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2022-01-13 19:59:02 +0100 |
---|---|---|
committer | neels <nhofmeyr@sysmocom.de> | 2023-03-14 22:41:52 +0000 |
commit | 10357f801b5a4a391b326b866db6c005edc10c45 (patch) | |
tree | 6c139a59721c79bece18ee82e45cfe6f0cd51a59 | |
parent | af9d30eff5150241e4edecee53283a313da7179f (diff) |
[codecs filter] MT call: store MS Bearer Cap from CC Call Conf
Related: SYS#5066
Change-Id: Ic3d0f05af57a493d500700c63b121c8114e7fbf4
-rw-r--r-- | src/libmsc/gsm_04_08_cc.c | 4 |
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 12f2c8925..4a484bb14 100644 --- a/src/libmsc/gsm_04_08_cc.c +++ b/src/libmsc/gsm_04_08_cc.c @@ -830,6 +830,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 */ |