Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
Basic Introduction to SS7 Moshe Haviv  September 2009 [email_address]
Contents Signalling and methodology  Introduction to SS7 SS7 protocol stack
Signalling and methodology Two basic approaches: Channel Associated Signalling- CAS Signalling and voice/media take the same path/Time slot Robbed bit/Wink MFCR2/TS16 Multiframe Common Channel Signalling- CCS Q.921/Q.931
Introduction to SS7 Network wide CCS for PSTN SS7 Defines the elements and procedures for  User Identification Routing  Billing Setting up/disconnect calls Manage Calls
Basic SS7 properties A private network consisting well defined Network Elements and links Network Elements are called Signalling Point (SP) Each SP is identified with a unique address-Point Code (PC) Various types of SPs and Links are defined Basis for Intelligent Networking (IN)
Out of Band Signalling (CCS) High Signalling data rates- 56KBPS/64KBPS and higher Packet Switching Connectionless, bursty and short duration messages Reliable and Flexible Basic SS7 properties (Contd.)
SS7 Features Flow Control Error detection and retransmission capability Controls for congestion control Peer entity status detection Security mechanisms
A General SS7-PSTN-IP network
And now an SS7 network- Standalone
SSP  –  Service Switching Point It is basically a switch with SS7 interfaces Class 5 - Local Exchange Class 4 - Tandem switch Determines how to setup, manage and terminate a call Based on dialled numbers, sets up SS7 messages Sends messages using ISUP  - ISDN User Part TCAP - Transaction Capabilities Application Program
SSP  Call setup scenarios Call originating and terminating on the same switch (SSP) No SS7 signalling required Call targeting a known SSP The SSP routes the call with the help of its routing tables  using ISUP messages Call destined to an unknown SSP The Global Title (dialled number) is either an 800 number or ported one The SSP gives the address of the next hop SSP The IAM message is sent to that SSP with the help of STP(s)
STP  – Signalling Transfer Point Router/switch/Gateway of the SS7 Network They are normally paired for reliability Routes messages based on destination Point Codes on the message header For cases where the local SSP does not know the destination GT it must provide GT translation Can provide multiple Signalling routes to destination
SCP  – Service Control Point Provides Application access such as to a data base An SCP communicates with applications using primitives The protocol to use and access a data base is called TCAP SCP may consist of various Sub Systems each with its own SSN (Sub system Number )
SS7 Protocol Stack
SS7 transported over other networks
Addressing in SS7 Point Code (PC)   is the Basic Addressing units for each SP.  It should be unique throughout the network.  Two major versions: ITU Basic - A number in the range of  0- 16383 International- 14 bits [3-8-3] [Zone: 0-7]- [Area: 0-255]-[Point: 0-7] ANSI 24 bits [8-8-8 bits] [Network ID]-[Cluster ID]-[Network Cluster Member]
Addressing in SS7 (Contd.) Addressing in SS7 makes use of three distinct elements Point Code  – PC Sub-System Number  -  SSN Global Title  -  GT The Global Title (GT) may comprise of dialed digits or another form of address that is not recognized in the SS7 network. It is basically an alias for (PC + SSN)
GT Usage example
SS7 Protocol Stack elements ISUP TCAP MTP-L1 MTP-L2 MTP-L3
ISUP Most widely used part of SS7- ITU Q.764 Protocol to establish/tear down connections It defines two types of services Basic Services-  To establish tear down connections Supplementary Services-  To maintain connections
ISUP   Elements in detail
Basic ISUP messages IAM  – Initial Address Message SAM-  Subsequent Address Message ACM  – Address Complete Message CPG  – Call Progress Message ANM  – Answer Message REL  - Release Message RLC  - Release Complete Message
A basic ISUP call scenario
ISUP-ISUP Successful call trace
ISUP-ISUP Successful Call trace
 
 
 
ISUP messages list 05 00000101 Continuity 07 00000111 Connect 2F 00101111 Confusion 31 00110001 Charge information  1B 00011011 Circuit group unblocking acknowledgement  19 00011001 Circuit group unblocking 29 00101001 Circuit group reset acknowledgement  17 00010111 Circuit group reset 2B 00101011 Circuit group query response 2A 00101010 Circuit group query 1A 00011010 Circuit group blocking acknowledgement  18 00011000 Circuit group blocking 2C 00101100 Call progress 15 00010101 Blocking acknowledgement  13 00010011 Blocking 09 00001001 Answer 06 00000110 Address complete HEX  Binary  ISUP Messages
ISUP messages list (Contd.) 0C 00001100 Release 28 00101000 Pass-along 30 00110000 Overload 32 00110010 Network resource management 24 00100100 Loop back acknowledgement 01 00000001 Initial address 03 00000011 Information request 04 00000100 Information 37 00110111 Identification response 36 00110110 Identification request 08 00001000 Forward transfer 1F 00011111 Facility request 21 00100001 Facility reject 20 00100000 Facility accepted 33 00110011 Facility 11 00010001 Continuity check request 05 00000101 Continuity HEX  Binary  ISUP Messages
ISUP messages list (Contd.) 2D 00101101 User-to-User information 34 00110100 User Part test 35 00110101 User Part available 2E 00101110 Unequipped CIC 16 00010110 Unblocking acknowledgement 14 00010100 Unblocking 0D 00001101 Suspend 02 00000010 Subsequent address 38 00111000 Segmentation 0E 00001110 Resume 12 00010010 Reset circuit 10 00010000 Release complete HEX  Binary  ISUP Messages
SIP to PSTN Call trace- brief
 
 
 
 
SIP to PSTN Call trace-  detailed
 
 
 
 
 
 
 
 
General ISUP Message format
IAM  message contains Nature of Connection Indicator (NOC) Satellite Indicator Continuity Indicator Echo Indicator Forward Call Indicators Calling Party’s category Transmission Media Requirement (ITU) User Service Info (ANSI) Called Party Number Optional Parameters
 
MTP L1
MTP L1 The SS7 Physical layer that defines the electrical/optical signal cable definitions The physical interfaces include E1 - 2048 KBPS  32 *64KBPS channels DS1 - 1544 KBPS 24 *64KBPS V35 - 64 KBPS DS-0 -  64 KBPS DS-0A – 56KBPS
MTP L2
MTP-L2 This layer provides a reliable means of data (signalling info) transfer between adjacent SPs Equivalent to Layer 2 in OSI model ITU-T Q.703 standard Signal Unit Delimitation and Alignment  Make sure blocks of data are delivered in correct order: Adding the correct sequence  number to each frame sent Check the integrity of link. Signal Unit Error detection and correction Flow control: Send back busy signal when the buffer exceeds a threshold
MTP-L2(Contd.) Three kinds of Signalling Units

More Related Content

Ss7 Introduction Li In

  • 1. Basic Introduction to SS7 Moshe Haviv September 2009 [email_address]
  • 2. Contents Signalling and methodology Introduction to SS7 SS7 protocol stack
  • 3. Signalling and methodology Two basic approaches: Channel Associated Signalling- CAS Signalling and voice/media take the same path/Time slot Robbed bit/Wink MFCR2/TS16 Multiframe Common Channel Signalling- CCS Q.921/Q.931
  • 4. Introduction to SS7 Network wide CCS for PSTN SS7 Defines the elements and procedures for User Identification Routing Billing Setting up/disconnect calls Manage Calls
  • 5. Basic SS7 properties A private network consisting well defined Network Elements and links Network Elements are called Signalling Point (SP) Each SP is identified with a unique address-Point Code (PC) Various types of SPs and Links are defined Basis for Intelligent Networking (IN)
  • 6. Out of Band Signalling (CCS) High Signalling data rates- 56KBPS/64KBPS and higher Packet Switching Connectionless, bursty and short duration messages Reliable and Flexible Basic SS7 properties (Contd.)
  • 7. SS7 Features Flow Control Error detection and retransmission capability Controls for congestion control Peer entity status detection Security mechanisms
  • 9. And now an SS7 network- Standalone
  • 10. SSP – Service Switching Point It is basically a switch with SS7 interfaces Class 5 - Local Exchange Class 4 - Tandem switch Determines how to setup, manage and terminate a call Based on dialled numbers, sets up SS7 messages Sends messages using ISUP - ISDN User Part TCAP - Transaction Capabilities Application Program
  • 11. SSP Call setup scenarios Call originating and terminating on the same switch (SSP) No SS7 signalling required Call targeting a known SSP The SSP routes the call with the help of its routing tables using ISUP messages Call destined to an unknown SSP The Global Title (dialled number) is either an 800 number or ported one The SSP gives the address of the next hop SSP The IAM message is sent to that SSP with the help of STP(s)
  • 12. STP – Signalling Transfer Point Router/switch/Gateway of the SS7 Network They are normally paired for reliability Routes messages based on destination Point Codes on the message header For cases where the local SSP does not know the destination GT it must provide GT translation Can provide multiple Signalling routes to destination
  • 13. SCP – Service Control Point Provides Application access such as to a data base An SCP communicates with applications using primitives The protocol to use and access a data base is called TCAP SCP may consist of various Sub Systems each with its own SSN (Sub system Number )
  • 15. SS7 transported over other networks
  • 16. Addressing in SS7 Point Code (PC) is the Basic Addressing units for each SP. It should be unique throughout the network. Two major versions: ITU Basic - A number in the range of 0- 16383 International- 14 bits [3-8-3] [Zone: 0-7]- [Area: 0-255]-[Point: 0-7] ANSI 24 bits [8-8-8 bits] [Network ID]-[Cluster ID]-[Network Cluster Member]
  • 17. Addressing in SS7 (Contd.) Addressing in SS7 makes use of three distinct elements Point Code – PC Sub-System Number - SSN Global Title - GT The Global Title (GT) may comprise of dialed digits or another form of address that is not recognized in the SS7 network. It is basically an alias for (PC + SSN)
  • 19. SS7 Protocol Stack elements ISUP TCAP MTP-L1 MTP-L2 MTP-L3
  • 20. ISUP Most widely used part of SS7- ITU Q.764 Protocol to establish/tear down connections It defines two types of services Basic Services- To establish tear down connections Supplementary Services- To maintain connections
  • 21. ISUP Elements in detail
  • 22. Basic ISUP messages IAM – Initial Address Message SAM- Subsequent Address Message ACM – Address Complete Message CPG – Call Progress Message ANM – Answer Message REL - Release Message RLC - Release Complete Message
  • 23. A basic ISUP call scenario
  • 26.  
  • 27.  
  • 28.  
  • 29. ISUP messages list 05 00000101 Continuity 07 00000111 Connect 2F 00101111 Confusion 31 00110001 Charge information 1B 00011011 Circuit group unblocking acknowledgement 19 00011001 Circuit group unblocking 29 00101001 Circuit group reset acknowledgement 17 00010111 Circuit group reset 2B 00101011 Circuit group query response 2A 00101010 Circuit group query 1A 00011010 Circuit group blocking acknowledgement 18 00011000 Circuit group blocking 2C 00101100 Call progress 15 00010101 Blocking acknowledgement 13 00010011 Blocking 09 00001001 Answer 06 00000110 Address complete HEX Binary ISUP Messages
  • 30. ISUP messages list (Contd.) 0C 00001100 Release 28 00101000 Pass-along 30 00110000 Overload 32 00110010 Network resource management 24 00100100 Loop back acknowledgement 01 00000001 Initial address 03 00000011 Information request 04 00000100 Information 37 00110111 Identification response 36 00110110 Identification request 08 00001000 Forward transfer 1F 00011111 Facility request 21 00100001 Facility reject 20 00100000 Facility accepted 33 00110011 Facility 11 00010001 Continuity check request 05 00000101 Continuity HEX Binary ISUP Messages
  • 31. ISUP messages list (Contd.) 2D 00101101 User-to-User information 34 00110100 User Part test 35 00110101 User Part available 2E 00101110 Unequipped CIC 16 00010110 Unblocking acknowledgement 14 00010100 Unblocking 0D 00001101 Suspend 02 00000010 Subsequent address 38 00111000 Segmentation 0E 00001110 Resume 12 00010010 Reset circuit 10 00010000 Release complete HEX Binary ISUP Messages
  • 32. SIP to PSTN Call trace- brief
  • 33.  
  • 34.  
  • 35.  
  • 36.  
  • 37. SIP to PSTN Call trace- detailed
  • 38.  
  • 39.  
  • 40.  
  • 41.  
  • 42.  
  • 43.  
  • 44.  
  • 45.  
  • 47. IAM message contains Nature of Connection Indicator (NOC) Satellite Indicator Continuity Indicator Echo Indicator Forward Call Indicators Calling Party’s category Transmission Media Requirement (ITU) User Service Info (ANSI) Called Party Number Optional Parameters
  • 48.  
  • 50. MTP L1 The SS7 Physical layer that defines the electrical/optical signal cable definitions The physical interfaces include E1 - 2048 KBPS 32 *64KBPS channels DS1 - 1544 KBPS 24 *64KBPS V35 - 64 KBPS DS-0 - 64 KBPS DS-0A – 56KBPS
  • 52. MTP-L2 This layer provides a reliable means of data (signalling info) transfer between adjacent SPs Equivalent to Layer 2 in OSI model ITU-T Q.703 standard Signal Unit Delimitation and Alignment Make sure blocks of data are delivered in correct order: Adding the correct sequence number to each frame sent Check the integrity of link. Signal Unit Error detection and correction Flow control: Send back busy signal when the buffer exceeds a threshold
  • 53. MTP-L2(Contd.) Three kinds of Signalling Units

Editor's Notes

  1. Each SP has one or more addresses associated with it. Those addresses are called Signaling Point Codes, PC . It is also possible to use an alias which is not PC . That is called Global Title ( GT ). Global title is not an SS7 address and needs to be translated to one to be useful. Nodes in the SS7 network are addressed by their Signaling Point Code ( SPC ). When locations like an SCP (we will explain later what this is) are addressed, Point Code is not enough. Another value must be used to identify the service application that is sought. For this purpose, the SS7 simply uses a value (represented in the message packet by a byte, and therefore, in the range of 0 to 255) which is called a Subsystem Number ( SSN ). Subsystem numbers typically identify databases. However, they may also identify other services. For example, a switch may offer several features. Because several features are offered, simply sending the request to the SPC of the switch is not enough. A subsystem number will be used as well in order to specifically address the exact service that is required.
  2. We will show all of the above when we go deeper into the protocol.
  3. In the third case where the dialled number is, say an 800 number, the SSP reaches to SCP with the help of an STP using TCAP protocol. In turn SCP returns a new Global Title (destination address) that can be routed in the SS7 network. A global title is an address (e.g., a dialled 800 number, calling card number or mobile subscriber identification number) that is translated by SCCP into a destination point code and subsystem number
  4. In SS7, Global Title is an alias for PC or (PC + SSN). If the SSP does not know the destination of a global title, it sends a query in the form of TCAP messages to its local STP. When the query gets to the STP, the global title digits are given to the STP's SCCP. The STP will then translate the SCCP address fields and determine, through its own translation tables the address of the application (SCP). The Global Title Translation provides the SSN of the database and point code of the SCP that interfaces that database application.
  5. One, two or all three may be present in an SS7 message as Calling or Called party address. If the associated message requires to be routed over the SS7 network, translation is required. Translation of the GT will result in a DPC being produced and possibly also a new SSN and GT. A field is also included in the address indicator to identify the format of the global title. The MTP part of SS7 stack only needs PCs but at higher levels other addressing types in various combinations are used. When a DPC (Destination Point Code) has more than one application running on it we need something additional to distinguish between them. So comes the usage of SSN. The different applications in a node (Usually an SCP) can be Call Center, Credit card billing application, 1-800 data base etc. So SSN can be an application identifier and/or a data base identifier.
  6. http://www.dialogic.com/support/helpweb/signaling/iw1414.aspx
  7. ISUP functionality can be further broken down into three procedural categories. The first of these is Signalling Procedure Control (SPRC) which directly interfaces with the services of the MTP. The SPRC, in turn, provides support for Circuit Supervision Control (CSC) and for Call Processing Control (CPC). The application which deals with the circuit connection requirements of the switch, and simultaneously with SS7 signalling, is usually referred to as a Call Control application.
  8. IAM- Initial Address Message. The ISUP message with all the info required to establish a connection and also to reserve a circuit for that purpose. In addition to Called address, BW requirement, type of call etc. is also relayed. SAM- For cases where all the digits were not included in IAM an additional message ( SAM ) is sent with the additional digits. ACM- Acknowledgment to IAM. It means that the receiving switch has reserved circuit asked in IAM. When ACM is received a “Ringing”, ring back tone is sent to the connection initiator. CPG- An optional, Call progress advancing message. ANM- When the destination user picks up the phone the switch send a DC current to the phone and also send back to the neighbouring switch the ANM message which is carried back from switch to switch all the way back the source switch. REL- If the destination is Busy the destination exchange sends back that message. As a result the source exchange sends back to the originating client a Busy tone. To make sure that Busy signal does not arrive before a ringing tone a delay is introduced before sending a ringing tone.
  9. Taken from http://dbrbbs.net/simple/index.php?t9546.html
  10. ST is last digit state.
  11. tacm - This is the Receipt of A ddress C omplete M essage at outgoing international exchange. T9 in ISUP . Time out value is 2-4 minutes.
  12. When the called party answers, the destination switch terminates power ringing of the called line, removes audible ringing tone from the calling line and sends an Answer Message ( ANM ) to the originating switch. The originating switch initiates billing after verifying that the calling party's line is connected to the reserved trunk .
  13. PT (Payload Type) 0 above in “m=audio 49172 RTP/AVP 0” is PCMU according to RFC3551. Above “a=rtpmap:0 PCMU/8000 “ the rtpmap can be found in RFC4566 . The format for attribute (a) is : a=rtpmap:<payload type> <encoding name>/<clock rate> [/<encoding parameters>] If the Alice INVITE request did not include a max-request header filed than the proxy must add one with the value of 70! When a UAC sends a request to a proxy server, the proxy server may decide to authenticate the originator before the request is processed. The proxy can challenge the originator to by returning a 407 response (Proxy Authentication Required) with a Proxy-Authenticate header containing the challenge. The client can re-send the request with a Proxy-Authorization header which provides the credentials that match the challenge. A client may provide the credentials also before being challenged in order to avoid the delay and extra processing of the 407 response (the credentials may be built according to cached challenges). Both challenge and credentials are built using a cryptographic hash so that certain values, such as password, are not sent in the clear
  14. AOR- Address of Record in SIP protocol- RFC3261. It is a SIP or SIPS URI that points to a domain with a location service that can map the URI to another URI where the user might be available. Typically, the location service is populated through registrations. An AOR is frequently thought of as the "public address" of the user. If a proxy wishes to remain on the path of future requests in a dialog created by this request (assuming the request creates a dialog), it MUST insert a Record-Route header field value into the copy before any existing Record-Route header field values, even if a Route header field is already present.
  15. Satellite Call Indicator is used to indicate if one or more satellite links are used. Excessive use of satellite might reduce the call quality. Forward Call Indicators include National/International Call End to End method (Pass along or SCCP-Connectionless) SUP indicator (Whether ISUP is used for every leg of the connection) Calling Party Category can be “Regular Subscriber”, “payphone”, “operator” or “test call”
  16. An MTP-L2 message is called Signalling Unit.
  17. LSSU- Link Status Signalling Unit. This unit is transmitted in both direction and carries Link Status information between Signalling Points. MSU- Message Signalling Unit. This unit carries all call control, data base query answer/info FIU- Fill In Signalling unit. This unit is transmitted in the absence of MSU/LSSU frames.