Skip to content
Success

Changes

Summary

  1. trau: add AMR TRAU frame interworking facility (details)
Commit 2b22970972bd1e070267bcadea0b19289c173b85 by falcon
trau: add AMR TRAU frame interworking facility

The simplistic design of osmo_trau2rtp() and osmo_rtp2trau() APIs
is not sufficient for the greater complexity encountered in AMR.
Instead let us introduce an interworking facility for AMR frames
that centers around a common intermediate format, with encoding
and decoding functions that convert between this internal
intermediate and 3 types of external interfaces: TRAU/TFO frames,
RTP in 3 possible formats (RFC 4867 BWE, RFC 4867 OA and TRAU-like
TW-TS-006) and speech encoder/decoder engines.

This AMR TRAU frame interworking facility is needed in order to
add AMR support to ThemWi E1 Abis MGW (replacement for the limited
E1 Abis capability in OsmoMGW), and it will also be used in
tw-border-mgw (ThemWi CN sw component) to terminate TW-TS-006 RTP
legs, interfacing to libtwamr speech encoder & decoder and to
in-band TFO per TS 28.062.

Change-Id: I42706c2f68ed29aff1bf451b37e783983f8de3b0
The file was modifiedtests/testsuite.at
The file was modifiedtests/Makefile.am
The file was addedsrc/trau/amr_trau.c
The file was addedsrc/trau/amr_rtp.c
The file was addedtests/amr/trau-amr-16k-oa.ok
The file was addedtests/amr/trau-amr-16k-oax.ok
The file was addedtests/amr/trau-amr-16k-bwe.ok
The file was modifiedsrc/Makefile.am
The file was addedtests/amr/trau2rtp_amr.c
The file was modifiedinclude/Makefile.am
The file was modified.gitignore
The file was addedinclude/osmocom/trau/amr_trau.h
The file was addedtests/amr/trau-amr-16k.in