falconia has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-msc/+/44046?usp=email )
Change subject: codec mapping: add support for compressed CSD
......................................................................
codec mapping: add support for compressed CSD
Themyscira Wireless Technical Specification TW-TS-007 defines
a compressed format for RTP transport of CSD within a GSM network;
it is supported as follows in Osmocom+ThemWi hybrid networks:
* Using 'tw-rtp-formats' vty setting, OsmoMSC can request this
CSD RTP format from Osmocom BSS, and the latter obliges when using
E1 BTS and tw-e1abis-mgw.
* Using TW-TS-007 compression and decompression functions in
libosmotrau, Hera TC MGW can convert on the fly between CLEARMODE
and TW-TS-007.
* libosmo-mgcp-client knows about this codec, known in SDP as
VND.THEMWI.CCSD and in the API as CODEC_COMPR_CSD.
Add knowledge of this codec to the mapping mechanism in OsmoMSC,
so it can be requested on CN side by external MNCC via AssCon.
A future patch will add mechanism to indicate TW-TS-007 to the MGW
on the RAN side when BSSMAP Assignment Complete indicates that
the BSS accepted the request to use TW-TS-007 for CSD.
Related: OS#6652
Change-Id: I97964ef7edeab3bb29300adb03a8374725eb2a1e
---
M src/libmsc/codec_mapping.c
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/46/44046/1
diff --git a/src/libmsc/codec_mapping.c b/src/libmsc/codec_mapping.c
index f3a707b..c1cac3f 100644
--- a/src/libmsc/codec_mapping.c
+++ b/src/libmsc/codec_mapping.c
@@ -218,6 +218,14 @@
},
.mgcp = CODEC_CLEARMODE,
},
+ {
+ .sdp = {
+ .payload_type = 127,
+ .subtype_name = "VND.THEMWI.CCSD",
+ .rate = 8000,
+ },
+ .mgcp = CODEC_COMPR_CSD,
+ },
};
#define foreach_codec_mapping(CODEC_MAPPING) \
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/44046?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I97964ef7edeab3bb29300adb03a8374725eb2a1e
Gerrit-Change-Number: 44046
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <[email protected]>