diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2022-01-13 19:59:02 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2022-09-23 19:00:00 +0200 |
commit | 40b3fc77ea9324ebd03d4d46a89cf87a71c0090d (patch) | |
tree | 55397c813a5e3333e463aafaa8af931add3f2e59 | |
parent | ae2ce44529232a316a465f279472bd2278050e94 (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 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 */ |