Osmocom Media Gateway (RTP proxy and RTP/E1 gateway) https://osmocom.org/projects/osmo-mgw
Go to file
Neels Hofmeyr cc0b97e197 clear pending requests on MGCP failure
If an MGCP operation on one conn of an endpoint fails, no longer carry out
other pending requests for that endpoint. Only allow pending DLCX to be sent.

If the caller schedules two CRCX at the same time, the first CRCX is sent with
a wildcarded endpoint name like "rtpbridge/*@mgw". Only when the OK for that
returns an allocated endpoint, will the second CRCX be sent, using that actual
allocated endpoint name. But, if the first CRCX fails, then we should not send
another wildcard CRCX, but rather assume both as failed.

Since a failed MGCP message means that the endpoint becomes unusable /
undefined and typically deallocates directly, we can actually discard all other
pending requests except for DLCX.

Change-Id: Icb1d485224bb486b84eff6329f0bd95932e63246
2019-10-02 22:03:25 +02:00
contrib contrib/jenkins.sh: run "make maintainer-clean" 2019-07-10 13:29:36 +02:00
debian Bump version: 1.5.0.84-a2d10-dirty → 1.6.0 2019-08-07 16:52:59 +02:00
doc doc: Add Osmux documentation to OsmoMGW User Manual 2019-07-24 19:32:56 +00:00
include mgcp_codec: constify 'param' arg 2019-08-09 02:28:37 +02:00
m4 move openbsc/* to repos root 2017-08-27 17:44:55 +02:00
src clear pending requests on MGCP failure 2019-10-02 22:03:25 +02:00
tests mgcp_test: Correctly release all endpoints allocated 2019-09-19 17:43:21 +02:00
.gitignore update .gitignore 2019-05-08 22:15:27 +00: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 Fix DISTCHECK_CONFIGURE_FLAGS override 2018-12-04 15:36:37 +01:00
README Remove libosmo-legacy-mgcp and osmo-bsc-mgcp 2018-09-06 20:39:53 +00:00
README.vty-tests move openbsc/* to repos root 2017-08-27 17:44:55 +02:00
TODO-RELEASE Bump version: 1.5.0.84-a2d10-dirty → 1.6.0 2019-08-07 16:52:59 +02:00
configure.ac configure.ac: Require libosmo-netif 0.6.0 2019-08-07 16:42:28 +02: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 Remove libosmo-legacy-mgcp and osmo-bsc-mgcp 2018-09-06 20:39:53 +00: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