OsmoMGW, the Osmocom Media Gateway, is a Media Gateway for handling user plane (voice) traffic in cellular networks.

OsmoMGW supports the IETF MGCP (Media Gateway Control Protocol) for control from Call Agents, such as those present in OsmoBSC and OsmoMSC.

At the moment (August 2022), OsmoMGW implements RTP proxy / RTP bridge type endpoints, to each of which two RTP connections can be established. It also implements RTP / E1 endpoints that allow bridging RTP voice streams to bit synchronous E1 lines. Since each codec uses a specific TRAU format, the codec support is currently limited to GSM-FR and GSM-EFR (16k I.460 subslot).

We are planning to add featurs for
  • classic E1/T1 timeslots (64kBps alaw/ulaw)
  • announcement/playout end-points
  • conference endpoints
  • IuUP/RTP to RTP conversion (3G, 2G interoperability)

OsmoMGW is the generalized version of an earlier much more special-purpsoe implementation called osmo-bsc_mgcp.

Situation in a typical Osmocom cellular network

Use by OsmoBSC with OsmoBTS

Use by OsmoBSC with E1 BTS

Use by OsmoHNBGW

Use by OsmoMSC

Binary Packages

Osmocom provides binary packages for several flavors of Debian and Ubuntu GNU/Linux on a variety of architectures (i586, x86_64, armhf, armv7l). Unless you are a software developer interested in developing on Osmocom, it is recommended you use those packages instead of building from source.

For more details see Binary_Packages

User Manuals

Source code

The source code is available from (module osmo-mgw).

Public read-only access is available via

git clone

You can browse it via gitea:

Contributions are welcome via Gerrit.

Test Suite

We have a TTCN-3 test suite as part of our Titan_TTCN3_Testsuites


Commercial Support

Commercial support as well as development, system integration and training services for this project are available from sysmocom

Files (0)

Updated by dexter over 1 year ago ยท 28 revisions

Add picture from clipboard (Maximum size: 48.8 MB)