(Page 1 of 1 in this chapter) Version


Chapter 8

SS7 TUP Configuration


8.1 Introduction to the TUP Layer
8.2 The TUP Configuration
8.3 Sample TUP Configuration File
8.4 TUP Configuration Parameters Reference
8.4.1 General Parameters
8.4.2 Service Access Point (SAP) Definition
8.4.3 Network Service Access Point (NSAP) Definition
8.4.4 Circuit/Group Definitions

8.1 Introduction to the TUP Layer

Like the ISUP layer, SS7 Telephone User Part (TUP) software provides an interface for applications to establish, maintain, and clear circuit switched connections via the SS7 network. The TUP layer is also responsible for circuit [group] management, such as blocking, unblocking, and resetting of circuits and circuit groups.

The SS7 TUP layer operates in accordance with the CCITT (ITU-T) recommendations Q.721-Q.724 and China GF001 - 9001 (Technical Specifications of SS7 for the National Telephone Network of China). TUP is not used in ANSI networks, so there is no applicable ANSI standard for TUP.

The configurable objects represented by the TUP layer are Circuits, User Service Access Points (User SAPs), and Network Service Access Points (NSAPs). In addition, the TUP layer has a set of general configuration parameters which define the behavior of the TUP layer as a whole.

Circuits are the physical bearer circuits controlled by the TUP layer. Like the ISUP layer, circuits are identified by both a circuit index and a circuit identification code (CIC). The circuit index is a number unique across all circuits configured on a particular TX board. This number has only local significance - it is used between the TUP layer and the local call processing application to identify a particular circuit.

The CIC (usually called the "kick", or "kick code") is used between signaling points (i.e., the SS7 TUP layer and the far exchange that terminates the other end of the circuit) to uniquely identify a particular circuit. The CIC must be configured at both ends of the circuit to identify the exact same bearer facility, for example, the same T1 span and timeslot. CICs need not be unique across circuits that terminate on different far exchanges.

Circuits are specified in the TUP configuration file in groups. A group is one or more circuits with contiguous circuit indexes and contiguous CICs that terminate on the same far exchange and have common characteristics. A single circuit group will frequently be used to represent all the timeslots on a single T1 or E1 span, for example. When defining a circuit group, only the circuit index and CIC of the first circuit in the group, along with the number of circuits in the group, are specified. The TUP layer derives the circuit index and CIC for subsequent circuits since they are considered to be contiguous. The starting circuit index and starting CIC for a group need not be the same value.

User SAPs define the interface between the TUP layer and the user applications.

Note: This release of the TUP layer supports only a single user application. Only one user SAP should be configured.

The NSAP defines the interface between the TUP layer and the MTP layer. It identifies the MTP network SAP to used by the TUP layer, allowing multiple user parts (e.g., TUP, ISUP, and SCCP) to share access to the MTP layer services. Figure 10 illustrates the concept of user SAPs and NSAPs.

Figure 10. TUP User SAPs and Network SAPs

8.2 The TUP Configuration

The SS7 distribution CD-ROM contains a utility program tupcfg which reads a text configuration file and downloads the specified configuration to the TUP task on the TX board, typically as part of the download sequence.

The general format of the TUP configuration file is provided here:

<General Configuration Parameters>
<User SAP definition>
<SAP Parameters>
END
<NSAP definition>
<NSAP Parameters>
END
<Circuit Group 1 definition>
<Circuit Group Parameters>
END
<Circuit Group n definition>
<Circuit Group Parameters>
END

8.3 Sample TUP Configuration File

The TUP distribution software contains sample configuration files for both ITU-T and China configurations. These configurations may be used in conjunction with the MTP sample configuration files to test TUP applications using two TX boards in a back-to-back arrangement (see Chapter 3). The following example shows the sample ITU-T configuration file for one board:

#  TUP Configuration File
# General configuration parameters
MAX_SAPS          1
MAX_NSAPS         1
MAX_CIRCUITS      2048
MAX_GROUPS        16         !max number of circuit groups
MAX_DPCS          16         !max number of dest. point codes
MAX_ROUTES        10         !max number of routes
ALARM_LEVEL       2          !alarm level
END
# Service Access Point (SAP)
USER_SAP          0
SWITCH_TYPE       ITU-T      !switch type (ITU-T, CHINA)
END
# Network Service Access Point (NSAP)
NSAP              0          !Network layer SAP Id
MTPSAP            0          !MTP layer SAP Id
SWITCH_TYPE       ITU-T      !switch type (ITU-T, CHINA)
OPC               0x01       !my point code
SSF               SSF_NAT    !sub-service field value to use
END
#
# Circuit Database
CIRCUIT           1          !circuit number
CIC               0          !Circuit identification code
DPC               0x02       !DPC of serving far exchange 
NUM_CIRCUITS      200        !number of circuits in this group
GROUP_ID          1
SWITCH_TYPE       ITU-T      !switch type (ITU-T, CHINA)
END
#
# Circuit Group 2
CIRCUIT           201        !circuit number
CIC               200        !Circuit identification code
DPC               0x02       !DPC of serving stp
NUM_CIRCUITS      200        !number of circuits in this group
GROUP_ID          2
SWITCH_TYPE       ITU-T      !switch type (ITU-T, CHINA)
END
#
# Circuit Group 3
CIRCUIT               513        !circuit number
CIC                   513        !Circuit identification code
DPC                   2          !DPC of serving stp
NUM_CIRCUITS          255        !number of circuits in this group
GROUP_ID              3
END
#
END                              # End TUP configuration

8.4 TUP Configuration Parameters Reference

There are five major sections of the TUP configuration file: general parameters, user SAP definition, network SAP definition, routes, and circuits.

8.4.1 General Parameters

The general parameters control the overall operation of the TUP layer process.

Parameter Name

Default

Range

Usage

MAX_SAPS

1

1

Defines the maximum number of user applications

MAX_NSAPS

1

1

Defines the maximum number of interfaces with the MTP 3 network layer

MAX_CIRCUITS

96

0-65535

The maximum number of circuits to be managed by the TUP layer.

MAX_GROUPS

32

0-65535

The maximum number of circuit groups managed by the TUP layer.

ALARM_LEVEL

1

1-4

In order to limit the number of alarms to the more critical ones, set this number closer to 1.

PC_FORMAT

DEFAULT

DEFAULT [DFLT],

INTER-NATIONAL [INTL],

JNTT

Point Codes are interpreted/displayed as 24-bit "8.8.8" values.

Point Codes are interpreted/displayed as 14-bit "3.8.3" values.

Point codes are interpreted/displayed as 16-bit "<M-Code>.<S-Code>.<U-Code>" values with the U-code in the most significant 7 bits, the S-code in the next 4 bits, and the M-code in the least significant 5 bits.

T20 _TIMER

5

0-65535

Time to wait to send the second confirming group reset signal

T21_TIMER

15

0-65535

Time to wait for a response to circuit group reset signal (should be 4-15 seconds)

T22_ TIMER

60

0-65535

Time to wait to send another group reset signal

T23_TIMER

5

0-65535

Time to wait to send the second confirming maintenance group block signal

T24_TIMER

5

0-65535

Time to wait to send the second confirming maintenance group unblock signal

T25_ TIMER

300

0-65535

Time to wait to alert maintenance group unblock signal

T26_TIMER

15

0-65535

Time to wait for a response to maintenance group block signal (should be 4-15 seconds)

T27_TIMER

60

0-65535

Time to wait to send another maintenance group block signal

T28_TIMER

15

0-65535

Time to wait for a response to maintenance group unblock signal (should be 4-15 secs)

T29_TIMER

60

0-65535

Time to wait to send another maintenance group unblock signal

T30_TIMER

5

0-65535

Time to wait to send the second confirming hardware failure group block signal

T31_TIMER

5

0-65535

Time to wait to send the second confirming hardware failure group unblock signal

T32_TIMER

15

0-65535

Time to wait for a response to hardware failure group block signal (should be 4-15 seconds)

T33_TIMER

60

0-65535

Time to wait to send another hardware failure group block signal

T34_TIMER

15

0-65535

Time to wait for a response to hardware failure group unblock signal (should be 4-15 secs)

T35_TIMER

60

0-65535

Time to wait to send another hardware failure group unblock signal

T36_TIMER

5

0-65535

Time to wait to send the second confirming software group block signal

T37_TIMER

5

0-65535

Time to wait to send the second confirming software group unblock signal

T38_TIMER

15

0-65535

Time to wait for a response to software group block signal (should be 4-15 seconds)

T39_TIMER

60

0-65535

Time to wait to send another software group block signal

T40_TIMER

15

0-65535

Time to wait for a response to software group unblock signal (should be 4-15 secs)

T41_TIMER

60

0-65535

Time to wait to send another software group unblock signal

END

Marks the end of the general section

8.4.2 Service Access Point (SAP) Definition

The SAP definition defines the characteristics of the TUP service presented to the user application(s).

Note: This release of the TUP layer software allows for configuration of only a single TUP user SAP. Only one application may use the TUP service at a time.
Parameter Name

Default

Range

Usage

USER_SAP

none

0-MAX_SAPS

SAP number

SWITCH_TYPE

ITU-T

ITU-T,
CHINA

The switch type (i.e., version of the TUP protocol employed for this application). Must match (one of) the switch type(s) defined in the NSAP definition section.

END

Marks the end of the SAP section

8.4.3 Network Service Access Point (NSAP) Definition

The NSAP definition defines the characteristics of the TUP interface to the MTP 3 layer.

Note: This release of the TUP layer software allows for configuration of only a single NSAP. Only one switch type may be handled at a time.
Parameter Name

Default

Range

Usage

NSAP

none

NSAP ID

SWITCH_TYPE

ITU-T

ITU-T,
CHINA

The switch type (i.e., version of the SS7 protocol employed for this MTP 3 interface). Must be either ITU-T or CHINA.

OPC

none

N/A

The Point Code of this node, specified as x.y.z (three bytes, decimal, separated by periods) or as a hexadecimal number (i.e., 0xnnnnn).

SSF

SSF_NAT

SSF_INTL,
SSF_SPARE,
SSF_NAT,
SSF_RES

The Sub-service field of the SIO in outgoing TUP packets.

MTPSAP

0

0-MAX_NSAPS

The MTP SAP to bind with

END

Marks the end of the NSAP section

8.4.4 Circuit/Group Definitions

The circuit set definitions specify the characteristics of each of the circuit sets to be managed by the TUP layer. This includes the circuit identification codes (CICs) and destination point code (DPC) at the other end of the circuits. One entry is made for each circuit set. Any set can be designated a predefined "group" by adding a group number to this definition. A predefined group can more easily be reset, blocked and unblocked with the API or by the network.

Parameter Name

Default

Range

Usage

CIRCUIT

none

1-65535

The number of the first circuit in this set. Circuits in this set are numbered from this number to (this number + NUM_CIRCUITS-1). This range must be unique for all circuits defined. This number is used by the application and the TUP layer to identify circuits, but has no meaning to the far exchange.

CIC

0

0-4095

The circuit identification code (CIC) of the first circuit in this set. Circuits in this set are assigned CICs from this number to (this number + NUM_CIRCUITS-1). This number range must agree with the CICs assigned to this circuit set at the far exchange.

DPC

none

N/A

The destination point code that this circuit set connect to. Use "dotted" notation, e.g., 2.45.76 or hex number, e.g., 0x101

GROUP_ID

0

0-65535

This is the group ID number to assign to this group of circuits. 0 designates these circuits as not being a group.

NSAP_ID

0

0-MAX_NSAPS

Which NSAP to use for these circuits, this value should match an NSAP ID in the NSAP definition area

SWITCH_TYPE

ITU-T

ITU-T,
CHINA

The protocol variant employed for this MTP 3 interface

NUM_CIRCUITS

1

1-255

The number of circuits in this circuit set

T1_TIMER

15

0-65535

Time to wait for continuity or continuity failure signal (10-15 seconds)

T2_TIMER

30

0-65535

Time to wait for address complete signal (20-30 seconds)

T3_TIMER

15

0-65535

Time to wait for clear forward signal after sending unsuccessful signal (4-15 seconds)

T4_TIMER

15

0-65535

Time to wait for clear forward signal after sending call-failure signal (4-15 seconds)

T5_TIMER

60

0-65535

Time to stop sending call-failure signals

T6_TIMER

15

0-65535

Time to wait for release guard signal (4-15 seconds)

T7_TIMER

60

0-65535

Time to stop sending clear forward signals

T8_TIMER

2

0-65535

Time to wait for a backward check-tone (should not exceed 2 seconds)

T9_TIMER

5

0-65535

Time to delay start first-time continuity recheck (1-10 seconds)

T10_TIMER

180

0-65535

Time to delay for multiple re-tests of continuity (60-180 seconds)

T11_TIMER

60

0-65535

Time to wait to alert maintenance following initiation of blocking signal

T12_TIMER

15

0-65535

Time to wait for response to blocking signal (4-15 seconds)

T13_TIMER

60

0-65535

Time to wait to alert maintenance that a response to the initial blocking signal not received

T14_TIMER

60

0-65535

Time to wait to repeat blocking signal

T15_TIMER

15

0-65535

Time to wait for a response to an unblocking signal (4-15 seconds)

T16_TIMER

60

0-65535

Time to wait to alert maintenance that a response to the initial unblocking signal not received

T17_TIMER

60

0-65535

Time to wait to repeat unblocking response

T18_TIMER

15

0-65535

Time to wait for a response to a reset-circuit signal (should be 4-15 seconds)

T19_TIMER

60

0-65535

Time to wait to send another reset-circuit signal

END

Marks the end of this circuit group definition



(Page 1 of 1 in this chapter) Version


tech_support@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.