Project

General

Profile

SGs Interface » History » Version 5

dexter, 10/23/2023 01:04 PM

1 2 laforge
{{>toc}}
2
3 4 laforge
SGs is supported by osmo-msc.
4 2 laforge
5 1 laforge
h1. SGs Interface
6
7
The SGs interface is an optional interface between a 2G (GERAN) / 3G (UTRAN) MSC and an LTE/EPC MME.  It's purpose is to facilitate both CSFB (Circuit-Switched Fall Back) and SMSoS (SMS over SGs). It is used for Mobility management (MM) and paging procedures between the EPS (Evolved Packet Services) and CS (Circuit Switched) domain.
8
9
It's based on the Gs (VLR-SGSN) interface that was added earlier on to facilitate paging coordination between the CS an PS domain in 2G/3G.
10
11
12
h2. CSFB (Circuit Switched Fall Back)
13
14
h2. SMSoS (SMS Over SGs)
15
16
In SMSoS, a LTE-attached UE must not fall back to GERAN/UTRAN for MO and MT SMS.  This is only used if SMS-over-IP (over IMS) is not configured or if the IMS registration fails.
17
18
h3. MO-SMS
19
20 5 dexter
MO-SMS are sent by the UE over E-UTRAN (S1AP UL/DL NAS transport) and the MME and passed over SGs (SGsAP UL/DL UNITDATA) into the MSC. From that point on, they follow normal processing of any other SMS received by that MSC, e.g. over GERAN.
21 1 laforge
22
23
24
h1. Protocol stacking
25
26
The Interface is defined as SGsAP over SCTP over IP, i.e. there is no SCCP/SIGTRAN involved.
27
28
h2. SGsAP Protocol encoding
29
30
The SGsAP protocol is a successor of the BSSAP+ protocol and specified like a classic GSM protocol with a fixed message header and TLV information elements.  There's no abstract syntax or formal definition. 
31
32
h1. Procedures on SGs
33
34
h2. Mobility Management
35
36
h3. Attach Procedure
37
38
The combined EPS/IMSI attach procedure is based on the combined GPRS+IMSI attach procedure specified earlier for Gs
39
40
* There is a special "attach type" that the UE uses when sending the attach message to the MME.  At that point, the UE can also inform the network if it's interested in SMS only or CSFB.  Security procedures + registration in the EPS proceed as normal.
41
* The MME performs a location update request (LAI, IMSI, MME IP, LU type) via SGs to the MSC/VLR
42
* The VLR stores the MME IP address in some internal state and performs a LU procedure in the CS domain towards the HLR
43
* The VLR responds on SGs with LU Accept (TMSI) to the MME
44
* The EPS Attach procedure completes with LAI+TMSI to the US
45
46
h3. Tracking Area / Location Area Update procedure
47
48
* The UE sends a TAU update request to the MME as normal, but indicates combined TA+LA "Update Type"
49
* The MME sends a LU Request (LAI, IMSI, MME, LU Type) via SGs to the VLR. The NEW LAI is derived or allocated in the MME based on the GUTI from the UE.
50
* The VLR performs a LU procedure in the CS domain towards the HLR
51
* The VLR responds on SGs with LU Accept (TMSI) to the MME
52
* The TAU procedure completes with LAI+TMSI to the US
53
54
h3. Periodic Tracking Area / Location Area Update procedure
55
56
* no periodic LU
57
* periodic TA updates are preformed
58
* SGs association to MSC/VLR disables implicit detach(!)
59
60
h2. CSFB
61
62
h3. MO Voice Call
63
64
* under specific circumstances, the UE and eNB + MME will make the UE establish CS connection over GERAN/UTRAN
65
* The UE establishes a channel on GERAN/UTRAN and sends a CM Service Request (only after prior combined LA/TA attach)
66
* CS call establishment like normal in GERAN/UTRAN
67
68
h3. MT Voice Call
69
70
* The MSC receives an incoming voice call for a given subscriber
71
* The MSC/VLR determnines this is for a subscriber that is attached via SGs and sends a CS Paging message (IMSI, VLR, TMSI, Location Info, CLID) to the MME
72
* The MME forwards the message to the UE, either directly (active) or after paging (idle)
73
* ...
74
* The UE establishes a channel on GERAN/UTRAN and sends a Paging Response message
75
* The MSC/VLR stops the paging timer started when starting to page vis SGs and establishes a CS connection like normal
76
77
h2. SMS
78
79
Contrary to CSFB, no CS Fallback is performed.  SMS are sent over NAS messages between UE and MME
80 3 laforge
81
h1. Further Reading
82
83
* "3GPP TS 29.118":https://www.etsi.org/deliver/etsi_ts/129100_129199/129118/15.02.00_60/ts_129118v150200p.pdf - Mobility Management Entity (MME) - Visitor Location Register (VLR) SGs interface specification  
84
* "3GPP TS 23.272":https://www.etsi.org/deliver/etsi_ts/123200_123299/123272/15.00.00_60/ts_123272v150000p.pdf - Circuit Switched (CS) fallback in Evolved Packet System (EPS); Stage 2
Add picture from clipboard (Maximum size: 48.8 MB)