Osmocom Media Gateway (RTP proxy and RTP/E1 gateway) https://osmocom.org/projects/osmo-mgw
Go to file
Philipp Maier 2bfa708527 mgcp_codec: be sensitive about IuFP when checking codecs
When two codecs are checked for convertibility we insist that
subtype_name and rate are equal since normally when those are different,
we assume a completely different codec that will require a transcoder,
which we do not have yet.

However when IuFP is used, the call agent will always negotiate IuFP as
VND.3GPP.IUFP with a rate of 16000, even though the IuFP payloads
contain regular AMR at a rate of 8000.

This means that if we detect IuFP on one side of the call leg and AMR on
the other side of the call leg, we must not insist on equal subtype_name
and rate.

This fixes the following TTCN3 testcases:
MGCP_Test.TC_two_crcx_mdcx_and_iuup_rtp
MGCP_Test.TC_two_crcx_mdcx_and_iuup_rtp_rfci_unordered

Related: OS#5461
Change-Id: I6bc1e6022efe21cb893ef213f3da35017960357d
2023-05-31 09:34:14 +00:00
contrib systemd: depend on networking-online.target 2023-05-26 14:10:46 +02:00
debian copyright: fix typo: sysmocom s/s.m.f.c./s.f.m.c./ GmbH 2023-05-18 17:22:26 +07:00
doc doc/overview: fix wrong project page link 2021-12-25 20:17:09 +01:00
include mgcp_codec: fix codec decision 2023-05-22 11:18:45 +02:00
m4 Drop unneeded ax_check_compile_flag.m4 2022-01-11 17:46:41 +00:00
src mgcp_codec: be sensitive about IuFP when checking codecs 2023-05-31 09:34:14 +00:00
tests mgcp_codec: fix codec decision 2023-05-22 11:18:45 +02:00
.clang-format clang-format: remove foreach macros 2021-11-17 21:20:08 +00:00
.gitignore add vscode stuff to gitignore 2021-09-09 16:04:17 +02:00
.gitreview .gitreview: update repo url to new location 2017-08-08 17:15:31 +02:00
.mailmap add .mailmap file for mapping git author name/mail in shortlog 2016-08-08 17:40:28 +00:00
AUTHORS move openbsc/* to repos root 2017-08-27 17:44:55 +02:00
COPYING move openbsc/* to repos root 2017-08-27 17:44:55 +02:00
Makefile.am manuals: generate vty reference xml at build time 2020-07-11 02:02:50 +00:00
README Remove libosmo-legacy-mgcp and osmo-bsc-mgcp 2018-09-06 20:39:53 +00:00
README.vty-tests update git URLs (git -> https; gitea) 2022-06-18 12:18:10 +02:00
TODO-RELEASE Bump version: 1.10.0.117-22f9c-dirty → 1.11.0 2023-02-07 16:58:42 +01:00
configure.ac Bump version: 1.10.0.117-22f9c-dirty → 1.11.0 2023-02-07 16:58:42 +01:00
git-version-gen git-version-gen: Don't check for .git directory 2018-07-24 18:06:54 +02:00
libosmo-mgcp-client.pc.in separate libosmo-mgcp-client from mgcp server code 2017-09-05 20:56:27 +00:00
osmoappdesc.py osmoappdesc.py: switch to python 3 2019-12-11 09:35:24 +01:00

README

About OsmoMGW
=============

OsmoMGW originated from the OpenBSC project, which started as a minimalistic
all-in-one implementation of the GSM Network. In 2017, OpenBSC had reached
maturity and diversity (including M3UA SIGTRAN and 3G support in the form of
IuCS and IuPS interfaces) that naturally lead to a separation of the all-in-one
approach to fully independent separate programs as in typical GSM networks.

OsmoMGW was one of the parts split off from the old openbsc.git. It originated
as a solution to merely navigate RTP streams through a NAT, but has since
matured to a Media Gateway implementation that is capable of streaming RTP for
2G (AoIP) and 3G (IuCS) GSM networks as well as (still not implemented at time
of writing) transcoding between TRAU, various RTP payloads and IuUP.

The OsmoMGW program exposes an MGCP interface towards clients like OsmoMSC and
OsmoBSC, and receives and sends RTP streams as configured via MGCP.

The libosmo-mgcp-client library exposes utilities used by e.g. OsmoMSC (found
in osmo-msc.git) to instruct OsmoMGW via its MGCP service.

Find OsmoMGW issue tracker and wiki online at
https://osmocom.org/projects/osmo-mgw
https://osmocom.org/projects/osmo-mgw/wiki