The document provides a basic introduction to SS7 (Signaling System 7) including:
1. SS7 defines the elements and procedures for user identification, routing calls, billing, and managing calls on a global scale.
2. SS7 uses out-of-band signaling over high-speed dedicated data links and employs protocols like ISUP and TCAP to set up and tear down calls between network elements.
3. Key SS7 network elements include SSPs, STPs, and SCPs which work together to determine routing and provide supplementary services for calls.
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
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 )
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)
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
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
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
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.
We will show all of the above when we go deeper into the protocol.
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
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.
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.
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.
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.
Taken from http://dbrbbs.net/simple/index.php?t9546.html
ST is last digit state.
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.
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 .
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
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 &quot;public address&quot; 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.
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”
An MTP-L2 message is called Signalling Unit.
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.