osmo-msc/openbsc
Jacob Erlbeck 277b71e0d8 sgsn: Select GGSN based on APN
Currently the APN IE in the Activate PDP Contex Request and the PDP
data that is stored with the subscriber is ignored completely.

This commit adds the sgsn_mm_ctx_find_ggsn_ctx that checks the APN IE
against the subscriber's PDP data entries if both are present. If
there is no match, the request is rejected.

If an APN IE has not been included but PDP data entries are present,
the function checks all of these entries against the static 'apn'
configuration to find a suitable entry.

If an APN has not been determined so far and any APN is allowed, the
configuration is checked with an empty APN string, to allow for
default configurations based on the IMSI prefix only.

If nothing of this succeeded but the request wasn't rejected either,
and there is no 'apn' configuration at all or if any APN is allowed
but a default configuration ist not present, the GGSN with id 0 is
used (if present).

Otherwise the request is rejected ('missing APN').

Ticket: OW#1334
Sponsored-by: On-Waves ehf
2015-02-06 13:00:29 +01:00
..
contrib systemd: use Wants for the dependency btw. osmo-bsc-mgcp and osmo-bsc 2014-11-11 17:59:49 +01:00
doc sgsn/doc: Add message definitions for PURGE_MS responses 2015-01-18 18:29:47 +01:00
include sgsn: Select GGSN based on APN 2015-02-06 13:00:29 +01:00
src sgsn: Select GGSN based on APN 2015-02-06 13:00:29 +01:00
tests sgsn: Select GGSN based on APN 2015-02-06 13:00:29 +01:00
tools
.gitignore misc: Ignore new binaries 2015-01-02 11:43:06 +01:00
AUTHORS
COPYING
Makefile.am Introduced support for external python tests 2013-06-24 13:22:34 +02:00
README
configure.ac meas: Unbreak the build once more 2015-01-10 09:54:30 +01:00
git-version-gen
openbsc.pc.in
osmoappdesc.py hsl: Remove the support for the HSL bts from OpenBSC 2013-07-03 16:19:41 +02:00

README

About OpenBSC
=============

OpenBSC is a minimalistic implementation of the GSM Network, with
particular emphasis on the functionality typically provided by the BSC,
MSC, HLR, VLR and SMSC.

Its currently supported interfaces towards the BTS are:

 * Classic A-bis over E1 using a mISDN based E1 interface. In other
   words, you can connect existing GSM Base Transceiver Station (BTS)
   through E1 to OpenBSC.  So far, we have only tested the Siemens BS-11
   Test reports with other BTS are much appreciated!

 * A-bis over IP as used by the ip.access nanoBTS product family

You can find the project documentation at http://openbsc.gnumonks.org/

This project is still in its early days, and there are lots of areas where it
doesn't behave as per GSM spec.

	Harald Welte <laforge@gnumonks.org>


libosmocore
===========

Please note that as of March 2010, OpenBSC has a dependency to a library
called "libosmocore".  You can obtain that library from

	git://git.osmocom.org/libosmocore.git