SS7
SS7
SS7
Aniruddha Tewari
Pre-requisites
Contents
Introduction to SS7
Fundamental uses
Types of Signalling
SS7 Network Signaling Components
SS7 Messaging
SS7 protocol MTP 1
Contents
SS7 protocol MTP Layer 2
Signalling Units
FISU
LSSU
MSU
Structure
Flow control
Error Detection
Link Alignment
MTP Layer 3
Link sets
SIF
SIO
Roamware Proprietary and Confidential
Contents
SCCP
Global Title
Structure of the Global Title
Global Title Translation
Routing Structure
Global Title Analysis
Global Title Modification
Exercises
References
Roamware Proprietary and Confidential
Introduction
Introduction
Fundamental uses
The SS7 network and protocol are used for:
basic call setup, management, and tear down
wireless services such as personal communications
services (PCS) and mobile subscriber authentication
local number portability (LNP)
toll-free (800/888) and toll (900) wireline services
enhanced call features such as call forwarding, calling
party name/number display, and three-way calling
efficient and secure worldwide telecommunications
Roamware Proprietary and Confidential
Types of Signalling
Types of Signalling
Common Channel Signalling (CCS) (aka out-of-band signaling)
concentrates the signalling information in a single dedicated
channel, such that all of the signalling information for many voice
channels in a telephony system can be conveyed over a single
channel dedicated to signalling.
Signalling System Number 7 (SS7, C7, No 7) is an example of a
common channel signalling system, defined for use in public
switched networks where large numbers of circuits are switched
between subscribers.
SS7 is a global standard used throughout the world within
networks and on international interconnects.
10
Signaling Points
11
Abbreviation
Name
SSP
STP
SCP
Symbol
12
SS7 Elements
13
14
The SSP uses the calling party information (dialed digits) to determine how
to route the call. It looks up the dialed digits in the SSP routing table to find
the corresponding trunk circuit and terminating exchange.
The SSP then sends an SS7 message out to the adjacent exchange
requesting a circuit connection on the trunk which was specified in the
routing table.
15
16
17
18
SS7 Elements
19
SS7 Messaging
20
SS7 Messaging
21
Y
A
A
22
4. A begins signaling
to set up call to
number associated
with 800 number
X
A
A
23
24
25
26
MTP Layer 1
27
MTP layer 2
The next level, MTP Level 2, ensures that messages are
transmitted accurately end-to-end across a signaling link.
This level performs handshaking with the network, ensuring
that there is reliable exchange of information between two
signaling points by error control, flow control, message sequence
validation and other link control activities.
When an error occurs on a signaling link, the message (or set of
messages) is retransmitted. MTP Level 2 is equivalent to the OSI
Data Link Layer.
28
Singalling Units
29
30
31
32
MSU
33
MSU
34
35
36
Spare - From the drawing you can see that the spare is
simply a two bit field.
Its only purpose, generally, is to keep the entire signal unit
to an even number of octets. Each field which is not an
octet (FSN, BSN) has its counterpart which brings the
number to eight (FIB, BIB).
The spare becomes the counterpart for the six bit Length
Indicator.
SIF and SIO are explained as part of MTP3 layer.
37
38
SU Error Detection
The check bit field and the sequence number of the signal
unit are used to detect errors.
Seven-bit sequence numbering is used. The forward
sequence number (FSN) is incremented by one after every
transmission. The backward sequence number (BSN) is
used to acknowledge received signal units.
The transmitting signal point keeps all transmitted signal
units in a buffer until acknowledged. Once the BSN is
received, all acknowledged signal units are dropped from
the buffer.
Unacknowledged signal units stay in the buffer until a timer
expires, causing a link failure indication to be sent to Level
3. The link is then tested and aligned.
39
Link Alignment
40
MTP Layer 3
MTP 3 is the heart of the SS7 protocol, deciding how to route a
message to its proper destination.
In addition to providing the most efficient message routing
between signaling points in the SS7 network, MTP 3 reroutes
traffic away from failed links and signaling points and controls
traffic when congestion occurs.
Routing tables prioritize routes based on the most direct path to a
destination point code.
Layer 3 provides the message routing and failure handling
capabilities for the message transport.
Each signaling point in an SS7 network is assigned a unique
address called a point code.
41
42
MTP Layer 3
43
MTP Layer 3
Link sets
Individual links between STPs and adjacent nodes in a
network are organized into logical groupings called link
sets.
Link sets can be configured as combined link sets to
accommodate additional messaging throughput.
Load sharing allows signal transmissions to be alternated
and shared equally across all the links in a combined link
set.
44
MTP Layer 3
45
Parts of SIF
Roamware Proprietary and Confidential
46
47
48
MTP Layer 3
MTP3 provides a reliable message transport service to the
higher layer protocols, which use MTP as a message
transport service, hence their generic name, User Parts.
In order to deliver a received message to the correct user
part, MTP3 examines the Service Indicator (SI) which forms
part of the Service Information Octet (SIO) in the received
message, as shown in the next slide.
49
MTP Layer 3
50
51
MTP Layer 3
52
SCCP
SCCP provides additional routing and management functions
above MTP 3, for message routing through an entire network.
SCCP provides connectionless and connection-oriented network
services and determines the network address by performing a
global title translation and relaying the translated address to the
MTP.
The Signalling Connection Control Part (SCCP) enhances the
routing and addressing capabilities of MTP to enable the
addressing of individual processing components or sub-systems at
each signalling point.
Basic SCCP addressing routes messages through the network
using a sub-system number and point code to identify a
destination. Each sub-system could be a number translation
database; an SS7 point code can potentially have many subsystems attached.
53
SCCP
The signaling connection control part (SCCP) provides two major
functions that are lacking in the MTP. The first of these is the capability
to address applications within a signaling point.
The MTP can only receive and deliver messages from a node as a
whole; it does not deal with software applications within a node.
While MTP network-management messages and basic call-setup
messages are addressed to a node as a whole, other messages are
used by separate applications (referred to as subsystems) within a
node.
Examples of subsystems are 800 call processing, calling-card
processing, advanced intelligent network (AIN), and custom local-area
signaling service (CLASS) services (e.g., repeat dialing).
The SCCP allows these subsystems to be addressed explicitly.
The second function is described after Global Title.
Roamware Proprietary and Confidential
54
Global Title
A Global Title (GT) is an address used in the SCCP protocol for
routing signalling messages.
The name Global Title derives from the idea that in most
instances this is a globally unique address which can refer to
only one destination system.
In this, the Global Title is rather similar to a public IP address.
In many other aspects, the Global Title is quite different:
the structure is often strictly hierarchical;
the Global Title is of variable length;
the Global Title is not just numeric, but includes several
attributes which vary its interpretation.
Apart from their other attributes, global titles are often similar
to telephone numbers although this is not always true.
55
56
Type of Number
The Type of Number (TON) parameter, which is used in
E.164 numbers, for example, has values such as
International, National or Subscriber.
International numbers have a clearly defined meaning
everywhere in the world and include the country code of
the system they address.
National and subscriber can be seen as equivalent to site
local and link local addresses in IP.
57
58
59
60
Routing Structure
The most commonly used numbering plans for global title
routing are E.164 and E.214 (although E.212 is also common
in America).
These simply look like telephone numbers. That is to say, in
the most common, international, variant there is a Country
Code at the start of the number and a Network Code
immediately following the Country Code.
Beyond that is the subscriber number or mobile subscriber
identity number, though even that may divided into sections.
This structure allows for the use of hierarchical routing.
international SCCP gateways know which systems handle
each of the other countries
the international SCCP gateway belonging to each country
knows which SCCP gateways handle each network
the SCCP gateway of each network knows the networks
own internal structure
61
62
63
Exercises
Package
64
References
Login to FTP site
ftp://ftp.roamware.com/TSG_Library/Training/Training%20Ma
terial/GSM-SS7/
and go through the following e-books.
65
Thank you
Thank you!
66