laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-mgw/+/41529?usp=email )

Change subject: mgcp_client: add support for VND.THEMWI.CCSD codec
......................................................................

mgcp_client: add support for VND.THEMWI.CCSD codec

TW-TS-007 defines a compressed RTP payload format for GSM CSD,
reducing the payload size from 160 bytes of mostly constant filler
bits to 16, 32 or 37 bytes depending on specific CSD mode:

https://www.freecalypso.org/specs/tw-ts-007-v010001.txt

Clause 9 specifies payload type number 127 when this pseudo-codec
is used on AoIP interface, while Annex A gives it the name
VND.THEMWI.CCSD for SDP.

Add support for this codec to libosmo-mgcp-client, to make it
possible for OsmoBSC and OsmoMSC to request this codec from MGWs.

Change-Id: I6e4e15b5b3d20036aae8472bd94bc878b718ddd4
---
M include/osmocom/mgcp_client/mgcp_client.h
M src/libosmo-mgcp-client/mgcp_client.c
2 files changed, 2 insertions(+), 0 deletions(-)

Approvals:
  falconia: Verified
  laforge: Looks good to me, approved




diff --git a/include/osmocom/mgcp_client/mgcp_client.h 
b/include/osmocom/mgcp_client/mgcp_client.h
index 1d33690..d53f442 100644
--- a/include/osmocom/mgcp_client/mgcp_client.h
+++ b/include/osmocom/mgcp_client/mgcp_client.h
@@ -58,6 +58,7 @@
        CODEC_AMRWB_16000_1 = 113,      /* 3GPP TS 48.103 table 5.4.2.2.1 */
        CODEC_IUFP = 96,
        CODEC_CLEARMODE = 120,          /* 3GPP TS 48.103 table 5.4.2.2.1 */
+       CODEC_COMPR_CSD = 127,          /* compressed CSD per TW-TS-007 */
 };
 /* Note: when new codec types are added, the corresponding value strings
  * in mgcp_client.c (codec_table) must be updated as well. Enumerations
diff --git a/src/libosmo-mgcp-client/mgcp_client.c 
b/src/libosmo-mgcp-client/mgcp_client.c
index 63d03f9..4924be4 100644
--- a/src/libosmo-mgcp-client/mgcp_client.c
+++ b/src/libosmo-mgcp-client/mgcp_client.c
@@ -61,6 +61,7 @@
        { CODEC_AMRWB_16000_1, "AMR-WB/16000/1" },
        { CODEC_IUFP, "VND.3GPP.IUFP/16000" },
        { CODEC_CLEARMODE, "CLEARMODE/8000" },
+       { CODEC_COMPR_CSD, "VND.THEMWI.CCSD/8000" },
        { 0, NULL },
 };


--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/41529?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I6e4e15b5b3d20036aae8472bd94bc878b718ddd4
Gerrit-Change-Number: 41529
Gerrit-PatchSet: 2
Gerrit-Owner: falconia <[email protected]>
Gerrit-Reviewer: falconia <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to