90
Today ‘s Topic SS7 - So Simple --- If not

1-Manthri SS7

Embed Size (px)

Citation preview

Page 1: 1-Manthri SS7

Today ‘s Topic

SS7 - So Simple --- If not

Page 2: 1-Manthri SS7

Make it Simple

Means

Overview On SS7

Page 3: 1-Manthri SS7

Signaling

Page 4: 1-Manthri SS7

What is Signaling in Telecom networks?

User A: Tells the network he wants to talk to User B.Network signaling: Sets up the call and Charges the right amount.

User

User

User User B User

User

User A Telephone Network

Page 5: 1-Manthri SS7

Access Signaling

ON/Off hook Tones Dial pulses/DTMF tones

Telephone Exchange

Page 6: 1-Manthri SS7

Trunk Signaling

Telephone Exchange

Telephone Exchange

Seizing

Seizing acknowledged

B number

Conversation

Release

Release complete

Page 7: 1-Manthri SS7

Signaling System 7

Page 8: 1-Manthri SS7

Q.700 Introduction to CCITT Signaling No.7 Q.701- Q.709Message transfer part MTP Q.710 Simplified message transfer part Q.711-Q.716 Signaling connection control part SCCP Q.721-Q.725 Telephone user part TUP Q.730 ISDN supplementary services Q.741 Data user part DUP Q.761-Q766 Integrated services digital network ISUP Q.771-Q.775 Transaction Capabilities Application Part TCAP Q.780-Q.783 Test specification Q.791 Monitoring and measurements Q.795 Operation,Maintenance and Administration part

OMAP

Signaling System no. 7 recommendations

Page 9: 1-Manthri SS7

SS7 History

1980: CCITT Yellow Book MTP - TUP1984: SS7 in operation in Denmark1984: CCITT Red Book SCCP - ISUP1984: Bellcore: Intelligent Network1985: SS7 in operation in Sweden and UK1986: SS7 in operation in Australia and France1988: CCITT Blue Book TCAP - ISUP1989: SS7 in operation in Italy1992: CCITT White Book Q.767 - test & surveillance - performance

Page 10: 1-Manthri SS7

Reduced call set-up time

Enhanced call control

Less signaling equipment ~ cost effective

Requirement for ISDN (call setup time < 100 ms)

Requirement for GSM Mobile Telephone

(register updates)

Why SS7 ??

CAS SS7max 2 kbit/s max 64 kbit/s

Page 11: 1-Manthri SS7

Telephone

Integrated Services Digital Network (ISDN)

Mobile Cellular Radio (GSM, NADC)

Billing Services (ABS)

Custom Local Area Switching Service (CLASS)

Private Virtual Network (PVN)

Services to be provided by SS7

Page 12: 1-Manthri SS7

SS7 Network

Page 13: 1-Manthri SS7

Typical SS7 Network

Traffic circuits

STP STP

STP STP

SCP

PC = 248-132-1

PC = 248-132-2

PC = 248-132-3

PC = 248-43-0

PC = 248-43-1

PC = 248-43-2

PC = 248-43-3

Endoffice

Endoffice

SSP SSP

Data base

Page 14: 1-Manthri SS7

Signaling Points - types

Service Switching Point (SSP) :

provides the functionality of communicating with the voice switch and creating the messages or signal units needed for transmission in SS7 network.

Signal Transfer Point (STP) :

serves as router in the SS7 network. It switches the SS7 messages as received from various SSPs through the network to their appropriate destinations.

Service Control Point.(SCP) :

serves as an interface to telephone company databases. These databases store information about subscribers services, calling card validation and fraud protection.

Page 15: 1-Manthri SS7

Linksets and Loadsharing

Linkset

Link

1

2

3

n

STP

max = 16

SSP

Page 16: 1-Manthri SS7

signaling System No 7 (SS7)

Flag

Flag

SS7 Message

essage

SS7 M

Page 17: 1-Manthri SS7

SS7 Protocol Stack

Physical

Signaling Link

Network

SCCP

TCAP

ISUP

TUP

MTP

Level 1

Level 2

Level 3

Level 4

Layer 1

Layer 2

Layer 3

Layer 4,5,6

Layer 7

OSI Model SS7 LevelMAP

OMAPINAP

Page 18: 1-Manthri SS7

Signaling System Number 7

Physical Level

Page 19: 1-Manthri SS7

Standard Interfaces: 2.048 Mb/s (CCITT G.703/704)1.544 Mb/s (DS-1)V.35, DS-0, DS-0ADatacom RS-232, RS-449

Data Rate: usually 56 or 64 kb/s but down to 4.8 kb/s for some interfaces.

Error Performance : 1 x 10-6

MTP Level 1 (Physical Layer)

Page 20: 1-Manthri SS7

Signaling System Number 7

The Signaling Link

Page 21: 1-Manthri SS7

SS#7 Signaling Link Functions

LINK STATE CONTROL

TRANSMITFUNCTIONS

RECEIVEFUNCTIONS

FLOWCONTROL

DELIMITING, ALIGNMENT AND ERROR DETECTION

FRAMES

MESSAGES MESSAGES

LINKSTATUS

BITS

FRAMES

LEVEL 1

LEVEL 3

Page 22: 1-Manthri SS7

FLAG CK FLAG Information

01111110 0111111016bit N x 8 bit

Basic Frame

DELIMITING, ALIGNMENT AND ERROR DETECTION

Page 23: 1-Manthri SS7

From frames to bits and back

CK INF

INF

INFCK

F INFCK F

CHECKSUMCOMPUTATION

ZEROINSERTION

FLAGADDING

CHECKSUMVERIFICATION

ZEROREMOVAL

FLAGREMOVAL

Page 24: 1-Manthri SS7

Zero Bit Insertion Technique

FLAG = 01111110

DATA TO BE SENT:0011111110101111000011111010INSERTED ZEROS AFTER FIVE ONES

TRANSMITTED DATA:001111101101011110000111110010INSERTED ZEROS REMOVED

DATA AS DELIVIRED:0011111110101111000011111010

Transmission direction

Page 25: 1-Manthri SS7

Basic Signal Unit (Frame)

FBSNBIB

FSNFIB

INFORMATIONF CK

8717162N x 8168

Span of frame check and zero insertion

First bit transmitted

Page 26: 1-Manthri SS7

FSN - Forward Sequence Number

7 bit field

Modulus 127

FSN is a tag on each frame

Used to detect discarded frames

Incremented for each new frame

Page 27: 1-Manthri SS7

BSN - Backward Sequence Number

7 bit field

Modulus 127

Used to acknowledge frames

Used to request retransmissions

Page 28: 1-Manthri SS7

Acknowledge

FSN = 1

FSN = 0

FSN = 2

BSN = 2

FSN = 3

FSN = 4

BSN = 4

Page 29: 1-Manthri SS7

Retransmit

FSN = 81

FSN = 80

FSN = 82

BSN = 81

FSN = 82

FSN = 83

FSN = 83

Page 30: 1-Manthri SS7

One bit field

Used to detect requests for retransmissions

Toggled for every request for retransmission

BIB -Backward Indicator Bit

Page 31: 1-Manthri SS7

One bit field Used to detect new frames from retransmitted frames Toggles for every retransmitted frame

FIB -Forward Indicator Bit

Page 32: 1-Manthri SS7

Flag

SP SP

Error correction and re-transmission

Inform Fib=0 Fsn=1CK Bib=0 Bsn=0 Flag

Flag

Flag

Flag

Flag

Flag

Flag

Flag

Flag

Flag

CK

CK

CK

CK

CK

CK

CK

CK

CK

Inform

Inform

Inform

Inform

Inform

Inform

Inform

Inform

Inform

Fib=1

Fib=0

Fib=0

Fib=0

Fib=0

Fib=0

Fib=0

Fib=0

Fib=0

Fsn=7

Fsn=2

Fsn=7

Fsn=6

Fsn=5

Fsn=1

Fsn=4

Fsn=3

Fsn=2 Bib=0

Bib=0

Bib=1

Bib=0

Bib=0

Bib=0

Bib=0

Bib=0

Bib=0

Bsn=2

Bsn=6

Bsn=1

Bsn=1

Bsn=1

Bsn=4

Bsn=0

Bsn=0

Bsn=0

Flag

Flag

Flag

Flag

Flag

Flag

Flag

Flag

Flag

Page 33: 1-Manthri SS7

Error Monitoring

ERROR

DOWNGOOD

UP

COUNTER

ALARM

/ 256

Page 34: 1-Manthri SS7

Signalining Units

Page 35: 1-Manthri SS7

Signal Unit TYPES

F CK SIF SIO LI FSNBIB

BSN FMSU

LSSU

FISU

F CK SF LI FSNBIB

BSN F

F CK LI FSNBIB

BSN F

FIB

FIB

FIB

Page 36: 1-Manthri SS7

Length Indicator

F CK SIF SIO LI FSNBIB

BSN FFIB

6 bit field

Tell about number of bytes remaining in message

Message length less than 62 bytes field value is valid.

Message length more than 63 bytes field value is always 63.

Page 37: 1-Manthri SS7

LI = 0 Then it is a FISU

LI = 1 OR 2 it is LSSU

LI = MORE THAN 2 it is MSUThe Next Field is 2 bits which is Spare

LI - Length Indicator

Page 38: 1-Manthri SS7

Fill In Signal Unit

Page 39: 1-Manthri SS7

Fill In Signal Unit

FISU F CK LI FSNBIB

BSN FFIB

Short message (only 7 bytes including flags)

FSN & BSN not incremented as a rule

Transmitted when nothing else to transmit

Page 40: 1-Manthri SS7

Link Status Signal Unit

Page 41: 1-Manthri SS7

Message with 8 or 9 Bytes including flags

Transmitted when Alignment is required between the Links

and to pass the information About Status of the Link.

LSSU -Link Status Signal Unit

F CK SF LI FSNBIB

BSN FFIB

SF Carries Status of Link

Page 42: 1-Manthri SS7

LSSU -- LINK STATUS SIGNAL UNIT

F CK SF LI FSNBIB

BSN FFIB

ABCSPARE

C B A Indication0 0 0 Status "O" - Out of Alignment ---- SIO0 0 1 Status "N" - Normal Alignment --- SIN0 1 0 Status "E" - Emergency Alignment -- SIE0 1 1 Status "OS" - Out of Service -- SOS1 0 0 Status "PO" - Processor Outage -- SPO1 0 1 Status "B" - Busy ----------------- SIB

Page 43: 1-Manthri SS7

Alignment of a NEW Signaling Link

Page 44: 1-Manthri SS7

LSSU SIO

SP SP

LSSU SIO or SIN

LSSU SIN

LSSU SIN

LSSU SIN

LSSU SIN

Start

Aligned

Proving

8.2 sec

Aligned andready

Alignment

Page 45: 1-Manthri SS7

Message Signal Unit

Page 46: 1-Manthri SS7

F SIO FIB FSN BIB BSN CK FSIF LI>2Label

Management information SLC OPC DPCMTP L3messages

Signaling informationCircuit ID Code

OPC DPCTUPmessages SLS

Signaling information CIC OPC DPCISUPmessages SLS

SCCP User Data OPC DPCSCCPmessages SLS

MSU -- Message Signal UnitTypes

Page 47: 1-Manthri SS7

Transmit Priorities

LSSU - Line Status Signal Unit MSU - Message Signal Unit FISU - Fill In Signal Unit

! Line is always active.

Page 48: 1-Manthri SS7

Signaling System Number 7

Network Level

Page 49: 1-Manthri SS7

MTP Level 3 (Network Layer Functions)Message Handling

distribution

discrimination

routing

Network Management

–traffic management–route management–link management

Level 4

Level 2

Page 50: 1-Manthri SS7

F SIO FIB FSN BIB BSN CK FSIF LI>2Label

Management information SLC OPC DPCMTP L3messages

MSU -- Message Signal Unit MTP Layer 3

• Signaling NW Management Messages ---- SNM

• Signaling NW Testing Messages --- SNT

TYPES

Page 51: 1-Manthri SS7

F SIO FIB FSN BIB BSN CK FSIF LI>2Label

D C B A D C B ASub-service

FieldService

indicator

Indication D C B A

Signaling NW management messages - SNM

Signaling NW testing messages - SNT

0 0 0 0

0 0 0 1

Service Information Octet

Service indicator :

Sub Service FieldCD AB

SpareInternational Network Spare

National Network

Reserved For National Use

00

01

10

11

Page 52: 1-Manthri SS7

Signaling Network Management --SNM

Page 53: 1-Manthri SS7

Signaling Network Management -- Functions

Link Management

Traffic Management

Route Management

F SIO FIB FSN BIB BSN CK FSIF LI>2

NW Management information H1 H0 Routing Label

4 4

Page 54: 1-Manthri SS7

SNM Message Format

SIO

SSXX0000

LABEL

DPC

14

OPC

14

SLC

4

HEADINGCODE

8

Signaling Network Management Message

N X 8

Message group and type

Signaling link code

Standard routing point codes

Network id

Signaling Network Management

Page 55: 1-Manthri SS7

Heading Codes(8 -bits)

Page 56: 1-Manthri SS7

Heading Code Formatting

4-BITMESSAGEGROUP

INDICATOR

4-BITMESSAGE

TYPEINDICATOR

D C B AD C B A

H1 H0

Page 57: 1-Manthri SS7

• Changeover and changeback messages (CHM)

• Emergency-changeover message (ECM)

• Signaling-traffic-flow-control messages (FCM)

• Transfer-prohibited / allowed / restricted messages (TFM)

• Signaling-route-set-test messages (RSM)

• Management inhibit messages (MIM)

• Traffic-restart-allowed message (TRM)

• Signaling-data-link-connection-order message (DLM)

• User part flow control messages (UFC)

Signaling Network Management - messages Group Indicators --- (H0)

Page 58: 1-Manthri SS7

•Changeover-order signal (COO)

•Changeover-acknowledgement signal (COA)

•Changeback-declaration signal (CBD)

•Changeback acknowledgement signal (CBA)

1. Changeover and changeback messages H00001

Message Type Indicator H1

Page 59: 1-Manthri SS7

•Emergency changeover order signal (ECO)

•Emergency changeover acknowledgement signal (ECA)

2. Emergency-changeover message (ECM):

Message Type Indicator H1

H00010

Page 60: 1-Manthri SS7

•Transfer controlled message (TFC)

•signaling-route-set-congestion-test signal (RCT)

3. Signaling-traffic-flow-control Messages (FCM):

Message Type Indicator H1

H00011

Page 61: 1-Manthri SS7

•Transfer prohibited signal (TFP)

•Transfer restricted signal (TFR)

•Transfer allowed signal (TFA)

4. Transfer-prohibited / allowed / restricted messages:

Message Type Indicator H1

H00100

Page 62: 1-Manthri SS7

•Signaling route set test signal for prohibited destination (RST)

•Signaling route set test signal for restricted destination (RSR)

5. Signaling-route-set-test messages (RSM)

H00101

Message Type Indicator H1

Page 63: 1-Manthri SS7

•Link inhibit signal (LIN) •Link uninhibited signal (LUN) •Link inhibit acknowledgement signal (LIA) •Link uninhibited acknowledgement signal (LUA) •Link inhibit denied signal (LID) •Link forced uninhibited signal (LFU) •Link local inhibit test signal (LLT) •Link remote inhibit test signal (LRT)

6. Management inhibit messages (MIM):H00110

Message Type Indicator H1

Page 64: 1-Manthri SS7

•Traffic-restart-allowed message (TRM):

•Transfer restart allowed signal (TRA)

7. Traffic-restart-allowed message

Message Type Indicator H1

H00111

Page 65: 1-Manthri SS7

•Signaling-data-link-connection-order signal (DLC)

•Connection-successful signal (CSS)

•Connection-not-successful signal (CNS)

•Connection-not-possible signal (CNP)

8. Signaling-data-link-connection-order message (DLM)

Message Type Indicator H1

H01000

Page 66: 1-Manthri SS7

•User part unavailable (UPU)

9. User part flow control messages (UFC):

Message Type Indicator H1

H01010

Page 67: 1-Manthri SS7

Signaling Network Testing ---- SNT

Page 68: 1-Manthri SS7

SNT Message Format

SIO

SSXX0001

LABEL

DPC

14

OPC

14

SLC

4

HEADINGCODE

8

Message group and type

Signallng link code

Standard routing point codes

Network id

Signaling Network Testing

Spare

4

Length indicator

4

Test pattern

n x 8

Page 69: 1-Manthri SS7

D C B A Meaning

0 0 0 1 (SLTM) signaling link test message 0 0 1 0 (SLTA) signaling link test acknowledgement

message

Signaling Network Testing ----- H0

H1

Page 70: 1-Manthri SS7

Test sequence

A B

A5A5A5A5A5A5A5 SLTM

SLTA A5A5A5A5A5A5A5

Page 71: 1-Manthri SS7

Network Layer -Examples

Page 72: 1-Manthri SS7

Change over

BA

A

COOTFP

COO

Concerned SP Affected SP

B

COO

TFP

TFP

Page 73: 1-Manthri SS7

A

B

C

D

E

F

CBD

CBD

TFA

TFA

A

B

C

D

E

F

CBA

Change back

TFA

Page 74: 1-Manthri SS7

Application Layer

ISDN User Part (ISUP)

Page 75: 1-Manthri SS7

CCITT Recommendations

Q.761 Functional description of the ISDN user part

Q.762 General function of messages and signals

Q.763 Formats and codes

Q.764 Signaling procedures

Q.766 Performance objectives in the ISDN application

Page 76: 1-Manthri SS7

Telephone signaling

Calling party identification

Called party identification

Call redirection

Connect when free

Complete when busy

Malicious call identification

Closed user groups

ISDN User Part - Services

Page 77: 1-Manthri SS7

F SIO FIB FSN BSN CK FSIF LI>2Label

Signaling information CIC OPC DPCISUPmessages SLS

Format of ISUP message

BIB

Signaling information H1 HO

Page 78: 1-Manthri SS7

ISDN UP Messages

Groups -- H0 Messages- H1

Forward set-up

General set-up

Backward set-up

Call supervision

Circuit group supervision

Circuit supervision

In-call modification

End-to-end

IAM, SAM

INR, INF, COT

ACM, CON CPG

ANM, FOT, REL

DRS, RLC, CCR, RSC, LPA, BLO, UBL, UCIC,

BLA, UBA, OLM, SUS, RES, CFN

CGB, CGU, CGBA, CGUA, GRS, GRA, COR

CMR, CMC, CMPJ, FAA, FAR, FJR

PAM, USR

Page 79: 1-Manthri SS7

ISUP Message Types

ACM Address complete ANM Answer BLO BlockingBLA Blocking acknowledgementCMC Call modification completedCMRJ Call modification rejectCPG Call progressCRG Circuit group blockingCCB Circuit group blocking ack.CGBA Circuit group queryGRS Circuit group query responseGRA Circuit group resetCGUA Circuit group reset ack.CGU Circuit group unblockingCQM Circuit group unblocking ack.CQR Charge information

Message type Code

0000 01100000 10010001 00110001 01010001 11010001 11000001 11100010 11000001 10000001 10100010 10100001 01110010 10010001 10010001 10110011 0001

Page 80: 1-Manthri SS7

ISUP Message Types cont.

CFN Confusion CON Connect COT ContinuityCCR Continuity check requestDRS Delayed releaseFAA Facility acceptedFRJ Facility rejectFAR Facility requestFOT Forward transfer.INF InformationINR Informatin requestIAM Initial addressLPA Loop back acknowledgementOLM OverloadPAM Pass-along.

Message type Code

0010 11110000 01110000 01010001 00010010 01110010 00000010 00010001 11110000 10000000 01000000 00110000 00010010 01000011 00000010 1000

Page 81: 1-Manthri SS7

ISUP Message Types cont.

REL Release RLC Release completeRSC Reset circuitRES ResumeSAM Subsequent addressSUS SuspendUBL UnblockingUBA Unblocking acknowledgementUCIC Unequipped CIC.USR User to user information

Message type Code

0000 11000001 00000001 00100000 11100000 00100000 11010001 01000001 01100010 11100010 1101

Page 82: 1-Manthri SS7

ISDN successful call

C

STP

B

SP

A

SP

Set-up IAM IAM

ACM ACM

Alerting

ANMANM

ConnectConnect

Alertin

g

Set-up

Page 83: 1-Manthri SS7

ISDN call release

C

STP

B

SP

A

SP

Disconnect

RELREL

RLC RLCRelease

Disconnect

Page 84: 1-Manthri SS7

SS7 Protocol Stack

Physical

Signaling Link

Network

SCCP

TCAP

ISUP

TUP

MTP

Level 1

Level 2

Level 3

Level 4

Layer 1

Layer 2

Layer 3

Layer 4,5,6

Layer 7

OSI Model SS7 LevelMAP

OMAPINAP

Page 85: 1-Manthri SS7

SCCP

Provides setup of logical signaling

connections

Provides release of logical signaling

connections

Provides transfer of data

Page 86: 1-Manthri SS7

TCAP

Purpose:

Support of real-time sensitive information transfer in a distributed environment.

Page 87: 1-Manthri SS7

Intelligent Networks ----- SS7

LX

IP

SSPLX

SSPTX

SCP SDP

SMSSCESCE - Service Creation EnvironmentSMS - Service Management SystemSCP - Service Control PointSDP - Service Data Point (Database)IP - Intelligent PeripheralSSP - Service Switching PointSTP - Signaling Transfer PointTX - Transit ExchangeLX - Local Exchange

SpeechSignalingProprietary

STP

Page 88: 1-Manthri SS7

IN Protocols ----- 800 Service ------ SS7

MTPMTP

SSP STP

SCCP

TCAP

INAP

SCCP

TCAP

INAP

MTP

800

800+TCAP

800+TCAP+SCCP

SCCP FRAME SCCP FRAME SCCP FRAME

SCP

Page 89: 1-Manthri SS7

800 Call Setup

LX

STP STP

LX

SCP

BobBob

Jim’s Jim’s AutoAuto parts parts 800-800-555555-1234-1234

Voice Path

TCAP

Quer

y

TCAP

Quer

y

Res

pons

e

Res

pons

e

Res

pons

e

Res

pons

eIAM

IAM IAM

Page 90: 1-Manthri SS7

THANK YOU