diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2022-01-13 19:59:02 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2022-10-13 16:12:26 +0200 |
commit | db61f7376cac9afd397fb7ea7469e3fed13f08c7 (patch) | |
tree | 627771b4567a6a66a33d710292cb55be469cd8ea | |
parent | a4195dbfc12a3899d44044f490dca790ee9e5e4a (diff) |
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 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 */ |