aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2022-01-13 21:39:58 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2022-08-07 02:12:14 +0200
commit28a08450e8632f0b10962e2fffab8a197ffcece0 (patch)
treee3983f3b3924531fa51e9237c4c516fec8b897c9
parent308798dd7221cc4a85cdf921e0ea8c7ace0568f3 (diff)
update codecs filter with BSS codecs from Assignment Complete
-rw-r--r--src/libmsc/msc_a.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libmsc/msc_a.c b/src/libmsc/msc_a.c
index 943e7524e..01b230752 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"
@@ -1341,6 +1342,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