Project

General

Profile

Actions

Feature #6448

closed

Support Themyscira RTP extensions in Osmocom BSS

Added by falconia about 2 months ago. Updated 4 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/08/2024
Due date:
% Done:

100%

Spec Reference:

Description

As discussed in OsmoDevCall 2023-06-21, the industry transition from TDM transport per TS 48.060 & 48.061 to RTP transport in the standard formats of RFC 3551 or TS 101 318 (same format defined in both specs) has brought on a functional regression: there are metadata bits present in 48.060/48.061 UL frame formats that have been dropped in the standard RTP formats. Themyscira Wireless is seeking to recreate the classic GSM architecture in its full glory, but do so under the constraint of economic realities that only allow IP transport between physically distant network elements. In order to implement a network edge transcoder that logically and semantically functions like a classic GSM TRAU (of MSC-colocated variety) despite physically being nothing more than ordinary Unix/Linux processes running on a rented server with only IP connectivity, we had to invent our own non-standard extensions to RTP payload formats for transport within a GSM RAN. TW-TS-001 and TW-TS-002 are formal specifications for Themyscira RTP extensions, corresponding to TS 48.060 and 48.061, respectively:

https://www.freecalypso.org/specs/tw-ts-001-v010100.txt
https://www.freecalypso.org/specs/tw-ts-002-v010100.txt

However, 3GPP TS 48.103 (the spec for AoIP user plane) says indirectly (by referencing 26.102) that RTP payload formats at the AoIP interface shall be those of RFC 3551 (FR & EFR) and RFC 5993 (HR). Therefore, if a given network needs to pass TW-TS-001 & TW-TS-002 payloads instead across that interface, it will be in direct violation of TS 48.103. But what if a given CN implementation really needs these Themyscira RTP extensions? Themyscira government's official answer is an extension to BSSMAP by which the MSC asks the BSS to use the RTP formats in question and thereby deviate from 48.103, codified here:

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

Now bringing this matter to Osmocom: my current vision (as Themyscira HPS of telecom) is that the AoIP interface shall serve as the boundary between Osmocom-controlled and Themyscira-controlled network elements. On the CN side we'll be implementing our own MSC (based on OsmoMSC, but with changes so big that a merge doesn't seem likely), but for the 3 Osmocom BSS sw components (OsmoBSC, OsmoBSC-associated OsmoMGW and OsmoBTS), I am hoping to be able to continue using Osmocom mainline, if we can merge the small changes required for Themyscira RTP extensions.

In order to add support for Themyscira RTP extensions to Osmocom BSS, there will need to be signaling at both AoIP and Abis-IP interfaces negotiating the use of these non-standard extensions, with the requestor at each interface asking for the extension to be used and the respondent acknowledging or failing to acknowledge that request. At the AoIP interface the signaling extension is codified in TW-TS-003, but its counterpart for Abis-IP will need to be defined entirely in Osmocom, given that Abis-IP as it currently exists is inherently an Osmocom-specific interface altogether.

Here are current Gerrit patches implementing the initial parts of this feature proposal, namely signaling interface definitions:

https://gerrit.osmocom.org/c/libosmocore/+/36669
https://gerrit.osmocom.org/c/libosmocore/+/36704
https://gerrit.osmocom.org/c/libosmocore/+/36705
https://gerrit.osmocom.org/c/osmo-bts/+/36706


Checklist

  • add TW-TS-003 definition to libosmocore gsm0808
  • define Osmocom Abis-IP extensions for signaling the use of Themyscira RTP formats
  • implement the necessary support in OsmoBSC
  • implement the necessary support in OsmoBTS
  • get OsmoBTS patch merged
  • get OsmoBSC patch merged

Related issues

Related to OsmoBTS - Feature #6036: Implement ternary SID classification for HR1 uplinkStalledfalconia05/17/2023

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)