neels has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-msc/+/30122
)
Change subject: [codecs filter] MT call: store MS Bearer Cap from CC Call Conf
......................................................................
[codecs filter] MT call: store MS Bearer Cap from CC Call Conf
Related: SYS#5066
Change-Id: Ic3d0f05af57a493d500700c63b121c8114e7fbf4
---
M src/libmsc/gsm_04_08_cc.c
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/22/30122/1
diff --git a/src/libmsc/gsm_04_08_cc.c b/src/libmsc/gsm_04_08_cc.c
index d12220d..649b533 100644
--- a/src/libmsc/gsm_04_08_cc.c
+++ b/src/libmsc/gsm_04_08_cc.c
@@ -800,6 +800,10 @@
* 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 */
--
To view, visit
https://gerrit.osmocom.org/c/osmo-msc/+/30122
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Ic3d0f05af57a493d500700c63b121c8114e7fbf4
Gerrit-Change-Number: 30122
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: newchange