laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/41633?usp=email )
Change subject: gsm/protocol/gsm_48_103.h: add definition for TW-TS-007 ......................................................................
gsm/protocol/gsm_48_103.h: add definition for TW-TS-007
TW-TS-007 is a Themyscira/Osmocom extension to AoIP interface that provides a much more compact payload format for CSD, matching the size of compressed speech payloads. Clause 9 in this spec fixes the payload type on AoIP interface for this pseudo-codec as 127, distinguishing it from CLEARMODE and from all speech codecs.
Osmocom applications that may need payload type numbers for the standard set of codecs defined in TS 48.103 may also need the payload type for TW-TS-007 if they implement this extension, as this payload format is intended to "stand on equal footing" with standard AoIP payload types. Therefore, add it to the same header file.
Change-Id: I74c9e76ebcce32ad20501134ec5089794acb4f62 --- M include/osmocom/gsm/protocol/gsm_48_103.h 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved Jenkins Builder: Verified
diff --git a/include/osmocom/gsm/protocol/gsm_48_103.h b/include/osmocom/gsm/protocol/gsm_48_103.h index d40acac..6fe461b 100644 --- a/include/osmocom/gsm/protocol/gsm_48_103.h +++ b/include/osmocom/gsm/protocol/gsm_48_103.h @@ -19,3 +19,6 @@ /* circuit-switched data */ #define OSMO_AOIP_RTP_PT_CSD 120 /* without redundancy */ #define OSMO_AOIP_RTP_PT_CSD_RED 121 /* with redundancy */ + +/* Osmocom and Themyscira extensions */ +#define OSMO_AOIP_RTP_PT_TWTS007 127 /* compressed form of CSD */