libosmogsm 1.13.1.1-afb4 Osmocom GSM library

rtp_extensions.h
Go to the documentation of this file.
1/*
2 * Themyscira Wireless Technical Specification TW-TS-003 defines a BSSMAP
3 * extension whereby a CN implementation and a BSS implementation can
4 * negotiate the use of non-3GPP-standard extensions to RTP user plane,
5 * extensions that modify RTP formats counter to the stipulations of
6 * 3GPP TS 48.103. There is also a private Osmocom-defined IE in Abis RSL
7 * that communicates the same RTP extensions from OsmoBSC to OsmoBTS.
8 *
9 * This header file defines the meaning of the bits in the first (and currently
10 * only) value octet of the TLV IE added to BSSMAP and RSL interfaces,
11 * namely, GSM0808_IE_THEMWI_RTP_EXTENSIONS and RSL_IE_OSMO_RTP_EXTENSIONS.
12 * It is based on this authoritative definition:
13 *
14 * https://www.freecalypso.org/specs/tw-ts-003-v010100.txt
15 *
16 * Section 5.3 in the above specification defines the assignment of
17 * individual bits in the single value octet.
18 */
19
20#pragma once
21
22#define OSMO_RTP_EXT_TWTS001 0x01
23#define OSMO_RTP_EXT_TWTS002 0x02
24#define OSMO_RTP_EXT_TWTS006 0x04
25#define OSMO_RTP_EXT_TWTS007 0x08