aboutsummaryrefslogtreecommitdiffstats
path: root/manuals/OsmoNITB/chapters/overview.adoc
blob: 2db7a42e9b2ffc92b4381a6a63d734a825e1e351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
[[overview]]
== Overview

This manual should help you getting started with OsmoNITB. It will cover
aspects of configuring and running the OsmoNITB.

WARNING:: osmo-nitb is obsolete since 2017. It is not actively maintained,
and it lack several man-years of development effort that went into the
so-called post-NITB stack consisting of separate OsmoBSC, OsmoMSC,
OsmoMGW and OsmoHLR.  You should not use this software except for
archaeological purpose. You will be on your own.  Do not contact the
developers about any issues you may experience while running unsuported,
obsolete software!

[[intro_overview]]
=== About OsmoNITB

OsmoNITB is one particular version of the OpenBSC software suite.
Unlike classic, distributed, hierarchical GSM networks, OsmoNITB
implements all parts of a GSM Network (BSC, MSC, VLR, HLR, AUC, SMSC)
__in the box__, i.e. in one element.

The difference between classic GSM network architecture and the OsmoNITB
based GSM network architecture is illustrated in <<fig-gsm-classic>> and
<<fig-gsm-nitb>>.

[[fig-gsm-classic]]
.Classic GSM network architecture (simplified)
[graphviz]
----
digraph G {
	rankdir=LR;
	MS0 [label="MS"]
	MS1 [label="MS"]
	MS2 [label="MS"]
	MS3 [label="MS"]
	BTS0 [label="BTS"]
	BTS1 [label="BTS"]
	MSC [label="MSC/VLR"]
	HLR [label="HLR/AUC"]
	MS0->BTS0 [label="Um"]
	MS1->BTS0 [label="Um"]
	MS2->BTS1 [label="Um"]
	MS3->BTS1 [label="Um"]
	BTS0->BSC [label="Abis"]
	BTS1->BSC [label="Abis"]
	BSC->MSC [label="A"]
	MSC->HLR [label="C"]
	MSC->EIR [label="F"]
	MSC->SMSC
}
----

[[fig-gsm-nitb]]
.GSM system architecture using OsmoNITB
[graphviz]
----
digraph G {
	rankdir=LR;
	MS0 [label="MS"]
	MS1 [label="MS"]
	MS2 [label="MS"]
	MS3 [label="MS"]
	BTS0 [label="BTS"]
	BTS1 [label="BTS"]
	MS0->BTS0 [label="Um"]
	MS1->BTS0 [label="Um"]
	MS2->BTS1 [label="Um"]
	MS3->BTS1 [label="Um"]
	BTS0->BSC [label="Abis"]
	BTS1->BSC [label="Abis"]
	subgraph cluster_nitb {
		label = "OsmoNITB";
		BSC
		MSC [label="MSC/VLR"]
		HLR [label="HLR/AUC"]
		BSC->MSC [label="A"]
		MSC->HLR [label="C"]
		MSC->EIR [label="F"]
		MSC->SMSC;
	}
}
----


=== Software Components

OsmoNITB contains a variety of different software components, which
we'll quickly describe in this section.

==== A-bis Implementation

OsmoNITB implements the ETSI/3GPP specified A-bis interface, including
_3GPP TS 48.056_ <<3gpp-ts-48-056>> (LAPD), _3GPP TS 48.058_
<<3gpp-ts-48-058>> (RSL) and 3GPP TS 52.021 <<3gpp-ts-52-021>> (OML). In
addition, it supports a variety of vendor-specific extensions and
dialects in order to communicate with BTSs from Siemens, Nokia,
Ericsson, ip.access and sysmocom.

For more information, see <<bts>> and <<bts-examples>>.


==== BSC Implementation

The BSC implementation covers the classic functionality of a GSM Base
Station Controller, i.e.

* configuring and bringing up BTSs with their TRXs and TSs
* implementing the A-bis interface / protocols for signalling and actual
  voice data (TRAU frames).
* processing measurement results from the mobile stations in dedicated
  mode, performing hand-over decision and execution.
* Terminating the _3GPP TS 24.008_ <<3gpp-ts-24-008>> RR (Radio Resource)
  sub-layer from the MS.

For more information, see <<net>>, <<bts>> and <<bts-examples>>.


==== HLR/AUC

A minimalistic implementation of the subscriber database (HLR) and
subscriber secret key storage (AUC).

For more information, see <<hlr>>.


==== SMSC

A minimal store-and-forward server for SMS, supporting both MO and MT
SMS service, as well as multi-part messages.

The built-in SMSC also supports an external SMSC interface.  For more
information, see <<smpp>>.


==== MSC

The MSC component of OsmoNITB implements the mobility management (MM)
functions of the TS 04.08, as well as the optional security related
procedures for cryptographic authentication and encryption.

Furthermore, it can handle TS 04.08 Call Control (CC), either by use of
an internal MNCC handler, or by use of an external MNCC agent.  For more
information see <<mncc>>.


==== TRAU mapper / E1 sub-channel muxer

Unlike classic GSM networks, OsmoNITB does not perform any transcoding.
Rather, a compatible codec is selected for both legs of a call, and
codec frames are passed through transparently.  In order to achieve this
with E1 based BTS, OsmoNITB contains a E1 sub-channel de- and
re-multiplexer as well as a TRAU mapper that can map uplink to downlink
frames and vice versa.


==== RTP proxy

BTS models implementing A-bis over IP don't use classic TRAU frames but
typically transport the voice codec frames as RTP/UDP/IP protocol.
OsmoNITB can either instruct the BTSs to send those voice streams
directly to each other (BTS to BTS without any intermediary), or it can
run an internal RTP proxy for passing frames from one BTS to another.

.RTP flow without RTP proxy mode (default)
[graphviz]
----
digraph G {
	rankdir=LR;

	MS0 [label="MS A"];
	MS1 [label="MS B"];
	BTS0 [label="BTS A"];
	BTS1 [label="BTS B"];
	NITB;

	MS0 -> BTS0;
	MS1 -> BTS1;
	BTS0 -> NITB [label="Abis OML+RSL",dir=both];
	BTS1 -> NITB [label="Abis OML+RSL",dir=both];
	BTS0 -> BTS1 [label="RTP",dir=both]
}
----

.RTP flow with RTP proxy mode
[graphviz]
----
digraph G {
	rankdir=LR;

	MS0 [label="MS A"];
	MS1 [label="MS B"];
	BTS0 [label="BTS A"];
	BTS1 [label="BTS B"];
	NITB;

	MS0 -> BTS0;
	MS1 -> BTS1;
	BTS0 -> NITB [label="Abis OML+RSL",dir=both];
	BTS1 -> NITB [label="Abis OML+RSL",dir=both];
	BTS0 -> NITB [label="RTP",dir=both]
	BTS1 -> NITB [label="RTP",dir=both]
}
----