diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2022-01-13 21:39:58 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2022-10-13 16:12:26 +0200 |
commit | 736c3bb4d13caf6800b374e23c1b3c5a3c0b9d35 (patch) | |
tree | e77c544b0739d4432b5de280c6de048653dc7b90 | |
parent | d8b0cb8a4e9bc6300eec996a4c9b6970002063f0 (diff) |
update codecs filter with BSS codecs from Assignment Complete
Related: SYS#5066
Change-Id: I5e66ecc7987fa926f39d8be8eaf5799b931ab20a
-rw-r--r-- | src/libmsc/msc_a.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libmsc/msc_a.c b/src/libmsc/msc_a.c index 28ecfc244..12db3757f 100644 --- a/src/libmsc/msc_a.c +++ b/src/libmsc/msc_a.c @@ -47,6 +47,7 @@ #include <osmocom/msc/rtp_stream.h> #include <osmocom/msc/msc_ho.h> #include <osmocom/msc/codec_sdp_cc_t9n.h> +#include <osmocom/msc/codec_filter.h> #define MSC_A_USE_WAIT_CLEAR_COMPLETE "wait-Clear-Complete" @@ -1353,6 +1354,10 @@ static void msc_a_up_call_assignment_complete(struct msc_a *msc_a, const struct rtp_stream_commit(rtps_to_ran); + /* Remember the Codec List (BSS Supported) */ + if (ac->assignment_complete.codec_list_bss_supported) + codec_filter_set_bss(&cc_trans->cc.codecs, ac->assignment_complete.codec_list_bss_supported); + /* Setup CN side endpoint CI: * Now that * - the first CI has been created and a definitive endpoint name is assigned to the call_leg's MGW |