Dialogic SS7 Call Flow
Dialogic SS7 Call Flow
Dialogic SS7 Call Flow
Technology Guide
November 2008
05-2274-006
Contents
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
About This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1
SS7 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.1
1.2
17
19
20
20
2.2
2.3
2.4
2.5
3
23
24
28
31
32
34
34
35
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
37
39
39
40
40
41
43
43
44
44
44
44
45
46
47
48
49
49
49
50
52
53
54
55
55
Contents
3.11
4.4
4.5
4.6
Contents
4.7
5.4
5.5
5.6
5.7
5.8
5.9
5.10
5.11
105
106
106
107
109
111
111
111
112
112
113
113
114
115
115
116
118
119
119
121
121
Contents
8.2
10
11
Contents
Figures
1
2
3
4
5
6
7
8
9
10
11
12
18
19
25
26
27
27
29
30
31
32
33
52
Contents
Tables
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Revision History
This revision history summarizes the changes made in each published version of this document.
Document No.
Publication Date
Description of Revisions
05-2274-006
November 2008
Configuration and Startup chapter : In the Dialogic Global Call SS7 Software
Configuration (gcss7.cfg) section, added a new parameter, SIU.FTP_Type,
under SIU Configuration Parameters.
SS7-Specific Operations chapter : Under Using Dual Resilient SIU Configurations,
corrected the information about what happens when circuit groups are restored
to their preferred SIU when the SIU comes back after a failure.
SS7-Specific Function Information chapter : Under gc_OpenEx( ) Variances for SS7,
deleted a note that said trunk devices may not be opened for SS7. (The note was
incorrect, trunk devices can be opened for SS7.)
05-2274-005
January 2008
Revision History
Document No.
05-2274-005
(continued)
Publication Date
Description of Revisions
Configuration and Startup chapter (continued): Added section for Sample
Configuration Files (This information formerly appeared in the Supplementary
Reference Information chapter.) In this section, added sample configuration files
for:
- System with Dialogic SS7HDP Board for Circuits and Signaling on DTI Trunks
- M3UA Configuration
- M2PA Configuration
- Clear Channel Operation
- Mixed Configuration (SS7 Signaling and Clear Channel)
- Mixed Configuration (Call Control and Transaction Based)
- Multiple Dialogic SS7 Boards in a System
Revised the Sample gcss7.cfg Configuration File (deleted comment that said the
Service.WatchDogMaxTime parameter was not supported).
SS7-Specific Operations chapter : Added new section, Dynamically Adding and
Deleting SS7 Circuit Groups.
Added new section, Handling Layer 1 Alarms.
In the Inbound Continuity Check section, added information about the events
received if GCEV_DETECTED is enabled or not enabled.
SS7-Specific Function Information chapter : Under Dialogic Global Call Functions
Supported by SS7, indicated that the following functions are supported (these
are Global Call Alarm Management System (GCAMS) functions):
gc_AlarmName( ), gc_AlarmNumber( ), gc_AlarmNumberToName( ),
gc_AlarmSourceObjectID( ), gc_AlarmSourceObjectIDToName( ),
gc_AlarmSourceObjectName( ), gc_AlarmSourceObjectNameToID( ),
gc_GetAlarmConfiguration( ), gc_GetAlarmFlow( ), gc_GetAlarmParm( ),
gc_GetAlarmSourceObjectList( ), gc_GetAlarmSourceObjectNetworkID( ),
gc_SetAlarmConfiguration( ), gc_SetAlarmFlow( ),
gc_SetAlarmNotifyAll( ), gc_SetAlarmParm( )
Under gc_OpenEx( ) Variances for SS7, added information about virtual devices.
Under gc_SetConfigData( ) Variances for SS7, added that gc_SetConfigData( )
can be used for dynamically adding and deleting SS7 circuit groups at runtime.
SS7-Specific Data Structures chapter : Added GCSS7_ISUP_CFG_CCTGRP and
GCSS7_TRUNK_CFG data structures.
SS7-Specific Error Codes and Event Cause Codes chapter : Updated to show
support for cause codes that were formerly not supported. (The cause codes for
GCEV_BLOCKED and GCEV_UNBLOCKED events, and the cause code for
timeout are now supported.)
Added event cause codes S7RV_LOCAL_RESET and S7RV_REMOTE_RESET
for the GCEV_UNBLOCKED event.
Added event cause codes related to layer 1 alarms.
Supplementary Reference Information chapter : Updated the list of references.
Moved the sample configuration files from this chapter to the Configuration and
Startup chapter.
10
Revision History
Document No.
Publication Date
Description of Revisions
05-2274-004
July 2005
05-2274-003
March 2005
General: Updates to indicate support for SS7HD Boards (both PCI and CompactPCI).
General: Changed board names as follows (excluding command names and book
titles):
- SPCI2S to SS7SPCI2S
- SPCI4 to SS7SPCI4
- CPM8 to SS7CPM8
05-2274-002
September 2004
SS7 Server Log File: Updated the location of the SS7 server log file under Windows.
gc_GetParm( ) Variances for SS7: Added new GCPR_IGNORE_BCI parameter.
gc_SetParm( ) Variances for SS7: Added new GCPR_IGNORE_BCI parameter.
Global Call SS7 Software Configuration (gcss7.cfg): Added the following
configuration parameters: Service.IgnoreBCI, Service.CleanCidBit15,
SIU.ConfigureRsiLinks.
Sample system.txt File for a System with SS7 Boards: Updated.
Sample config.txt File for a System with Circuits and Signaling on an SS7 Board:
Updated.
Sample config.txt File for a System with Circuits and Signaling on DTI Trunks:
Updated.
Sample system.txt File for a Single-SIU and Dual-SIU System: Updated.
Sample config.txt File for a Single SIU System with One Host: Updated.
Sample config.txt File for a Single-SIU System with Two Host: Updated.
Sample config.txt File for SIU A in a Dual-Resilient SIU System with a Single Host:
Updated.
Sample config.txt File for SIU B in a Dual-Resilient SIU System with a Single Host:
Updated.
Section 3.5, Configuring an Intel NetStructure SS7 Board as a TDM Bus Master:
New section added.
Section 5.6, Using Overlap Send and Receive: Updated to indicate: 1) limitations
when using gc_SendMoreInfo( ), 2) gc_SndMsg( ) can still be used to send
SAM.
11
Revision History
Document No.
Publication Date
Description of Revisions
05-2274-002-01
March 2004
05-2274-001
November 2003
Initial version of document. Much of the information contained in this document was
previously published in the Global Call SS7 Technology Users Guide for Windows
Operating Systems, document number 05-1380-006 and the Global Call SS7
Technology Users Guide for Linux Operating Systems, document number 05-1936001. Major changes since these document versions are listed below.
General: Updates to accommodate all Global Call SS7 Software configuration in a
single file called gcss7.cfg.
Integrated the Troubleshooting chapter into the Configuration and Startup
chapter.
Viewing Parameter Values With the Intel Dialogic Configuration Manager : Added
section to explain that it is only possible to view key parameters values in the
configuration manager (DCM). Configuration of parameters previously
configured using DCM is now done using the gcss7.cfg file.
SS7 Call Scenarios: Replaced existing scenarios with more up-to-date and
comprehensive scenarios.
Building Global Call SS7 Applications: Added as a new chapter.
gc_OpenEx( ) Variances for SS7: Removed :L_SS7 from the devicename string; no
longer required. (PT 30317)
S7_SIGINFO_BLK: Updated the length parameter description; 1 must be added for
the NULL character.
Supplementary Reference Information: Updated the sample configuration files.
12
Purpose
This guide is for users of the Dialogic Global Call API who choose to write applications that use
SS7 technology. This guide provides Global Call SS7-specific information only, and should be
used in conjunction with the Dialogic Global Call API Programming Guide and the Dialogic
Global Call API Library Reference, which describe the generic behavior of the Global Call API.
Applicability
This document version is applicable to Dialogic Host Media Processing (HMP) Software and to
Dialogic System Release Software for Linux and Windows operating systems.
Check the Release Guide for your software release to determine whether this document is
supported.
Intended Audience
This guide is intended for:
Distributors
System Integrators
Toolkit Developers
Independent Software Vendors (ISVs)
Value Added Resellers (VARs)
Original Equipment Manufacturers (OEMs)
This publication assumes that the audience is familiar with the Linux and Windows operating
systems and has experience using the C programming language.
13
can be used with SS7 technology and provides an overview of the architecture.
Chapter 3, Configuration and Startup describes how to configure the Dialogic SS7
software environment and how to start a system that contains Dialogic SS7 boards. Sample
configuration files are included at the end of this chapter.
Chapter 4, SS7 Call Scenarios provides some call scenarios that are specific to SS7
technology.
Chapter 5, SS7-Specific Operations describes how to use the Global Call API to perform
SS7-specific operations, such using overlap send and receive, performing continuity checks,
etc.
Chapter 6, Building Dialogic Global Call SS7 Applications provides guidelines for
data structures.
Chapter 10, SS7-Specific Error Codes and Event Cause Codes provides descriptions of SS7-
SS7 technology.
A Glossary and an Index can be found at the end of the document.
Related Information
Those who choose to develop Global Call Software applications that use SS7 technology can refer
to the following documents and web sites:
System7 ISUP Programmers Manual
System7 TUP Programmers Manual
System7 Software Environment Programmers Manual
Dialogic Global Call API Library Reference
Dialogic Global Call API Programming Guide
Release Guide and Release Update for your Dialogic software release
14
Note:
The SS7 stack and system documentation are available for download at:
http://www.dialogic.com/support/helpweb/signaling/default.htm. You will need to register with the
support site to gain access to the documentation.
15
16
SS7 Overview
1.
This chapter provides a brief overview of Signaling System 7 (SS7) technology. It is a high-level
description of the technology and does not intend to provide details of any aspect of SS7
technology. Some references to where more detailed information can be obtained are provided.
Topics covered by this chapter include:
SS7 and Computer Telephony . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
SS7 Protocol Stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.1
that is, a message received on one signaling link is transferred to another link.
Service Control Point (SCP) - Contains centralized network databases for providing
enhanced services. An SCP accepts queries from an SP and returns the requested information
to the originator of the query. For example, when an 800 call is initiated by a user, the
originating SP sends a query to an 800 database (at the SCP) requesting information on how to
route the call. The SCP returns the routing information to the SP originating the query and the
call proceeds.
Service Switching Point (SSP) - A signaling point in a switching office, either a local
exchange or a tandem office. An SSP has the capability to control voice circuits via a voice
switch. The SSP can either integrate the voice switch or can be an adjunct computer to the
voice switch.
Network elements are interconnected using signaling links. A signaling link is a bidirectional
transmission path for signaling, comprised of two data channels operating together in opposite
directions at the same data rate. The standard rate on a digital transmission channel is 56 or 64
17
SS7 Overview
kilobits per second (kbps), although the minimum signaling rate for call control applications is 4.8
kbps. Network management applications may use bit rates lower than 4.8 kbps.
Figure 1 shows an example of an SS7 network that carries signaling information for the underlying
PSTN network nodes.
Figure 1. Signaling and Information Transfer Networks
SCP
SCP
STP
STP
SP
User
LE
SP
User
LE
STP
STP
SP
SP
LE
LE
SP
TC
PSTN Nodes:
LE - Local Exchange
TC - Transfer Center
SP
LE
SP
TC
SS7 Nodes:
SP - Signaling Point
STP - Signal Transfer Point
The signaling network is independent of the circuit-switched network. Signaling links can be
physically located on trunks that carry voice circuits, but can also be completely independent, or
even use a different transmission medium (for example, serial V.35). SSPs are the bridges between
both networks.
To ensure reliable transfer of signaling information in an environment susceptible to transmission
disturbances or network failures, an SS7 network employs error detection and error correction on
each signaling link. An SS7 network is normally designed with redundant signaling links and
includes functions for the automatic diversion of signaling traffic to alternative paths in case of link
failures.
Another type of network element that appears in an Intelligent Network (IN) is the Intelligent
Peripheral (IP). An IN is a service-independent telecommunications network, that is, a network in
which intelligence is taken out of the switch and placed in computer nodes that are distributed
throughout the network. An IP is an SP that provides enhanced services to the SSP, usually under
18
SS7 Overview
control of an SCP. Those services range from providing user-input prompts and collecting digits to
providing a complete service application.
1.2
OSI Model
OMAP
ASEs
Application
TCAP
TUP
Presentation
ISUP
Session
Transport
SCCP
Network
MTP3
NSP
MTP
MTP2
Data Link
MTP1
Physical
Legend:
OMAP - Operations Maintenance Application Part
ASEs - Application Service Elements
TCAP - Transaction Capabilities Application Part
ISUP - ISDN User Part
TUP - Telephony User Part
SCCP - Signaling Connection Control Part
MTP - Message Transfer Part
NSP - Network Service Part
19
SS7 Overview
1.2.1
characteristics of the signaling links. MTP1 corresponds to the physical layer of the OSI
model.
MTP2, also called the signaling link layer, is a data link control protocol that provides for the
reliable sequenced delivery of data across a signaling data link. MTP2 corresponds to the data
link layer of the OSI model.
MTP3, also called the signaling network layer, provides for routing data across multiple
STPs from control source to control destination. MTP3 corresponds to a part of the network
layer of the OSI model.
The connectionless nature of the MTP provides a low-overhead facility tailored to the requirements
of telephony. However, the MTP does not provide all the services of the corresponding OSI
network layer. To support Integrated Services Digital Network (ISDN) applications such as
network management that requires expanded addressing capability and reliable message transfer, a
separate module is provided:
Signaling Connection Control Part (SCCP), defines a wide variety of network-layer
services. SCCP corresponds to part of the network layer of the OSI model.
The MTP and the SCCP together form the Network Service Part (NSP). The resulting split in OSI
network functions between MTP and SCCP has the advantage that the higher-overhead SCCP
services can be used only when required, and the more efficient MTP services can be used in other
applications.
1.2.2
services as well as ISDN supplementary services having end-to-end significance. ISUP is the
protocol that supports ISDN in the public switched telephone network. It corresponds to the
transport, session, presentation, application layers and part of the network layer of the OSI
model.
Telephony User Part (TUP), an ISUP predecessor in providing telephony signaling functions.
TUP has now been made obsolete by ISUP in most countries and in the international network.
The TUP corresponds to the transport, session, presentation, application layers and part of the
network layer of the OSI model.
20
SS7 Overview
functions and messages related to operations and maintenance. The OMAP corresponds to the
application layer in the OSI model.
Application Service Elements (ASEs), represent user parts that are highly application-
21
SS7 Overview
22
This chapter describes the Dialogic Global Call Software architecture when using SS7 technology
and provides a high-level description of how the Global Call API can be used to develop call
control applications that use SS7. Topics include:
Using Dialogic Global Call Software with SS7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Architecture Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Dialogic SS7 Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Dialogic Global Call SS7 Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
SS7 Protocol Stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.1
The SS7 signaling system is a packet-switched data network that forms the backbone of the
international telecommunications network. SS7 plays an important role in both wireline and
wireless networks. SS7 provides two basic types of services:
Call Control - SS7 provides fast and reliable common channel or out-of-band signaling for
call control. At the heart of the SS7 call control function is a network of highly-reliable packet
switches called Signal Transfer Points (STPs).
Intelligent Network - The SS7 network enables the implementation of Intelligent Network
(IN) and Advanced Intelligent Network (AIN) services. SS7 messages traverse STPs and enlist
the use of Service Control Points (SCPs), Service Switching Points (SSPs), and Intelligent
Peripherals to deliver these services to the user.
Dialogic Global Call Software provides a common call control interface for applications,
regardless of the signaling protocol needed to connect to the local telephone network. This manual
describes the use of Global Call Software to perform call control functions in a network that
supports SS7 signaling.
For SS7 and other protocols, Global Call Software provides a higher level of abstraction for call
control, shielding application developers from the need to deal with the low-level details.
Note:
Global Call Software covers only the call control aspects of SS7. It does not provide an API for
other user parts such as TCAP and INAP.
Currently, Global Call SS7 Software supports the ISUP protocol (ANSI version T1.609,
ITU versions Q.761 to Q.764 and Q.767), TUP protocol, and BICC protocol.
23
Global Call Software supports the SS7 solutions implemented using Dialogic SS7 hardware and
software. Solutions are based on the following hardware and software components:
Note:
For up-to-date information on supported hardware, refer to the Release Guide and Release Update
for your Dialogic Software release.
SS7 Interface Boards: Dialogic SS7SPCI4, SS7SPCI2S, and SS7HDP (PCI), and
Note:
2.1.1
The Dialogic SS7SPCI4 and SS7SPCI2S (PCI) Boards can be licensed for 1024, 2048, or 4096
circuits. Dialogic SS7HDP (PCI), and Dialogic SS7HDCS8, SS7HDCD16, and SS7HDCQ16
(CompactPCI) Boards can be licensed for 8192 or 32,768 circuits. The Dialogic SIUs can be
licensed to handle up to 65,535 circuits. Contact Dialogic Support for information about licensing.
Notes: 1. Multiple Dialogic SS7 Boards can be configured and used under Global Call SS7 Software
control. The SS7 Boards are supported for carrying SS7 links or for clear channel. When using
multiple SS7 Boards under Global Call Software for carrying SS7 links, the ISUP and MTP3
layers have to run on the host (versus running on the board).
2. To support multiple boards, the device naming convention used in previous versions of Global
Call SS7 Software has been changed, and the revised naming convention has an impact on
systems with Dialogic SS7SPCI2S Boards. For further information, see Section 3.2.1, Trunk
Name Assignment, on page 39.
The Dialogic SS7SPCI4 and SS7SPCI2S Boards are PCI boards that feature four E1/T1 or two
E1/T1 interfaces, an H.100 PCM Highway, two serial network interfaces, and four SS7 links.
The Dialogic SS7HDP is an SS7 PCI board that provides up to four E1/T1 interfaces, V.11 (V.35compatible) serial ports, an H.110 PCM Highway, and 64 SS7 links.
The Dialogic SS7HDCS8 is an SS7 CompactPCI board that provides up to eight E1/T1 interfaces,
V.11 (V.35-compatible) serial ports, an H.110 PCM Highway, and 32 SS7 links.
The Dialogic SS7HDCD16 is an SS7 CompactPCI board that provides up to 16 E1/T1 interfaces,
V.11 (V.35-compatible) serial ports, an H.110 PCM Highway, and 64 SS7 links.
The Dialogic SS7HDCQ16 is an SS7 CompactPCI board that provides up to 16 E1/T1 interfaces,
V.11 (V.35-compatible) serial ports, an H.110 PCM Highway, and 128 SS7 links.
24
Figure 3, Figure 4, and Figure 5 show some configurations that use a Dialogic SS7 Board in
conjunction with other Dialogic Boards in a single chassis that in each case supports up to 256
ports. Table 1 summarizes the features and benefits of each configuration.
Dialogic SS7 Boards can also be used in conjunction with Dialogic HMP Digital Network
Interface (DNI) Boards. Figure 6 shows an example of a TDM-to-IP gateway.
Table 1. Dialogic SS7 Board Example Configurations - Features and Benefits
Example
Configuration
Dialogic SS7
Board Configuration
1
Features
Benefits
Dialogic SS7
Board Configuration
2
Application
DM/V960-4T1
CT Bus
DM/V960-4T1
E1/T1
T1 *
Dialogic
DM/V2400A
Board
Dialogic
SS7 PCI or CompactPCI
Board
SS7
T1 *
Legend:
SS7 Signaling
Voice Channels
25
Application
DM/V960-4T1
CT Bus
DM/V960-4T1
Dialogic
DM/V960-4T1
Board
Dialogic
SS7 PCI or CompactPCI
Board
T1 *
SS7
T1 *
T1 *
Legend:
SS7 Signaling
Voice Channels
26
Application
DM/V960-4T1
CT Bus
DM/V960-4T1
SS7
V.35 Link
T1 *
T1 *
Dialogic
DM/V2400A
Board
Dialogic
SS7 PCI or CompactPCI
Board
Legend:
SS7 Signaling
Voice Channels
Note:
The V.35 signaling is actually done via two V.11 ports using a using 26-pin D-type connector. See
the documentation accompanying the Dialogic SS7 Board for more detailed information.
Figure 6. TDM-to-IP Gateway Using Dialogic SS7 and HMP DNI Boards
TDM-to-IP Gateway
SIP-SS7 Application
(TDM-to-IP Gateway)
IP Network
3rd Party
SIP Stack
NIC
SIP
+
RTP
IPML
HMP
Media
HMP
RTP
Global Call
SIP
Stack
H.323
Stack
GCSS7
CT Bus
ISUP + G.711
G.711
PSTN
(voice)
Dialogic
DNI1200TEPHMP Board
Dialogic
SS7 PCI Board
Legend:
Protocol
27
2.1.2
Dialogic SS7G22
Signaling cards
3**
Links
12
128 (max)
Linksets
12
64
Call rate
450 calls/sec*
4000 calls/sec*
* Call rates can depend on issues in the network such as the way in which
signaling is presented. The values should not be considered absolute.
** SS7HDP high-density SS7 Boards
SS7 signaling is extracted from the E1 or T1 trunks into the system, and the voice circuits can be
passed transparently to the outgoing E1 or T1 ports. Alternatively, signaling can be connected
using V.35 serial links. Signaling information is automatically distributed by the SIU, via TCP/IP,
to the host that controls the telephony circuits. Typically this is the system where the voice trunks
are terminated on Dialogic Interface Boards.
Two SIUs can be configured to share up to four local point codes, providing fully resilient
operation within up to four local point codes. In normal operation, signaling can be load-shared
across the two SIUs. Then, if one unit fails, the remaining unit handles all signaling. Multiple hosts
can be connected to a single SIU, or to a resilient SIU pair, allowing large systems to be built.
Figure 7, Figure 8, and Figure 9 show some configurations using the SIU in conjunction with
Dialogic Boards. (The SIU can also be used in conjunction with Dialogic HMP DNI Boards.)
Table 3 summarizes the features and benefits of each configuration.
Table 3. SIU Example Configurations - Features and Benefits
Example
Configuration
SIU
Configuration 1
Features
V.35 SS7 connection to SIU (SS7G21)
Additional E1/T1 B channels are connected to
voice resources on media servers
SS7 signaling terminated on an SIU
SIU distributes SS7 information to media servers
over TCP/IP
28
Benefits
Manage greater number of channels
than a single board
Reduced maintenance cost due to
smaller overhead relative to
management of more circuits
Features
Benefits
Application
TCP/IP
SS7 over TCP/IP
CT Bus
SIU
Dialogic
DM/V960-4T1
DM/V1200-4E1
E1/T1
E1/T1
E1/T1
(Bearer
Only)
Application
Platform
Application
CT Bus
E1/T1
E1/T1
E1/T1
Legend:
SS7 Signaling
Voice Channels
Dialogic
DM/V960-4T1
DM/V1200-4E1
(Bearer
Only)
29
TCP/IP
SS7
Signaling
E1/T1
Application
CT Bus
SIU
E1/T1
E1/T1
E1/T1
Dialogic
DM/V960-4T1
DM/V1200-4E1
E1/T1
Application
Platform
Application
CT Bus
Legend:
SS7 Signaling
Voice Channels
Dialogic
DM/V960-4T1
DM/V1200-4E1
E1/T1
E1/T1
E1/T1
30
E1/T1
E1/T1
Dialogic
DM/V960-4T1
DM/V1200-4E1
E1/T1
Application
Platform
SIU #2
E1/T1
Dialogic
DM/V960-4T1
DM/V1200-4E1
E1/T1
E1/T1
Legend:
SS7 Channel
Voice Channels
management)
Dual SS7 links to separate SIUs (for dual point-code management)
SS7 distributed through a single or separate TCP/IP connection
Note:
To arrange for this setup, you are using two E1 or T1 lines out of the SIU Boards. This means that
you are using one of the available slots of the SIU to pass the voice channels and signaling back out
from one SIU to the other. Therefore, depending on the amount of bandwidth being administered,
you might need additional daughterboards.
See the documentation accompanying the Dialogic SS7G21 or SS7G22 product for more detailed
information.
2.1.3
31
MTP is supplied with all SIUs. MTP is available as an option for the Dialogic SS7 Boards.
Multiple country and switch variants are also available.
Note:
2.2
Architecture Overview
Figure 10 is a high level view of the Dialogic Global Call Software architecture and shows how
Global Call Software is used to provide a common call control interface for a variety of network
interface technologies including E1 CAS, T1 robbed bit, analog, ISDN, R4 on DM3, and SS7.
Application
CAS
Call Control
ISDN
Call Control
R4 on DM3
Call Control
SS7
Call Control
Dialogic
DM3 Boards
Dialogic
SS7 Hardware
Multiple interface technologies can be mixed within a single application, allowing, for example,
the connection to ISDN and SS7 trunks.
See the Dialogic Global Call API Programming Guide for more information about the overall
Global Call architecture.
32
For SS7, Global Call Software requires integration with the SS7 system environment software. The
environment software is based on a number of communicating modules. Each module is a separate
task, process, or program (depending on the operating system type) and has a unique identifier
called a module ID. Modules communicate with each other by sending and receiving messages.
Each module has a message queue for the reception of messages. This process is called Inter
Process Communication (IPC). See the SS7G2x SIU Mode User Manual for more information. See
also the SS7 Programmers Manual for SPCI4, SPCI2S and CPM8 or the SS7HD Programmers
Manual for more information on the software environment and the System7 Software Environment
Programmers Manual for more information on IPC. These manuals are accessible via
http://www.dialogic.com/support/helpweb/signaling/default.htm.
Global Call SS7 Software extends this architecture by providing a Dialogic SS7 server module
(with a configurable module ID, typically 0x4d) that can communicate with existing modules. This
assignment is automatically made by the SS7 server. An example of interaction of the Global Call
SS7 Software components is shown in Figure 11.
Figure 11. Dialogic Global Call SS7 Architecture
Application N
Application 1
Dialogic
Global Call API
Other Call
Control
Library
Dialogic
Voice API
Libgcs7
Libgcs7
...
Dialogic
Global Call API
Other Call
Control
Library
Dialogic
Voice API
Libgcs7
Libgcs7
MQ gcss7
Messages*
MQ gcss7
Messages*
Dialogic Global Call SS7 Server/Daemon
Messages
Note: * indicates the IPC mechanism used internally by Global Call SS7
Software for communication between the library and the server.
The figure shows how multiple applications can simultaneously use Global Call SS7 Software,
provided they do not attempt to control the same line devices (circuits).
The Dialogic SS7 Call Control Library is called Libgcs7 and is responsible for the
communication with other SS7 components in the system. Consequently, an application using
Global Call SS7 Software does not have to care about any of the lower-level aspects and can be
written to the standard Global Call API irrespective of the interface to the SS7 stack, hardware, or
communication mechanisms being used. The integration with the actual SS7 stack software
environment and the hardware only requires attention during the configuration phase.
For SS7, a Global Call line device maps directly to a telephony circuit in the PSTN. Calls made or
received on a circuit are assigned a Call Reference Number (CRN) that is used between the
33
application and the Global Call Software to identify the call, just like any other Global Call
network interface technology.
2.3
partner SIU)
Managing multiple application connections
The messages dispatched by the Dialogic SS7 Server are handled by Libgcs7, eventually
generating standard Global Call events to the application.
In Dialogic SS7 Board systems, time slots that are used for voice circuits on lines connected to
the SS7 Board are automatically assigned a transmit time slot on the CT Bus for Dialogic
SS7SPCI4, SS7SPCI2S, or SS7HDP (PCI) and Dialogic CMP8, SS7HDCS8, SS7HDCD16, or
SS7HDCQ16 (CompactPCI) Boards, allowing the application to perform routing of these time
slots by using the standard set of bus routing functions, without having to care about special aspects
of interconnecting Dialogic SS7 Boards with other Dialogic hardware in the system.
The SS7 signaling can be routed over the CT Bus and passed through a digital network interface
front end by the Dialogic SS7 Server as well.
2.4
See Chapter 8, SS7-Specific Function Information for a list of supported Global Call SS7 library
functions and how to use them in an SS7 environment.
34
2.5
35
36
Configuration of the SS7 environment and the Dialogic Global Call SS7 Software for operation in
that environment is described in the following topics:
SS7 System Environment Configuration (system.txt) . . . . . . . . . . . . . . . . . . . . . . . . . . 37
SS7 Protocol Stack Configuration (config.txt) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Dialogic Global Call SS7 Software Configuration (gcss7.cfg). . . . . . . . . . . . . . . . . . 44
Viewing Parameter Values with the Dialogic Configuration Manager . . . . . . . . . . . . 49
Configuring a Dialogic SS7 Board as a TDM Bus Master . . . . . . . . . . . . . . . . . . . . . 50
Configuring Dialogic Boards for SIGTRAN Signaling Support . . . . . . . . . . . . . . . . 52
Configuring Dialogic SS7 Boards for Clear Channel Mode. . . . . . . . . . . . . . . . . . . . 53
Starting a Dialogic SS7 Board System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Starting an SIU-Based System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Sample Configuration Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Note:
3.1
Circuit groups can also be added and deleted dynamically at runtime. For information, see
Section 5.3, Dynamically Adding and Deleting SS7 Circuit Groups, on page 106.
37
REDIRECT commands
These commands force the SS7 runtime system environment to redirect messages intended for
a specific destination module to a different module. For example, in a Dialogic SS7 Board
system, this is used to redirect messages for the ISUP module to the module that interfaces
with the board (ISUP is running on the board and not on the host).
Besides normal redirections for proper operation of the SS7 system software environment (see
sample configuration files and the Dialogic SS7 product documentation), a system
configured for Global Call SS7 should redirect status and management messages to the SS7
server.
In a Dialogic SS7 Board system, this is done using the following lines (assuming the SS7
server uses module ID 0x4d, the default value):
REDIRECT 0xdf 0x4d
* management messages
SS7 system environment trace messages can also be directed to the Global Call SS7 server.
This is convenient because it allows the synchronized logging of SS7 system environment
trace messages with ISUP, management, and other messages being logged in one log file. The
command to redirect SS7 system environment trace messages to the Global Call SS7 server is:
REDIRECT 0xef 0x4d
* trace messages
Note: Care must be taken to ensure that there is no s7_log module running with the 0xef
module ID, that is, there should not be a FORK_PROCESS ss7_log command left
uncommented in the system.txt file. There should never be more than one module
reading messages with the same module ID in the system. Failing to follow these
rules will result in unpredictable results or even unstable behavior in the system.
FORK_PROCESS commands
These commands tell the GCTLOAD program to spawn child processes. For example, with
Dialogic SS7 PCI and CompactPCI boards, this is used to start the SSDS module that
interfaces with the board, and to start the timer modules. On SIU host systems, it can be used
to launch the RSI module that is responsible for the TCP/IP communication with the SIU
units. A FORK_PROCESS command can also be used to automatically start S7_LOG, a
message logging tool that displays system status messages.
This tool is most useful when proving or debugging a configuration, because it provides a
visual indication of the PCM trunk status, the link status, and so on. However, when working
with the Dialogic Global Call SS7 Software, it can be easier to redirect all the trace messages
into the GCSS7 servers trace file and therefore have all the messages in one file with real
timestamps, avoiding the need to synchronize different logs for analysis. Care must be taken to
avoid having several modules reading messages for the same module ID; that is, when
redirecting 0xef to GCSS7 server, there should not be an S7_LOG utility running on the stem
reading messages for the same 0xef module ID. See Section 7.1, SS7 Call Control Library
Trace File, on page 125 for more information.
On SIU systems, FORK_PROCESS should only be used to start the RSI module. It should not
be used to issue the RSI link activation commands (RSICMD), because these are sent
automatically by the SS7 server.
Note: The Dialogic SS7 Software does not require any special FORK_PROCESS
commands.
38
It is possible to configure the SS7 server to launch the GCTLOAD program automatically. In
Dialogic SS7 Board systems, it is necessary to add the -i option to the S7_MGT program in order
to complete the startup sequence.
For example:
FORK PROCESS S7_MGT -i0x4d
Note:
3.2
The module ID specified in the example shown should be that of the SS7 server.
The following sections describe only aspects of the protocol stack configuration that are important
for operation with the Dialogic Global Call SS7 Software. See the Dialogic SS7 product
documentation at http://www.dialogic.com/support/helpweb/signaling/default.htm for detailed
explanations of all the commands in the config.txt file.
3.2.1
This revised naming convention has an impact on systems with one Dialogic SS7SPCI2S Board.
Previous versions of Global Call SS7 Software would have assigned the dkB2 and dkB3
devices names to the trunks of an SS7SPCI2S Board. With the trunk names now assigned
sequentially based on the LIU_CONFIG commands, the trunks of an SS7SPCI2S Board are
assigned the dkB1 and dkB2 device names (assuming the board is the first and only board in
the system).
39
3.2.2
Table 4. CT Bus Clock Configuration for Dialogic SS7 PCI and CompactPCI Boards
Configuration
CT Bus slave
Flags
0x00C2
Dialogic
0x0043
0x0042
Once the Dialogic SS7 Board has been configured, the Dialogic Configuration Manager can be
used to specify that the board is a TDM master. See Section 3.5, Configuring a Dialogic SS7
Board as a TDM Bus Master, on page 50 for more information.
3.2.3
MTP Configuration
When using a Dialogic SS7 PCI or CompactPCI Board that has links routed over the CT Bus, the
stream parameter should be set to 0x83, and the timeslot parameter should be set to 0 for the first
link, 1 for the second link, 2 for the third link, and 3 for the fourth link. The other parameters
should be set to the correct values for the link being configured.
MTP_LINK 0
MTP_LINK 1
0
1
0
0
0
0
0
0
0
1
0x83
0x83
0
1
0x06
0x06
For Dialogic SS7HD PCI or CompactPCI Boards, when the timeslot parameter is set to a nonzero value, the stream parameter is the logical identity of the E1/T1 LIU (liu_id) containing the
signaling link. It should be in the range 0 to one less than the number of LIUs. When connecting
signaling links to the CT Bus, the stream and timeslot parameters of the MTP_LINK command
are not required and should be set to 0.
MTP_LINK 0 0 2 2 0 1-4 0 0 0x0006
See Section 3.11, Sample Configuration Files, on page 61 for more information.
In the gcss7.cfg file, the corresponding links should be configured as well as providing the correct
Dialogic Board device names for every link being routed over the CT Bus. For example:
MtpLink <link_ID> <device_name>
40
where, <device_name> is the Dialogic DTI time slot device name (for example, dtiB1T1 or
dtiB1T31) on which the SS7 signaling link is present.
For E1 lines, physical time slot 16 on a network interface (DTI) board is usually reserved for
signaling, but is named dtiB1T31 (because physical time slot 17 is named dtiB1T16).
3.2.4
ISUP Configuration
There are two items that require special attention in the ISUP configuration for a system using
Dialogic Global Call SS7 Software.
The ISUP_CONFIG command must specify in its UserID argument that the module using the
ISUP component is the SS7 server. By default, the SS7 server uses module ID 0x4d.
Additionally, Global Call SS7 Software relies on a specific type of circuit release procedure in the
ISUP module. This is the procedure recommended, and it requires that bit 2 (ISPF_ACR) and bit 4
(ISPF_NAI) of the <options> argument of the ISUP_CONFIG command be set to 1. You must
also set bit 6 (ISPF_GSPS) to 1 for proper generation of GCEV_BLOCKED and
GCEV_UNBLOCKED events.
Consequently, a standard ISUP_CONFIG line for ITU operation looks like the following
(assuming Point Code 1 and a maximum of 2 circuit groups):
ISUP_CONFIG 1 0x08 0x4d 0x0474 2 64
Also, circuit groups are defined by the ISUP_CFG_CCTGRP command in the config.txt file. For
example:
* Configure ISUP circuit groups:
* ISUP_CFG_CCTGRP <gid> <dpc> <base_cic> <base_cid> <cic_mask> <options>
*
<user_inst> <user_id> <opc> <ssf> <variant> <options2>
ISUP_CFG_CCTGRP 0 2 0x01 0x01 0x3fffffff 0x001e 0 0x4d 1 0x8 0 0
ISUP_CFG_CCTGRP 1 1 0x01 0x21 0x3fffffff 0x001e 0 0x4d 2 0x8 0 0
ISUP_CFG_CCTGRP 2 2 0x21 0x41 0x7fff7fff 0x001e 0 0x4d 1 0x8 0 0
ISUP_CFG_CCTGRP 3 1 0x21 0x61 0x7fff7fff 0x001e 0 0x4d 2 0x8 0 0
ISUP_CFG_CCTGRP 4 2 0x41 0x81 0x7fffffff 0x001e 0 0x4d 1 0x8 0 0
ISUP_CFG_CCTGRP 5 1 0x41 0xa1 0x7fffffff 0x001e 0 0x4d 2 0x8 0 0
Because an application that uses the Global Call API opens circuits by giving their device name
(for example, dtiB1T1 for the first circuit on the first Dialogic DTI Board), Global Call SS7
Software requires that circuit groups that are being used by GCSS7 are configured in the gcss7.cfg
file also. This is done using the following command for each circuit group:
CGrp <gid> <trunk_name> [<base_TS>[<Pref_SIU>]]
where,
<gid>
Specifies the circuit group ID, which must match the corresponding group ID configured in the
config.txt file.
<trunk_name>
Specifies the physical device where the circuits in the group are terminated. This can be a
reference to a Dialogic Digital Network Interface Board, in which case the name is of the
41
form dtiBx (for example, dtiB1, dtiB2, and so on) or one of the trunks on a Dialogic SS7
Board, in which case the name is dkB1 for the first trunk and dkB2 for the second trunk. The
same name is used as a basis by the application for the network device name when it opens a
Global Call SS7 device. See Section 8.2.14, gc_OpenEx( ) Variances for SS7, on page 141
for details.
The following parameters are optional:
<base_Ts>
Specifies the first time slot of the trunk that corresponds to the first circuit of the group. This
time slot number is a true physical time slot number (1-31, for E1). If omitted, the first time
slot (number 1) is assumed.
Note: The <base_Ts> parameter is especially useful when running ANSI ISUP over E1
trunks with, for example, two groups of 15 circuits on each E1 trunk; the second
circuit group would be configured with the same <trunk_name> as the first one, but
with <Base_Ts>=17.
<Pref_SIU>
Specifies the default SIU for the group, that is, the SIU on which the group should be
preferably active (for load-balancing). Possible values are SIUA or SIUB. This parameter is
only valid for dual-resilient SIU configurations.
Each circuit group configuration command in the gcss7.cfg file must correspond to a circuit group
configuration command line in the config.txt file, that is, the group ID <gid> parameters should
match. For example, if the config.txt file contains the following circuit group definition commands:
* Configure ISUP circuit groups:
* ISUP_CFG_CCTGRP <gid> <dpc> <base_cic> <base_cid> <cic_mask> <options>
*
<user_inst> <user_id> <opc> <ssf> <variant> <options2>
ISUP_CFG_CCTGRP 0 2 0x01 0x01 0x3fffffff 0x001e 0 0x4d 1 0x8 0 0
ISUP_CFG_CCTGRP 1 1 0x01 0x21 0x3fffffff 0x001e 0 0x4d 2 0x8 0 0
ISUP_CFG_CCTGRP 2 2 0x21 0x41 0x7fff7fff 0x001e 0 0x4d 1 0x8 0 0
ISUP_CFG_CCTGRP 3 1 0x21 0x61 0x7fff7fff 0x001e 0 0x4d 2 0x8 0 0
ISUP_CFG_CCTGRP 4 2 0x41 0x81 0x7fffffff 0x001e 0 0x4d 1 0x8 0 0
ISUP_CFG_CCTGRP 5 1 0x41 0xa1 0x7fffffff 0x001e 0 0x4d 2 0x8 0 0
The Global Call SS7 Software also supports CAL_MSG_HEARTBEAT ISUP messages. For
details on how to configure the Detection of Failed Host Applications ISUP feature, see the ISUP
Programmers Manual. When using Global Call SS7 Software, it is recommended to use this
feature in multiple-host SIU-based systems only.
42
3.2.5
TUP Configuration
TUP configuration is achieved in much the same way as the ISUP configuration described in
Section 3.2.4, ISUP Configuration, on page 41, with the following differences:
In the system.txt file, there should be a REDIRECT command for the TUP module as follows:
REDIRECT
0x4A
0x20
*TUP Module
In the config.txt file, the appropriate binary should be downloaded and the corresponding
The options parameter is a 16-bit value containing global run-time options for the operation of
the TUP module. The meaning of each bit is as defined for the options parameter in the TUP
Configuration Request message described in the TUP Programmers Manual. For Dialogic
Global Call SS7 Software to function correctly, the following bits in the options argument
must be set:
bit 5 (TUPF_GSPS)
bit 6 (TUPF_ACR)
bit 15 (TUPF_NAI)
Circuit groups are configured using the TUP_CFG_CCTGRP command (instead of the
ISUP_CFG_CCTGRP command for ISUP), and each corresponding circuit group used by
Global Call SS7 Software must also be configured in the gcss7.cfg file. See Section 3.2.4,
ISUP Configuration, on page 41 for an example.
3.2.6
BICC Configuration
For Bearer Independent Call Control (BICC) signaling protocol, configure the config.txt file as
follows:
MTP_ROUTE user_part_mask - enable bit 13
ISUP_CFG_CCTGRP variant - set to 0xd
43
3.3
3.3.1
3.3.2
3.3.3
44
Service.GCTLOAD_Control
Determines if the GCTLOAD program should run automatically at startup. If set to Yes, the
SS7 server will try to start the GCTLOAD program automatically. The default value is No.
Note: This option should only be used after you have adapted and fully tested your
configuration since the GCTLOAD window, which provides very useful
configuration debugging information, is no longer displayed when this option is
enabled.
Service.GCTLOAD_Path
Contains the path to the GCTLOAD program file. This field must be set if the GCTLOAD
Control parameter is set to Yes. The default value (c:\septel for Windows or /usr/septel for
Linux) is commented out by default in the gcss7.cfg file and must be uncommented and
modified to point to the proper location.
Service.ModuleID
Defines the module ID used by the SS7 server. This must be one of the module IDs declared
LOCAL in the system.txt file. The default value is 0x4d. See Section 3.1, SS7 System
Environment Configuration (system.txt), on page 37.
Service.WatchDogMaxTime
Defines the maximum timeout (in seconds) for Global Call SS7 server-application keep-alive
(heartbeat) mechanism. The default value is 7 seconds. If this timer expires, the Global Call
SS7 server will assume that the application has failed and will terminate the IPC with the
application and block all the circuits. A value of 0 means the keep-alive mechanism is off.
Service.GroupCommandTimer
Defines the time interval to accumulate circuit group supervision requests (for example, reset,
block or unblock) for a circuit group. The default value is 500. Units are in milliseconds.
Service.IgnoreBCI
Inhibits the Dialogic Global Call SS7 Software from analyzing the Backward Call Indicator
(BCI) in incoming ACM messages and alerting the application of the call only when the
Called partys status indicator fields are set to Subscriber Free. When this parameter is set
to 1, the Global Call SS7 Software ignores the BCI content and always sends the
GCEV_ALERTING event to the application in response to an incoming ACM ISUP message.
The parameter setting applies to all circuits that are being controlled by a specific host. The
value specified by this parameter can be considered the default for the GCPR_IGNORE_BCI
parameter that can be set using the gc_SetParm( ) function (see Section 8.2.22,
gc_SetParm( ) Variances for SS7, on page 144). The default value is 0.
Service.CleanCidBit15
Recent versions of ISUP and TUP support up to 65,535 circuits per module, which means that
a 16-bit wide CID is necessary to address all of the configured circuits. The default value of
this parameter supports a backward-compatibility mode when the most significant bit is
ignored by the GCSS7 service. The default value is 1.
3.3.4
45
SeptelCard.Auto_Links_Activation
Determines if MTP links should be activated automatically. Possible values are All and None.
The default value is All.
Note:
3.3.5
46
SIU.FTP_Type
Specifies the type of file transfer protocol used by the Dialogic Global Call SS7 server to
retrieve configuration files from the SIUs when boards are downloaded. Currently, ftp and
ssh ftp (sftp) are supported. By default, this parameter is commented out in the gcss7.cfg file,
and the Global Call SS7 server uses regular ftp. To use sftp, uncomment the parameter to set
SIU.FTP_Type = SFTP.
Note: For sftp functionality on Linux systems, make sure the OpenSSH and OpenSSL
software is installed and that lftp and sftp are functional. If the OpenSSH software
does not come with your Linux operating system, you can download it from
http://www.openssh.com/. If the OpenSSL software does not come with your Linux
operating system, you can download it from http://www.openssl.org/.
If you are using Red Hat Linux Version 3.0 or earlier, you must upgrade the lftp software for
sftp support. Here are some steps to guide you in upgrading the lftp software:
1. Uninstall the current lftp software. To find out the name of the lftp package, run:
rpm -qa | grep lftp
2. Download the latest lftp src package (for example, lftp-3.7.3.tar.gz) from
http://lftp.yar.ru/get.html.
3. Untar the lftp source in an appropriate directory. Go to the lftp-3.7.3 to build and install
the lftp software. The instructions for building the lftp binaries are in the INSTALL text
file.
To compile this package:
cd to the directory containing the package's source code and type ./configure to
configure the package for your system. If you're using csh on an old version of
System V, you might need to type sh ./configure instead to prevent csh from trying
to execute configure itself. Running configure takes a while. While running, it
prints some messages telling which features it is checking for.
Type make to compile the package.
Optionally, type make check to run any self-tests that come with the package.
Type make install to install the programs and any data files and documentation.
4. Create a symbolic link to /usr/local/bin/lftp in the /usr/bin directory by running:
ln -s /usr/local/bin/lftp lftp
3.3.6
47
SIU.B.RemoteConfigDir
Defines the directory on SIU B in which the config.txt file is located. The default value is .
(the dot character).
SIU.Dual.SiuCommandTimeout
Specifies the timeout value to use when waiting for group activation or deactivation command
responses from an SIU. The default value is 5 seconds.
SIU.Dual.SiuUpDebounceTime
Specifies the time to use when detecting SIU availability. This debounce avoids undertaking
unnecessary actions in case of intermittent TCP/IP connection failures. The default value is
8 seconds.
SIU.Dual.MaxCmdRetries
Specifies the maximum number of times the SS7 server reattempts sending a group
(de)activation command to an SIU before declaring failure. A resend is required when the SIU
is already performing a command for another host system. The default value is 5 attempts.
SIU.Dual.TolerateCallTime
This parameter specifies the maximum amount of time (in seconds) for which the service
keeps calls in speech after control of a circuit group is transferred to another unit due to SIU
and/or RSI failure or restoration. This feature allows the complete restoration of the systems
normal functionality after any failure event on unit(s) or RSI link(s). The functionality covers
all cases of glare where the GCSS7 service does not receive or process the REL message from
the stack caused by RSI or SIU failure and recovery. The format of this parameter is Integer.
The default value is 600 seconds; 0 means the feature is off.
Note:
3.3.7
All the parameters for a single-SIU configuration are applicable to a dual-resilient system also.
Springware Board), in which case the name is of the form dtiBx (for example, dtiB1,
dtiB2, and so on)
one of the trunks on a Dialogic SS7 Board, in which case the name is of the form dkBx
(for example, dkB1 for the first trunk and dkB2 for the second trunk)
a virtual device, not tied to any physical board, in which case the name is of the form
dumBx. Virtual devices can be useful for testing purposes; for example, if there are not
enough boards in the system, you can create virtual devices without the need for hardware
for these circuits.
48
The same name is used as a basis by the application for the network device name when it opens
a Dialogic Global Call SS7 device. See Section 8.2.14, gc_OpenEx( ) Variances for SS7,
on page 141 for details.
<base_Ts> - An optional parameter that specifies the first time slot of the trunk that
corresponds to the first circuit of the group. This time slot number is a true physical time slot
number (1-31, for E1). If omitted, the first time slot (number 1) is assumed.
Note: The <base_Ts> parameter is especially useful when running ANSI ISUP over E1
trunks with, for example, two groups of 15 circuits on each E1 trunk; the second
circuit group would be configured with the same <trunk_name> as the first one, but
with <Base_Ts>=17.
<Pref_SIU> - An optional parameter that specifies the default SIU for the group, that is, the
SIU on which the group should be preferably active (for load-balancing). Possible values are
SIUA or SIUB. This parameter is only valid for dual-resilient SIU configurations.
3.4
Caution:
Using the Dialogic Configuration Manager to set parameters for Dialogic SS7 Boards or SIUs is
not supported. However, the Dialogic Configuration Manager can be used to view the values of a
number of key configuration parameters, such as the path to the gcss7.cfg file and the IP addresses
for SIUs.
Note:
The Dialogic Configuration Manager cannot be used to manually add a Dialogic SS7 Board or
SIU. Always allow the Dialogic system service to detect devices automatically.
3.4.1
3.4.2
SIU Parameters
In the Dialogic Configuration Manager main window, double-click on a Dialogic SIU device to
open the property sheets for that device. The property sheets window contains three property sheets
that are specific to SS7 SIUs.
The System property sheet contains the following parameter:
ConfigFile
Displays the path to the gcss7.cfg file that contains configurable parameters.
49
3.5
On Linux Systems
When using Dialogic System Release 6.1 for Linux (or later) to configure a Dialogic SS7 Board
as the primary TDM bus master, it is necessary to set the clock daemon mode to PASSIVE (by
default, the mode is set to ACTIVE). Proceed as follows:
1. Open the /usr/dialogic/cfg/dlgsys.cfg file.
2. Change the ClockDaemonMode field to PASSIVE.
The updated file should look like the following:
.
.
.
; The following parameters are
; ClockDaemonMode
;
ACTIVE
- Clock Daemon
;
PASSIVE
- Clock Daemon
;
DISABLED
- Clock Daemon
[TDMBus 0] {
;ClockDaemonMode
ClockDaemonMode
}
currently supported.
is started
is started in passive mode
is not started
: ACTIVE
: PASSIVE
The update above applies to all mixed system configurations when making a Dialogic SS7 Board
the primary TDM bus master. These include:
Dialogic SS7 and DM3 Boards in a mixed system configuration
Dialogic SS7 and Springware Boards in a mixed system configuration
Dialogic SS7, DM3, and Springware Boards in a mixed system configuration
50
The update also applies in systems where a third-party board is the TDM bus master, irrespective of
the mix of Dialogic SS7, DM3, and Springware Boards in the system.
Note:
When Dialogic Springware Boards are included in a mixed system, it is important to ensure that
all Springware Boards are configured in SLAVE clocking mode; otherwise, two boards will be
configured as TDM bus master in the system. For DM3 Boards, it is not as important to ensure that
all DM3 Boards are configured in SLAVE clocking mode, because the clocking daemon in
PASSIVE mode ensures that all DM3 Boards are in SLAVE clocking mode.
To ensure that each Springware Board is set in SLAVE clocking mode, check that the
PrimaryMaster field in the /usr/dialogic/cfg/dialogic.cfg configuration file is set to NONE for
each Springware Board.
If a DM3 or Springware Board is the primary TDM bus master, with the SS7 Board as a TDM
slave, the ClockDaemonMode parameter in the /usr/dialogic/cfg/dlgsys.cfg file must be set to
ACTIVE.
When configuring a system that includes Dialogic SS7 Boards with Dialogic DM3 and/or
Springware Boards, also make sure that the TDM bus encoding method is set to A-law or Mu-law
as appropriate (A-law for E1, Mu-law for T1). This is done with the Configuration Manager utility
on the TDM Bus Settings screen.
On Windows Systems
When the Dialogic Configuration Manager (DCM) is invoked, it is possible to set the Dialogic
SS7 Board as the primary master FRU. This is done as follows:
1. In DCM, double-click on Configured Devices.
2. Double-click on TDM Bus.
3. Double-click on Bus-0 to open the Properties window.
4. Scroll down and click on Primary Master FRU (User Defined).
5. In the Values field, choose the name of the Dialogic SS7 Board that you want to be the CT
Bus master.
6. Click OK, then close DCM.
Caution:
If a Dialogic SS7 Board is a CT Bus master and it is being removed from the DCM configuration
or the system, it is imperative to set another board as the CT Bus master before making the
configuration changes or removing the Dialogic SS7 Board from the system.
When configuring a system that includes Dialogic SS7 Boards with Dialogic DM3 and/or
Springware Boards, also make sure that the TDM bus encoding method is set to A-law or Mu-law
as appropriate (A-law for E1, Mu-law for T1). This is done with the Media Type (User Defined)
parameter on the TDM Bus Configuration property sheet in DCM.
51
3.6
Figure 12. Dialogic Global Call SS7 SIGTRAN Configuration Using Dialogic HMP DNI
Boards
TCP/IP
SS7 SIGTRAN
Signaling
Application
IP
CT Bus
DNI601TEPHMP
DNI601TEPHMP
E1/T1
E1/T1
E1/T1
Application
Platform
Application
CT Bus
Legend:
SS7 Signaling
Voice Channels
DNI601TEPHMP
DNI601TEPHMP
E1/T1
E1/T1
E1/T1
52
MTP3 over M2PA (MTP2 (Message Transfer Part 2) Peer-to-Peer Adaptation Layer)
This ISUP and MTP configuration remains the same in the config.txt configuration file. While
no LIU or board configuration is required, the application needs to add the necessary
SIGTRAN related configuration parameters. To enable M2PA signaling, the
System.Configuration parameter in the gcss7.cfg file must be set to UserPart.
See the sample system.txt and config.txt files in Section 3.11, Sample Configuration Files, on
page 61 for more information.
Note:
For Linux only: If the gc_Open( ) function fails, check the DlgcS7.log file and check for the
following trace:
MQSmsgq::MQSmsgq() msgget(... IPC_CREAT|0766) failed, errno=28
This indicates that a message queue has to be created but the system limit for the maximum number
of message queues (MSGMNI) would be exceeded. To find out the maximum number of message
queues (MSGMNI) on your system, issue the following command:
cat /proc/sys/kernel/msgmni
where n is the maximum number of message queues (MSGMNI) that you want the system to allow.
For example:
sysctl -w kernel.msgmni=32
3.7
53
channel mode. For example, 0x7fffffff for E1 or 0xffffff for T1 indicates that all time slots in
the trunk are to be used in clear channel mode.
For example:
# Clear Channel Group configuration.
# ClearGrp <"trunk_name"> <ts_mask>
ClearGrp dkB1 0x7fffffff
ClearGrp dkB2 0x7fffffff
ClearGrp dkB3 0x7fffffff
ClearGrp dkB4 0x7fffffff
See the sample system.txt and config.txt configuration files in Section 3.11, Sample Configuration
Files, on page 61 for more information.
Notes: 1. The following APIs are supported in clear channel mode:
gc_Attach( )
gc_AttachResource( )
gc_Close( )
gc_Detach( )
gc_GetNetworkH( )
gc_GetResourceH( )
gc_GetVoiceH( )
gc_GetXmitSlot( )
gc_Listen( )
gc_OpenEx( )
gc_Start( )
gc_Stop( )
gc_UnListen( )
2. None of the call control related APIs are supported for clear channel trunks (DTI mode) (for
example, gc_MakeCall( ), gc_WaitCall( ), gc_AnswerCall( ), etc.).
3. For clear channel circuits, if a call control function is issued, an error message is generated
indicating that the API is not supported. The error value EGC_UNSUPPORTED is the value
returned by Global Call Software when the gc_ErrorInfo( ) function is used to retrieve the error
code.
3.8
54
3.9
Starting the gctload program can be done manually by launching the gctload program from the
/usr/septel directory on Linux systems or the c:\Septel directory on Windows systems. It can also
be started automatically during the Dialogic system service startup as controlled by the
GCTLOAD_Control setting in the gcss7.cfg file. See Section 3.3, Dialogic Global Call SS7
Software Configuration (gcss7.cfg), on page 44 for more information.
Caution:
At least one SIU must be up and running when you start the service. This is required because the
configuration is read from the SIU.
Starting the system involves two steps:
1. Start the SS7 system software environment. This involves starting the gctload program,
which sets up the IPC (Inter Process Communication) and messaging system.
If the system.txt file is correctly configured, the gctload program loads the RSI module
responsible for communicating with the server(s). However, the actual connection to the
server(s) is made by the Dialogic SS7 server.
2. Start the Dialogic system service that automatically performs all initialization steps required
by the Dialogic Global Call SS7 system.
Note:
3.10
Starting the gctload program can be done manually by launching the gctload program from the
/usr/septel directory in Linux systems or the c:\Septel directory in Windows systems. It can also
be started automatically during the Dialogic system service startup as controlled by the
GCTLOAD_Control setting in the gcss7.cfg file. See Section 3.3, Dialogic Global Call SS7
Software Configuration (gcss7.cfg), on page 44 for more information.
Troubleshooting
This section provides information on troubleshooting problems encountered when configuring and
starting up a system. Topics include:
Proving the Configuration
55
3.10.1
3.10.1.1
.\SSDS.EXE -d
.\TIM_NT.EXE
.\TICK_NT.EXE
.\S7_MGT.EXE -d
.\S7_LOG.EXE -m0xef
2. Start GCTLOAD and watch out for any error messages (for example, Timeout waiting
for). The first part of the boot sequence should show messages similar to the following:
Reading from system configuration file: 'system.txt'
Created LOCAL module Id 0x20
Created LOCAL module Id 0x0
Created LOCAL module Id 0xcf
Created LOCAL module Id 0xef
Created LOCAL module Id 0x4d
Redirect module Id 0x81 to module Id 0x20
Redirect module Id 0x91 to module Id 0x20
Redirect module Id 0xe1 to module Id 0x20
Redirect module Id 0xf1 to module Id 0x20
Redirect module Id 0x10 to module Id 0x20
Redirect module Id 0x8e to module Id 0x20
Redirect module Id 0x23 to module Id 0x20
Redirect module Id 0x4a to module Id 0x20
Redirect module Id 0x33 to module Id 0x20
Redirect module Id 0x14 to module Id 0x20
Redirect module Id 0x22 to module Id 0x20
Redirect module Id 0xdf to module Id 0xef
(2788)gctload: Process (3180)'ssdh.exe' - forked by gctload
(2788)gctload: Process (2588)'tim_nt.exe' - forked by gctload
(2788)gctload: Process (2608)'tick_nt.exe' - forked by gctload
(2788)gctload: Process (1536)'s7_mgt.exe' - forked by gctload
(2788)gctload: Process (3992)'s7_log.exe' - forked by gctload
(2788)gctload: Initialisation complete
S7_MGT Tx: M-I0000-t7680-i0000-fcf-d20-s00-p(24)200000cf70637337332e646331000000
0000000000000010
ssdh: 16 boards
S7_MGT Rx: M-I0000-t3680-i0000-f20-dcf-s00-p(24)200000cf70637337332e646331000000
0000000000000010
S7_MGT Tx: M-I0000-t7681-i0000-fcf-d20-s00-p(26)0003000000007373372e646334000000
00000000000000000004
56
For Dialogic PCI and CompactPCI Boards, there should be an SS7 device. In Windows
2000, right click on My Computer, then choose Manage to open the Computer
Management dialog. Select Device Manager, then choose Show hidden devices from the
View menu. There should be an SS7 device, and you can check if it has started or not.
Note: If an SS7 device does not appear in the list, type net start Septel at the
command line.
At this point, the last thing you should see on the console is S7_MGT Boot Complete as a
final S7_MGT message:
.
.
.
S7_MGT Tx: M-I0000-t7312-i0000-fcf-d22-s00-p(32)00000309000000000000002000000000
00000000000000000000000000000000
S7_MGT Rx: M-I0000-t3312-i0000-f22-dcf-s00-p(32)00000309000000000000002000000000
00000000000000000000000000000000
S7_MGT Tx: M-I0000-t7312-i0000-fcf-d22-s00-p(32)0000022b010000000000002000000000
00000000000000000000000000000000
S7_MGT Rx: M-I0000-t3312-i0000-f22-dcf-s00-p(32)0000022b010000000000002000000000
00000000000000000000000000000000
S7_MGT Tx: M-I0000-t7700-i0000-fcf-d23-s00-p(40)0474004d4d22004d0001000a00020040
011005ef0000000000000000000000000000000000000000
S7L:I0000 M t0e23 i0000 f10 ddf s01
S7_MGT Rx: M-I0000-t3700-i0000-f23-dcf-s00-p(40)0474004d4d22004d0001000a00020040
011005ef0000000000000000000000000000000000000000
S7_MGT Tx: M-I0000-t7701-i0000-fcf-d23-s00-p(64)0000022b00000309000100007fff7fff
071e00004d004d00000000004d008500000000000000000000000000000000000000000000000000
0000000000000000
S7_MGT Rx: M-I0000-t3701-i0000-f23-dcf-s00-p(64)0000022b00000309000100007fff7fff
071e00004d004d00000000004d008500000000000000000000000000000000000000000000000000
0000000000000000
S7_MGT Tx: M-I0000-t7701-i0001-fcf-d23-s00-p(64)000003090000022b000100207fff7fff
071e00004d004d00000000004d008500000000000000000000000000000000000000000000000000
57
0000000000000000
S7_MGT Rx: M-I0000-t3701-i0001-f23-dcf-s00-p(64)000003090000022b000100207fff7fff
071e00004d004d00000000004d008500000000000000000000000000000000000000000000000000
0000000000000000
S7_MGT Boot complete
S7L:I0000 M t0e23 i0000 f10 ddf s03
S7L:I0000 M t0e23 i0000 f10 ddf s05
S7L:I0000 LIU Status : id=0 PCM OK
S7L:I0000 LIU Status : id=0 IN SYNC
S7L:I0000 LIU Status : id=0 AIS CLEARED
S7L:I0000 LIU Status : id=0 REMOTE ALARM CLEARED
S7L:I0000 LIU Status : id=1 PCM OK
S7L:I0000 LIU Status : id=1 IN SYNC
S7L:I0000 LIU Status : id=1 AIS CLEARED
S7L:I0000 LIU Status : id=1 REMOTE ALARM CLEARED
S7L:I0000 M t0e23 i0000 f10 ddf s02
3. Check that all messages on this last screen have a status of 0, indicating success. The status is
indicated as -sXX in each message, where XX is a hexadecimal number.
4. If, instead of the S7_MGT Boot complete message, you receive an S7_MGT: Timeout
occurred message, check that the firmware you have specified in your config.txt file
corresponds to the license button installed on the board.
5. Activate the MTP link(s) using the MTPSL tool (assuming linkset id 0 and link 0):
MTPSL ACT 0 0
If the MTP link is configured properly and activated at the adjacent point code and your
system is properly clocked, you should see messages similar to the ones below. The important
thing to check for is the presence of Destination available.
S7L:I00 MTP Event : linkset_id/link_ref=0000 Changeback
S7L:I00 MTP Event : linkset_id=00 Link set recovered
S7L:I00 MTP Event : linkset_id=00 Adjacent SP accessible
S7L:I00 MTP Event : point code=00000002
Destination available
If no other message appears on the console after a couple of minutes, you can reasonably
assume that your configuration is correct.
3.10.1.2
SIU Systems
For proving the configuration of an SIU-based system, follow the steps described in this section.
This description assumes a single host system connected to a single SIU.
1. Check that your system.txt file on the host system contains all standard LOCAL module
definitions and the following FORK_PROCESS commands:
FORK_PROCESS
FORK_PROCESS
.\S7_LOG.EXE -m0xef
.\RSI.EXE -r.\RSI_LNK.EXE -l1
58
When the SIU is booted, you should see the following messages on the S7_LOG screen (where
GCTLOAD is running):
S7L:I00 RSI_MSG_LNK_STATUS : Link 0 now down
S7L:I00 RSI_MSG_LNK_STATUS : Link 0 now up
The second message indicates that the host system is able to communicate with the SIU. If the
link remains down, check that all LEDs on the SIU are lit. Also check the IP address of the
SIU by doing a ping to it. If not all the LEDs are lit before establishing the TCP/IP link, it may
indicate a mistake in the configuration of the SIU (config.txt or system settings) or a hardware
problem. See the documentation for the specific SIU model for more information on
diagnosing and solving such problems.
Once the TCP/IP link between the host system and the SIU is established, the SIU will start
activating its MTP links. Messages similar to the following ones should appear on the console:
S7L:I00
S7L:I00
S7L:I00
S7L:I00
S7L:I00
The last message indicates that the destination point code (00000001 in this example) is
reachable. If you do not see this and the link is activated at the adjacent point code, check the
config.txt file on the SIU. Start by checking the point codes, the Signaling Link Code (SLC)
and Sub-Service Field (SSF) parameters.
3.10.2
3.10.2.1
Description
0x5001
0x5002
0x5003
0x5007
0x5009
0x500a
59
Description
Error initializing CardController, phase B;
Load DTI, activate links, route CT Bus etc.
0x500c
0x500d
0x500e
In Windows systems, view the system log using the NT Event Viewer. If there are several error
events, locate the one that happened first; it is likely to be the one with the more precise description
of the failure. Other error events are usually consequences of the first one.
Note:
3.10.2.2
It is always helpful to check the contents of the DlgcS7.log file in case the server fails to start.
3.10.2.3
In the resulting display, check that the SUBNET and the GATEWAY values are set correctly.
For details on configuring SIUs and all the MML commands, see the SS7G2x SIU Mode User
Manual, available for download via
http://www.dialogic.com/support/helpweb/signaling/default.htm.
3.10.2.4
60
2. Check that the file does not contain any 0x0d symbols, that is, carriage return (<cr>) symbols
that do not have a graphical representation in the ASCII table. If it does, remove all the 0x0d
symbols using a text editor.
3. Upload the corrected config.txt file back to the SIU and restart it.
3.10.2.5
If the variable is empty, set the appropriate value before starting the SS7 Server, for example:
export TZ=CST
3.11
Board
Sample config.txt File for a System with Circuits and Signaling on DTI Trunks
Sample system.txt File for a System with a Dialogic SS7HDP Board
Sample config.txt File for a System with Dialogic SS7HDP Board for Circuits and Signaling
on DTI Trunks
Sample system.txt File for a Single-SIU and Dual-SIU System
Sample config.txt File for a Single-SIU System with One Host
Sample config.txt File for a Single-SIU System with Two Hosts
Sample config.txt File for SIU A in a Dual-Resilient SIU System with a Single Host
Sample config.txt File for SIU B in a Dual-Resilient SIU System with a Single Host
Sample system.txt File for M3UA Configuration
Sample config.txt File for M3UA Configuration
Sample system.txt File for M2PA Configuration
Sample config.txt File for M2PA Configuration
Sample system.txt File for Clear Channel Operation
61
3.11.1
62
63
############################################################
# Parameters specific to Dual-Resilient SIU Configurations #
############################################################
# SIU B Parameters - See the same parameters for SIU.A
#SIU.B.IP_Address = "192.168.0.22"
#SIU.B.FTP_Account = "ftp"
#SIU.B.FTP_Password = "ftp"
#SIU.B.RemoteConfigDir = "."
# Max time (in seconds) to wait for group (de)activation command
# responses from SIU.
# Format: Integer, Default: 5
#SIU.Dual.SiuCommandTimeout = 5
# Debounce time (in seconds) for SIU Down indications
# Format: Integer, Default: 8
#SIU.Dual.SiuUpDebounceTime = 8
# Maximum number of retries for SIU group (de)activation commands
# Format: Integer, Default: 5
#SIU.Dual.MaxCmdRetries = 5
#############################################
# Parameters that are related to config.txt #
#############################################
# MTP Link source, link ID must match the value in config.txt.
# MtpLink <link_id> <"link_source">
# Circuit Group configuration, Group ID must match the value in config.txt.
# CGrp <gid> <"trunk_name"> [<base_TS> [<"Pref_SIU">]]
#
# End of gcss7.cfg
#
3.11.2
64
3.11.3
65
* ISUP Parameters:
*
* Configure ISUP module:
* ISUP_CONFIG <reserved> <reserved> <user_id> <options> <num_grps> <num_ccts>
ISUP_CONFIG 0 0 0x4d 0x0474 4 64
*
* Configure ISUP circuit groups:
* ISUP_CFG_CCTGRP <gid> <dpc> <base_cic> <base_cid> <cic_mask> <options>
*
<user_inst> <user_id> <opc> <ssf> <variant> <options2>
ISUP_CFG_CCTGRP 0 1 0x01 0x01 0x7fff7fff 0x001c 0 0x4d 2 0x8 0 0x00
ISUP_CFG_CCTGRP 1 1 0x21 0x21 0x7fff7fff 0x001c 0 0x4d 2 0x8 0 0x00
*
* End of file
*
Note:
The accompanying gcss7.cfg file should contain lines that correspond to the ISUP_CFG_CCTGRP
commands above, for example:
CGrp 0 dkB1
CGrp 1 dkB2
3.11.4
66
*
* Configure ISUP module:
* ISUP_CONFIG <reserved> <reserved> <user_id> <options> <num_grps> <num_ccts>
ISUP_CONFIG 0 0 0x4d 0x0474 4 64
*
* Configure ISUP circuit groups:
* ISUP_CFG_CCTGRP <gid> <dpc> <base_cic> <base_cid> <cic_mask> <options>
*
<user_inst> <user_id> <opc> <ssf> <variant> <options2>
ISUP_CFG_CCTGRP 0 1 0x01 0x01 0x7fff7fff 0x001c 0 0x4d 2 0x8 0 0x00
ISUP_CFG_CCTGRP 1 1 0x21 0x21 0x7fff7fff 0x001c 0 0x4d 2 0x8 0 0x00
*
* End of file
*
Note:
The accompanying gcss7.cfg file should contain lines that correspond to the MTP_LINK
commands above, for example:
MtpLink 0 dtiB1T31
MtpLink 1 dtiB2T31
and lines that correspond to the ISUP_CFG_CCTGRP commands above, for example:
CGrp 0 dtiB1
CGrp 1 dtiB2
3.11.5
67
REDIRECT
0xf1
0x20
* MTP2 module_id for SP 3 (SS7HD boards only)
REDIRECT
0x10
0x20
* CT bus/Clocking control module
REDIRECT
0x8e
0x20
* On-board management module
*
* Modules that optionally run on the board (all redirected via ssd):
*
REDIRECT
0x23
0x20
* ISUP module
REDIRECT
0x4a
0x20
* TUP module
REDIRECT
0x33
0x20
* SCCP module
REDIRECT
0x14
0x20
* TCAP module
REDIRECT
0x22
0x20
* MTP3 module
*
* Redirection of status indications:
*
REDIRECT
0xdf
0xef
* LIU/MTP2 status messages -> s7_log
*REDIRECT
0xdf
0x4d
* LIU/MTP2 status messages -> GCSS7
*REDIRECT
0xef
0x4d
* trace messages -> GCSS7
*
* Now start-up all local tasks:
*
(For PCCS6 start-up use ssd.exe and ssd_poll.exe,
*
for SPCI4/SPCI2S/CPM8 start-up use ssds.exe and
*
for SS7HD boards use ssdh.exe)
*
* FORK_PROCESS ssd.exe
* FORK_PROCESS ssd_poll.exe
*FORK_PROCESS
ssds.exe -d
FORK_PROCESS
ssdh.exe -d
FORK_PROCESS
tim_nt.exe
FORK_PROCESS
tick_nt.exe
FORK_PROCESS
s7_mgt.exe -d -i0x4d
FORK_PROCESS
s7_log.exe
*
*
********************************************************************************
3.11.6
68
* (Note: For Septel ISA (PCCS6) boards the first LIU port is stream=16
* whilst for Septel cP / PCI boards the first LIU port is stream=0)
* MTP_LINK <link_id> <linkset_id> <link_ref> <slc> <board_id> <blink>
*
<stream> <timeslot> <flags>
MTP_LINK 0 0 0 0 0 0-0 0x90
0
0x0006 * DM3 dtiB1 - to be routed over CT-Bus
MTP_LINK 1 1 0 0 0 1-0 0x90
0
0x0006 * DM3 dtiB2 - to be routed over CT-Bus
* MTP_ROUTE <dpc> <linkset_id> <user_part_mask>
MTP_ROUTE 777 0 0x0020
MTP_ROUTE 555 1 0x0020
*MTP_ROUTE
222
0x0020
3.11.7
69
3.11.8
Note:
The accompanying gcss7.cfg file should contain lines corresponding to the ISUP_CFG_CCTGRP
commands above, for example:
CGrp 0 dtiB1
CGrp 1 dtiB2
70
3.11.9
Note:
The accompanying gcss7.cfg file for host 0 should contain the following lines:
SIU.HostID = 0
CGrp 0 dtiB1
71
and the accompanying gcss7.cfg file for host 1 should contain the following lines:
SIU.HostID = 1
CGrp 1 dtiB1
3.11.10
72
Note:
The accompanying gcss7.cfg file should contain lines corresponding to the ISUP_CFG_CCTGRP
commands above, for example:
CGrp 0 dtiB1 1 SIUA
CGrp 1 dtiB2 1 SIUB
3.11.11
73
Note:
The accompanying gcss7.cfg file should contain lines corresponding to the ISUP_CFG_CCTGRP
commands above, for example:
CGrp 0 dtiB1 1 SIUA
CGrp 1 dtiB2 1 SIUB
3.11.12
74
FORK_PROCESS sctpd.exe
FORK_PROCESS sctp.exe
*
FORK_PROCESS m3ua_nt.exe -t
FORK_PROCESS isp_nt.exe -t
FORK_PROCESS mbm.exe -d
FORK_PROCESS s7_log.exe -m0xef
FORK_PROCESS s7_mgt.exe -d
*
* End of file
3.11.13
3.11.14
75
********************************************************************************
*
* Example System Configuration File (system.txt) for use with
* the Linux Development Package for SS7 Boards
*
* Edit this file to reflect your configuration.
*
********************************************************************************
*
* Essential modules running on host:
*
*LOCAL
0x20
* ssd/ssds/ssdh - Board interface task
LOCAL
0x00
* tim_xxx - Timer task
*
* Optional modules running on the host:
*
LOCAL
0xcf
* s7_mgt - Management/config task
LOCAL
0xc2
* mbm module
LOCAL
0xef
* s7_log - Display and logging utility
LOCAL
0x2d
* upe - Example user part task
LOCAL
0x4d
* GC SS7
*
* Modules that optionally run on the host:
*
LOCAL
0xd0
*SCTPD
LOCAL
0xd1
*SCTPD
LOCAL
0xc1
*M2PA
LOCAL
0x23
* ISUP module
LOCAL
0x22
* MTP3 module
*
* Redirection of status indications:
*
REDIRECT
0xdf
0xef
* LIU/MTP2 status messages -> s7_log
*
* Now start-up all local tasks:
*
(For PCCS6 start-up use ssd,
*
for SPCI4/SPCI2S/CPM8 start-up use ssds and
*
for SS7HD boards use ssdh)
*
FORK_PROCESS
tim_nt.exe
FORK_PROCESS
tick_nt.exe
FORK_PROCESS
sctpd.exe
FORK_PROCESS
sctp.exe
FORK_PROCESS
m2pa_nt.exe -t
FORK_PROCESS
mbm.exe
FORK_PROCESS
mtp_nt.exe -t
FORK_PROCESS
isp_nt.exe -t
FORK_PROCESS
s7_mgt.exe
FORK_PROCESS
s7_log.exe
*
*
********************************************************************************
3.11.15
76
*
********************************************************************************
*
cnsys:ipaddr=146.152.98.12,per=0;
snsli:snlink=1,ipaddr=146.152.98.15,snend=s,sntype=m2pa,m2pa=1,pport=3565;
*
* MTP parameters:
*
* MTP_CONFIG <reserved> <reserved> <options>
MTP_CONFIG 0 0 0x00000000
*
* Define linksets:
* MTP_LINKSET <linkset_id> <adjacent_spc> <num_links> <flags> <local_spc> <ssf>
MTP_LINKSET 0 2 2 0x0000 1 0x08
*
* Define signaling links:
* MTP_LINK <link_id> <linkset_id> <link_ref> <slc> <board_id> <blink>
*
<stream> <timeslot> <flags>
* Note 1: For PCCS6 boards the first LIU port is stream=16 whilst for other
* boards the first LIU port is stream=0.
* Note 2: The SS7HD board requires a compound parameter for blink of the form
* sp_id-sp_channel.
*
MTP_LINK 0 0 0 0 0 1 0 0 0x80000006
* Define a route for each remote signaling point:
* MTP_ROUTE <dpc> <linkset_id> <user_part_mask>
MTP_ROUTE 2 0 0x0020
*
* Define any user provided Layer 4 protocol:
* MTP_USER_PART <service_ind> <module_id>
*MTP_USER_PART 0x0a 0x2d
*
*
* ISUP parameters:
*
* Configure ISUP module:
* ISUP_CONFIG <reserved> <reserved> <user_id> <options> <num_grps> <num_ccts>
ISUP_CONFIG 0 0 0x4d 0x0435 4 64
*
* Configure ISUP circuit groups:
* ISUP_CFG_CCTGRP <gid> <dpc> <base_cic> <base_cid> <cic_mask> <options>
*
<user_inst> <user_id> <opc> <ssf> <variant> <options2>
ISUP_CFG_CCTGRP 0 2 0x01 0x01 0x7fff7fff 0x001c 0 0x4d 1 0x8 0 0x00
*
********************************************************************************
3.11.16
77
*
* Essential modules running on the board (all redirected via ssd):
*
REDIRECT
0x10
0x20
* CT bus/Clocking control module
REDIRECT
0x8e
0x20
* On-board management module
*
*
* Redirection of status indications:
*
*REDIRECT
0xdf
0xef
* LIU/MTP2 status messages -> s7_log
*REDIRECT
0xdf
0x4d
* LIU/MTP2 status messages -> GCSS7
*REDIRECT
0xef
0x4d
* trace messages -> GCSS7
*
* Now start-up all local tasks:
*
(For PCCS6 start-up use ssd.exe and ssd_poll.exe,
*
for SPCI4/SPCI2S/CPM8 start-up use ssds.exe and
*
for SS7HD boards use ssdh.exe)
*
* FORK_PROCESS ssd.exe
* FORK_PROCESS ssd_poll.exe
* FORK_PROCESS ssdh.exe
FORK_PROCESS
./ssds -d
FORK_PROCESS
./tim_lnx
FORK_PROCESS
./tick_lnx
FORK_PROCESS
./s7_mgt -d -i0x4d
FORK_PROCESS
./s7_log
* FORK_PROCESS upe.exe
3.11.17
3.11.18
78
LOCAL
0x20
* ssd/ssds/ssdh - Board interface task
LOCAL
0x00
* tim_nt - Timer task
*
* Optional modules running on the host:
*
LOCAL
0xcf
* s7_mgt - Management/config task
LOCAL
0xef
* s7_log - Display and logging utility
*LOCAL
0x2d
* upe - Example user part task
LOCAL
0x4d
* GC SS7 Service
*
* Modules that optionally run on the host
*
*LOCAL
0x23
* ISUP module
*LOCAL
0x4a
* TUP module
*LOCAL
0x33
* SCCP module
*LOCAL
0x14
* TCAP module
*LOCAL
0x22
* MTP3 module
*
* Essential modules running on the board (all redirected via ssd):
*
REDIRECT
0x71
0x20
* MTP2 module (except SS7HD boards)
REDIRECT
0x81
0x20
* MTP2 module_id for SP 0 (SS7HD boards
REDIRECT
0x91
0x20
* MTP2 module_id for SP 1 (SS7HD boards
REDIRECT
0xe1
0x20
* MTP2 module_id for SP 2 (SS7HD boards
REDIRECT
0xf1
0x20
* MTP2 module_id for SP 3 (SS7HD boards
REDIRECT
0x10
0x20
* CT bus/Clocking control module
REDIRECT
0x8e
0x20
* On-board management module
*
* Modules that optionally run on the board (all redirected via ssd):
*
only)
only)
only)
only)
REDIRECT
0x23
0x20
* ISUP module
* REDIRECT
0x4a
0x20
* TUP module
* REDIRECT
0x33
0x20
* SCCP module
* REDIRECT
0x14
0x20
* TCAP module
REDIRECT
0x22
0x20
* MTP3 module
*
* Redirection of status indications:
*
REDIRECT
0xdf
0x4d
* LIU/MTP2 status messages -> GCSS7
* REDIRECT
0xef
0x4d
* other/trace -> GCSS7
REDIRECT
0xdf
0xef
* LIU/MTP2 status messages -> s7_log
*
* Now start-up all local tasks:
*
(For PCCS6 start-up use ssd.exe and ssd_poll.exe,
*
for SPCI4/SPCI2S/CPM8 start-up use ssds.exe and
*
for SS7HD boards use ssdh.exe)
*
* FORK_PROCESS ssd.exe
* FORK_PROCESS ssd_poll.exe
* FORK_PROCESS ssds.exe
FORK_PROCESS ssdh.exe -d
FORK_PROCESS tim_nt.exe
FORK_PROCESS tick_nt.exe
FORK_PROCESS s7_mgt.exe -d -i0x4d
FORK_PROCESS s7_log.exe
* FORK_PROCESS upe.exe
*
*
********************************************************************************
79
3.11.19
80
3.11.20
0x00
0x00
3.11.21
81
***
* SS7G21 SIU Protocol Configuration File (config.txt)
* Refer to the SS7G21 SIU Developer's Manual.
***
*
SIU_HOSTS <num_hosts> <backup_mode>
SIU_HOSTS
1
0
***
* SS7_BOARD <bpos> <board_type> <flags>
SS7_BOARD 1 SPCI2S 0x0041
*
* LIU_CONFIG <port_id> <pcm> <liu_type> <line_code> <frame_format> <crc_mode> <syncpri>
LIU_CONFIG 0 1-3 5 1 1 1 1
LIU_CONFIG 1 1-4 5 1 1 1 2
**
* MTP Parameters:
* MTP_CONFIG <reserved1> <reserved2> <options>
MTP_CONFIG 0x0 0x0 0x0000
*
* Define linksets:
*
MTP_LINKSET [<nc_id>] <linkset_id> <adjacent_spc> <num_links> <flags> <local_spc> <ssf>
MTP_LINKSET NC0 0 2 2 0x0000 1 0x8
*
* Define signaling links:
* MTP_LINK <link_id> <linkset_id> <link_ref> <slc> <bpos> <blink>
* <bpos2> <stream> <timeslot> <flags>
MTP_LINK 0 0 0 0 1 0 1 2 16 0x0006
MTP_LINK 1 0 1 1 1 1 1 3 16 0x0006
*
* Define a route for each remote signaling point:
*MTP_ROUTE [<nc_id>] <route_id> <dpc> <linkset_id> <user_part_mask> <flags> <second_ls>
<reserved>
MTP_ROUTE NC0 0 2 0 0x0028 0 0 0
**
* ISUP Parameters:
* Configure ISUP module:
* ISUP_CONFIG <local_pc> <ssf> <user_id> <options> <num_grps> <num_ccts>
ISUP_CONFIG 1 0x08 0x4d 0x0474 2 64
*
* Configure ISUP circuit groups:
* ISUP_CFG_CCTGRP [<nc_id>] <gid> <dpc> <base_cic> <base_cid> <cic_mask> <options>
* <host_id> <user_id> <opc> <ssf> <variant> <options2>
ISUP_CFG_CCTGRP 0 2 0x01 0x01 0x7fff7fff 0x0003 0 0x4d 1 0x08 0 0
ISUP_CFG_CCTGRP 1 2 0x21 0x21 0x7fff7fff 0x0003 0 0x4d 1 0x08 0 0
*
* SCCP_CONFIG <local_spc> <ssf> <options>
SCCP_CONFIG 1 0x8 0x0106
*
Define SCCP Remote Signaling Points
*
SCCP_SSR [<nc_id>] <ssr_id> RSP <remote_spc> <rsp_flags> [<pc_mask>]
SCCP_SSR
NC0
1
RSP
2
0
*
*
Define SCCP Local Sub-Systems
*
SCCP_SSR [<nc_id>] <ssr_id> LSS <local_ssn> <module_id> <lss_flags> <protocol>
*
SCCP_SSR
NC0
2
LSS
0xfc
0x5d
0
INAP
*
*
Define SCCP Remote Sub-Systems
*
SCCP_SSR [<nc_id>] <ssr_id> RSS <remote_spc> <remote_ssn> <rss_flags>
*
SCCP_SSR
NC0
3
RSS
2
0xfa
0
*
Configure TCAP
*
TCAP_CONFIG <base_ogdlg_id> <nog_dialogues> <base_icdlg_id> <nic_dialogues> <options>
<dlg_hunt> <addr format>
*
TCAP_CONFIG
0
2000
0x8000
2000
0
0
*
Configure INAP
*
INAP_CONFIG <options>
82
*
INAP_CONFIG
*
* End of file
*
3.11.22
0x0002
83
3.11.23
84
85
86
4.
This chapter describes some common call setup and call release scenarios when using SS7
technology. The first topic below describes how the scenarios are presented in this chapter, and
subsequent topics describe each specific scenario:
Scenario Presentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Opening a Device Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Application-Initiated Outbound Call Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Network-Initiated Inbound Call Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Disconnect Scenarios. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Call Collision Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Continuity Testing Scenarios. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
4.1
Scenario Presentation
Each scenario is presented in tabular format. The tables provide the following information:
Application - Shows functions issued by the application (::>).
Libgcs7 - Shows SS7 call control library activities including Dialogic Global Call Software
events sent to the application (<::) and messages sent to the Dialogic Global Call SS7 server
(==>)
Server - Shows Dialogic Global Call SS7 server activities including messages sent to the
Dialogic Global Call SS7 library (<==) and messages sent to the SS7 stack (-->).
Stack - Shows SS7 stack activities including messages received from the SS7 stack (<--).
4.2
87
Libgcs7
Server
Stack
gc_OpenEx( ) ::>
Open_REQ ==>
<== Open_CONF
4.3
4.3.1
Libgcs7
Server
Stack
gc_MakeCall( ) ::>
MakeCall_REQ ==>
IAM -->
<-- ACM
<== Alerting_IND
<:: GCEV_ALERTING
<-- ANM
<== Connected_IND
<:: GCEV_CONNECTED
4.3.2
Libgcs7
Server
Stack
gc_MakeCall( ) ::>
MakeCall_REQ ==>
88
Table 8. Alternative Outbound Call Scenario for ITU-T Operation Only (Continued)
Application
Libgcs7
Server
Stack
IAM -->
<-- CON
<== Connected_IND
<:: GCEV_CONNECTED
4.3.3
Libgcs7
Server
Stack
gc_MakeCall( ) ::>
MakeCall_REQ ==>
IAM -->
<-- ACM
<-- CPG
<== Alerting_IND
<:: GCEV_ALERTING
<-- ANM
<== Connected_IND
<:: GCEV_CONNECTED
4.4
4.4.1
Libgcs7
Server
Stack
gc_WaitCall( ) ::>
WaitCall_REQ ==>
89
Libgcs7
Server
Stack
<-- IAM
<== Offered_IND
<:: GCEV_OFFERED
gc_AcceptCall( ) ::>
Accept_REQ ==>
<:: GCEV_ACCEPT
ACM -->
gc_AnswerCall( ) ::>
Answer_REQ ==>
<:: GCEV_ANSWERED
4.4.2
ANM -->
Libgcs7
Server
Stack
gc_WaitCall( ) ::>
WaitCall_REQ ==>
<-- IAM
<== Offered_IND
<:: GCEV_OFFERED
gc_AnswerCall( ) ::>
Answer_REQ ==>
<:: GCEV_ANSWERED
4.5
CON -->
Disconnect Scenarios
Details on the following scenarios are provided:
Application-Initiated Disconnect Scenario
Network-Initiated Disconnect Scenario
Server-Initiated Disconnect with Application Informed Scenario
Server-Initiated Disconnect with Application Not Informed Scenario
4.5.1
90
Libgcs7
Server
Stack
gc_DropCall( ) ::>
DropCall_REQ ==>
REL -->
<-- RLC
<== DropCall_CONF
<:: GCEV_DROPCALL
gc_ReleaseCallEx( ) ::>
<:: GCEV_RELEASECALL
4.5.2
Libgcs7
Server
Stack
<-- REL
<== Disconnect_IND
<:: GCEV_DISCONNECTED
REL -->
gc_DropCall( ) ::>
DropCall_REQ ==>
RLC -->
<-- RLC
<== DropCall_CONF
<:: GCEV_DROPCALL
gc_ReleaseCallEx( ) ::>
<:: GCEV_RELEASECALL
4.5.3
91
Libgcs7
Server
Stack
<== Disconnect_IND
<:: GCEV_DISCONNECTED
gc_DropCall( ) ::>
DropCall_REQ ==>
REL -->
<-- RLC
<== DropCall_CONF
<:: GCEV_DROPCALL
gc_ReleaseCallEx( ) ::>
<:: GCEV_RELEASECALL
4.5.4
Libgcs7
Server
Stack
<-- IAM
REL -->
<-- RLC
4.6
92
4.6.1
Glare Scenario
Table 12 shows a glare scenario.
Libgcs7
Server
Stack
gc_MakeCall(#1) ::>
MakeCall_REQ ==>
IAM -->
<-- IAM
<== Offered_IND
<:: GCEV_DISCONNECTED (#1)
<:: GCEV_OFFERED (#2)
gc_DropCall(#1) ::>
<:: GCEV_DROPCALL (#1)
gc_ReleaseCallEx(#1) ::>
<:: GCEV_RELEASECALL (#1)
Continue call setup (#2) ...
4.6.2
Libgcs7
Server
Stack
<-- REL
<== Disconnect_IND
<:: GCEV_DISCONNECTED (#1)
REL -->
gc_DropCall(#1) ::>
DropCall_REQ ==>
RLC -->
<-- RLC
<== DropCall_CONF
<:: GCEV_DROPCALL (#1)
<-- IAM
<== Offered_IND
<:: GCEV_OFFERED (#2)
93
Table 17. Inbound Call before Completion of Call Clearing Scenario (Continued)
Application
Libgcs7
Server
Stack
gc_ReleaseCallEx(#1) ::>
<:: GCEV_RELEASECALL (#1)
Continue call setup (#2) ...
4.6.3
Libgcs7
Server
Stack
<-- REL
<== Disconnect_IND
REL -->
gc_DropCall( ) ::>
Application must ignore
this event.
<:: GCEV_DISCONNECTED
DropCall_REQ ==>
RLC -->
<-- RLC
<== DropCall_CONF
<:: GCEV_DROPCALL
gc_ReleaseCallEx( ) ::>
<:: GCEV_RELEASECALL
Note: The two references to GCEV_DISCONNECTED in the table above represent one GCEV_DISCONNECTED event at
two different points in time; the first when the event is sent by the Libgcs7 library and the second when the event is received
by the application.
4.6.4
Libgcs7
Server
gc_DropCall( ) ::>
<-- REL
DropCall_REQ ==>>
94
Stack
<== Disconnect_IND
Libgcs7
Server
Stack
REL -->
Ignored Disconnect_IND <==
==> DropCall_REQ
RLC -->
<-- RLC
<== DropCall_CONF
<:: GCEV_DROPCALL
gc_ReleaseCallEx( ) ::>
<:: GCEV_RELEASECALL
4.6.5
Libgcs7
Server
Stack
gc_DropCall( ) ::>
DropCall_REQ ==>>
REL -->
<-- REL
RLC -->
<-- RLC
<== DropCall_CONF
<:: GCEV_DROPCALL
gc_ReleaseCallEx( ) ::>
<:: GCEV_RELEASECALL
4.6.6
95
Table 21. Disconnect Collision on GCT Queue with Application Not Informed
Application
Libgcs7
Server
Stack
<-- IAM
REL -->
<-- REL
RLC -->
<-- RLC
4.7
4.7.1
Libgcs7
Server
Stack
gc_Extension( ) ::>
(ext_id =
REQUESTCONTCHECK)
COT_Outbound_REQ ==>
<:: GCEV_EXTENSION
(ext_id = CONTCHECK)
SZE -->
(ANSI only; do
nothing)
<-- LPA
gc_Extension( ) ::>
(ext_id =
SENDCONTCHECKRESULT)
COT_Result_REQ ==>
96
Libgcs7
Server
Stack
REL -->
<-- RLC
<== DropCall_CONF
<:: GCEV_EXTENSION
(CONTCHECK_END)
4.7.2
Libgcs7
Server
Stack
<-- SZE
<== Detected_IND
<:: GCEV_DETECTED
<== ApplyLoop_IND
ApplyLoopback( )
(Internal)
LPA -->
(shortcut if ANSI)
<-- REL
<== RemoveLoop_IND
RemoveLoopback( )
(internal)
<== Disconnect_IND
<:: GCEV_DISCONNECTED
gc_DropCall( ) ::>
DropCall_REQ ==>
RLC -->
<-- RLC
<== DropCall_CONF
<:: GCEV_DROPCALL
gc_ReleaseCallEx( ) ::>
<:: GCEV_RELEASECALL
4.7.3
97
Table 24. Outbound Out-of-Call Continuity Test with One Failure Scenario
Application
Libgcs7
Server
Stack
gc_Extension( ) ::>
(ext_id =
REQUESTCONTCHECK)
COT_Outbound_REQ ==>
<:: GCEV_EXTENSION
(ext_id = CONTCHECK)
SZE -->
(ANSI only; do nothing)
<-- LPA
gc_Extension( ) ::>
(ext_id =
SENDCONTCHECKRESULT)
(failure)
COT_Result_REQ ==>
(failure)
COT -->
gc_Extension( ) ::>
(ext_id =
REQUESTCONTCHECK)
COT_Outbound_REQ ==>
<:: GCEV_EXTENSION
(ext_id = CONTCHECK)
SZE -->
(ANSI only; do nothing)
<-- LPA
gc_Extension( ) ::>
(ext_id =
SENDCONTCHECKRESULT)
COT_Result_REQ ==>
REL -->
<-- RLC
<== DropCall_CONF
<:: GCEV_EXTENSION
(ext_id = CONTCHECK_END)
4.7.4
Table 25. Inbound Out-of-Call Continuity Test with One Failure Scenario
Application
Libgcs7
Server
Stack
<-- SZE
<== Detected_IND
98
Table 25. Inbound Out-of-Call Continuity Test with One Failure Scenario (Continued)
Application
Libgcs7
Server
Stack
<:: GCEV_DETECTED
<== ApplyLoop_IND
ApplyLoopback( )
(internal)
LPA -->
(shortcut if ANSI)
failure
<-- COT
<-- REL
<== RemoveLoop_IND
RemoveLoopback( )
(internal)
RLC -->
<-- SZE
<== ApplyLoop_IND
ApplyLoopback( )
(internal)
LPA -->
(shortcut if ANSI)
<-- REL
<== RemoveLoop_IND
RemoveLoopback( )
(internal)
<== Disconnect_IND
<:: GCEV_DISCONNECTED
gc_DropCall( ) ::>
DropCall_REQ ==>
RLC -->
<-- RLC
<== DropCall_CONF
<:: GCEV_DROPCALL
gc_ReleaseCallEx( ) ::>
<:: GCEV_RELEASECALL
4.7.5
Libgcs7
Server
Stack
Continuity Check
Required...
99
Libgcs7
Server
Stack
<:: GCEV_EXTENSION( )
(ext_id = CONTCHECK)
IAM -->
(ANSI only; do nothing)
<-- LPA
gc_Extension( ) ::>
(ext_id =
SENDCONTCHECKRESULT)
COT_Result_REQ ==>
<:: GCEV_EXTENSION
(ext_id = CONTCHECK_END)
COT -->
(success)
4.7.6
Libgcs7
Server
Continuity Check
Required...
Stack
<-- IAM
<== Detected_IND
<:: GCEV_DETECTED
<== ApplyLoop_IND
ApplyLoopback( )
(internal)
LPA -->
(shortcut if ANSI)
<-- COT
(success)
<== RemoveLoop_IND
RemoveLoopback( )
(internal)
<== Offered_IND
<:: GCEV_OFFERED
Continue normal call setup...
4.7.7
100
Table 28. Outbound In-Call Continuity Test with One Failure Scenario (Old Method)
Application
gc_MakeCall( ) ::>
Libgcs7
Server
Stack
Continuity Check
Required...
<:: GCEV_EXTENSION
(ext_id = CONTCHECK)
IAM -->
(ANSI only; do nothing)
<-- LPA
gc_DropCall( ) ::>
(reason =
CONTCHECK_FAILED)
COT_Result_REQ ==>
(failure)
COT -->
gc_Extension( ) ::>
(ext_id =
REQUESTCONTCHECK)
COT_Outbound_REQ ==>
<:: GCEV_EXTENSION
(ext_id = CONTCHECK)
SZE -->
(ANSI only; do nothing)
<-- LPA
gc_Extension( ) ::>
(ext_id =
SENDCONTCHECKRESULT)
COT_Result_REQ ==>
<:: GCEV_EXTENSION
(ext_id = CONTCHECK_END)
REL -->
<-- RLC
<== AbortCall_IND
<:: GCEV_DROPCALL
gc_ReleaseCallEx( ) ::>
<::GCEV_RELEASECALL
4.7.8
101
Table 29. Outbound In-Call Continuity Test with One Failure Scenario (New Method)
Application
gc_MakeCall( ) ::>
Libgcs7
Server
Stack
Continuity Check
Required...
<:: GCEV_EXTENSION
(ext_id = CONTCHECK)
IAM -->
(ANSI only; do nothing)
<-- LPA
gc_Extension( ) ::>
(ext_id =
SENDCONTCHECKRESULT)
(failure)
COT_Result_REQ ==>
(failure)
COT -->
gc_Extension( ) ::>
(ext_id =
REQUESTCONTCHECK)
COT_Outbound_REQ ==>
<:: GCEV_EXTENSION
(ext_id = CONTCHECK)
SZE -->
(ANSI only, do nothing)
<-- LPA
gc_Extension( ) ::>
(ext_id =
SENDCONCHECKRESULT)
COT_Result_REQ ==>
<:: GCEV_EXTENSION
(ext_id = CONTCHECK_END)
REL -->
<-- RLC
<== AbortCall_IND
<:: GCEV_DISCONNECTED
gc_DropCall( ) ::>
<:: GCEV_DROPCALL
gc_ReleaseCallEx( ) ::>
<:: GCEV_RELEASECALL
4.7.9
102
Table 30. Inbound In-Call Continuity Test with One Failure Scenario
Application
Libgcs7
Server
Stack
Continuity Check
Required...
<-- IAM
<== Detected_IND
<:: GCEV_DETECTED
<== ApplyLoop_IND
ApplyLoopback( )
(internal)
LPA -->
(shortcut if ANSI)
<-- COT
(failure)
<-- REL
<== RemoveLoop_IND
RemoveLoopback( )
(internal)
RLC -->
<-- SZE
<== ApplyLoop_IND
ApplyLoopback( )
(internal)
LPA -->
(shortcut if ANSI)
<-- REL
<== RemoveLoop_IND
RemoveLoopback( )
(internal)
<== Disconnect_IND
<:: GCEV_DISCONNECTED
gc_DropCall( ) ::>
DropCall_REQ ==>
RLC -->
<-- RLC
<== DropCall_CONF
<:: GCEV_DROPCALL
gc_ReleaseCallEx( ) ::>
<:: GCEV_RELEASECALL
103
104
SS7-Specific Operations
5.
This chapter describes how the Dialogic Global Call Software is used to perform certain SS7specific operations. These tasks include:
Handling of Glare Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Controlling Priority in Circuit Groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Dynamically Adding and Deleting SS7 Circuit Groups . . . . . . . . . . . . . . . . . . . . . . . . 106
SCbus or CT Bus Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Connecting Multiple Hosts to SIUs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Using Dual Resilient SIU Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Using Overlap Send and Receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Suspending and Resuming Calls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Performing Continuity Checks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Sending and Receiving ISUP/TUP Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Handling Layer 1 Alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
5.1
Libgcs7
gc_MakeCall(crn1)
-->
GCEV_DISCONNECTED(crn1)
<-gc_DropCall(crn1)
-->
GCEV_OFFERED(crn2)
<--
This shows that an application running on bidirectional circuits should be ready to handle two
CRNs on a single line device. However, the application can be purely reactive with respect to the
105
SS7-Specific Operations
failed call (crn1) and just respond to events using their associated CRN: simply perform a
gc_ReleaseCallEx( ) upon reception of any GCEV_DROPCALL, whether the CRN is the active
one or not. Using this procedure, the application only needs to store one CRN per line device.
Another case of glare condition is at disconnection. If the application calls gc_DropCall( ) while a
GCEV_DISCONNECTED has already been put in the Dialogic Standard Runtime Library (SRL)
event queue, the application will receive it after it does gc_DropCall( ) when it is waiting for
GCEV_DROPCALL. This late GCEV_DISCONNECTED event must be ignored by the
application. The call control library will send the GCEV_DROPCALL as usual when the call is
dropped. Other glare conditions at disconnection are all hidden from the application.
5.2
The third scheme is the one recommended by the ITU (Q.764). With the SS7 stack, the priority
scheme can be selected in the <options> field of the ISUP_CFG_CCTGRP commands in the
config.txt file. Once priority has been given to one of the calls by the SS7 stack, upper software
layers (Dialogic Global Call SS7 Software and the application) must conform.
Because of the multiple layers of the software architecture and the asynchronous nature of the
communication between them, it is possible that collisions appear to exist even though there has
not been a true glare condition on the signaling link. For example, if the SS7 stack has posted an
IAM message for the Dialogic Global Call SS7 call control library but the application issues a
gc_MakeCall( ) before this message is received, the application will see the equivalent of a glare
condition: the outbound call will fail and the inbound call will be offered. This can happen
regardless of the configured priority scheme, even with priority given to outbound calls on all
circuits.
5.3
106
SS7-Specific Operations
The ability to add and delete SS7 circuit groups dynamically at runtime is provided by the
gc_SetConfigData( ) function with set ID SS7SET_ADD_CCTGRP for adding a circuit group and
set ID SS7SET_DEL_CCTGRP for deleting a circuit group. More details are given in the
following sections.
5.3.1
If the interval is exceeded, the update request is ignored. This parameter is supported in
synchronous mode only, and it is ignored when set to 0.
update_cond = ignored in Global Call SS7 Software
107
SS7-Specific Operations
request_idp = pointer to the location for storing the request ID, output from Global Call
Software
mode = EV_SYNC for synchronous execution
Example
#include
#include
#include
#include
#include
<stdio.h>
<srllib.h>
<gclib.h>
<gcerr.h>
<Libgcs7.h>
108
SS7-Specific Operations
}
/* Add a new circuit group with a_GroupID */
t_result = gc_SetConfigData(GCTGT_CCLIB_SYSTEM, GC_SS7_LIB, t_pParmBlk, 0,
GCUPDATE_IMMEDIATE, a_pRequestID, EV_SYNC);
if (t_result)
{
/* Process the error */
gc_util_delete_parm_blk(t_pParmBlk);
return t_result;
}
gc_util_delete_parm_blk(t_pParmBlk);
return t_result;
}
successfully.
Each gc_SetConfigData( ) function call allows the application to add or delete one circuit
group at a time.
The total number of circuit groups or the total number of circuits in the SS7 Board system
E1/T1 trunks.
The maximum number of circuits in a circuit group should not exceed 31 for E1 trunk or 24 for
T1 trunk.
All E1/T1 LIUs of SS7 Boards in the system to be used must be configured in config.txt (using
individual circuits.
Dynamic configuration of Global Call SS7 circuit groups is only supported in the SS7 Board
Global Call SS7 application is stopped, the newly added or deleted circuit group still remains
configured.
5.3.2
109
SS7-Specific Operations
ISP_MSG_END_GRP message.
To delete a circuit group, do the following:
1. Call gc_util_insert_parm_val( ) to insert {SS7SET_DEL_CCTGRP, SS7PARM_GRP_ID}
with integer value: GroupID.
2. Call gc_SetConfigData( ) with arguments set as follows:
target_type = GCTGT_CCLIB_SYSTEM
target_id = GC_SS7_LIB or 5
target_datap = GC_PARM_BLKP parameter pointer, as constructed by the utility
If the interval is exceeded, the update request is ignored. This parameter is supported in
synchronous mode only, and it is ignored when set to 0.
update_cond = ignored in Global Call SS7 Software
request_idp = pointer to the location for storing the request ID, output from Global Call
Software
mode = EV_ASYNC for asynchronous execution
Example
#include
#include
#include
#include
#include
<stdio.h>
<srllib.h>
<gclib.h>
<gcerr.h>
<Libgcs7.h>
110
SS7-Specific Operations
int main()
{
int t_RequestID = 0;
AddCircuitGrp(1, 555, 777, 1, 1,"dkB1", &t_RequestID);
DeleteCircuitGrp(1, &t_RequestID);
}
5.4
5.4.1
Routing Functions
The Dialogic Global Call SS7 Call Control Library (Libgcs7) supports the Global Call Software
routing functions (gc_Listen( ), gc_UnListen( ), and gc_GetXmitSlot( )). These functions are
available to user applications for performing routing of SS7 circuits regardless of their physical
location (for example, on a Dialogic Network Interface (DTI) Board or on a Dialogic SS7
Board). This allows the application to use one single set of functions without having to know where
the circuit is located (that is, on a DTI Board or on an SS7 Board).
The following functions are provided:
int gc_Listen(LINEDEV linedev, SC_TSINFO *sctsinfo_p, mode)
int gc_UnListen(LINEDEV linedev, mode)
int gc_GetXmitSlot(LINEDEV linedev, SC_TSINFO *sctsinfo_p, mode)
5.4.2
111
SS7-Specific Operations
5.4.3
0,0,0,1,20,1,
0,0,0,1,20,1,
0,0,0,1,20,1,
0,0,0,1,20,1,
1,1,3,15,
1,1,3,15,
1,1,3,15,
1,1,3,15,
16,17,3,15,
16,17,3,15,
16,17,3,15,
16,17,3,15,
31,16,3,1,
31,16,3,1,
31,16,3,1,
31,16,3,1,
0
0
0
0
Downloading the updated .config file generates the correct *_ts16.fcd file.
4. Start the Dialogic system service.
5.5
112
SS7-Specific Operations
5.6
5.7
To use gc_SendMoreInfo( ) for overlap sending, the GCST_SENDMOREINFO call state must be
enabled using the gc_SetConfigData( ) function. See the section on Call State Configuration in
the Dialogic Global Call API Programming Guide.
An older method of overlap sending is also still supported, that is, using the gc_SndMsg( )
function to send a Subsequent Address Message (SAM). See Section 8.2.23, gc_SndMsg( )
Variances for SS7, on page 145 for more information.
Two methods of overlap receiving are supported, the preferred method, and an older method
maintained for backward compatibility reasons only. Both methods are described below.
113
SS7-Specific Operations
received.
GCRV_INFO_NONE_TIMEOUT - No digits are available due to a timeout.
GCRV_INFO_NONE_NOMORE - No more digits are available.
To retrieve a certain number of digits at a time, specify that number in the dnis.accept field and
repeat steps 1, 2 and 3 above until all information has been retrieved.
See the Dialogic Global Call API Programming Guide for more detailed information on overlap
sending and receiving in general and the Dialogic Global Call API Library Reference for more
information about the functions mentioned above.
5.8
114
SS7-Specific Operations
state until a gc_RetrieveCall( ) is issued on the CRN for the call. The application receives a
GCEV_RETRIEVEACK event when this occurs.
If the action of suspending a call is initiated by the network (with an SS7 SUS message), the
application receives a GCEV_HOLDCALL event. When the network resumes the call, the
application receives a GCEV_RETRIEVECALL event. If the network decides to drop the call or
the call remains in the suspended state for too long, the application will not receive the
GCEV_RETRIEVECALL event but instead receives a GCEV_DROPCALL event. While a call is
in the suspended state, it can be dropped or released by the application.
Notes: 1. The call state, as returned by gc_GetCallState( ), for a suspended call is GCST_ONHOLD.
2. A suspended call can only be resumed by the side that originally put the call in the suspended
state. If a call has been placed in the suspended state by the network, the application cannot
resume the call using the gc_RetrieveCall( ) function. The gc_RetrieveCall( ) function will fail
if this is attempted. Similarly, if a call has been placed in the suspended state by the application,
an SS7 RES message from the network will not resume the call.
5.9
The parmblk field in the EXTENSIONEVTBLK structure contains additional information. The
parmblk field, which is of type GC_PARM_BLK, contains only one element of parameter data of
type GC_PARM_DATA. The set ID of this parameter is S7SET_CONTCHECK and the parameter
ID is S7PARM_CONTCHECK_TYPE. The parm_data_size is sizeof(int).
Note:
In earlier releases of the Dialogic Global Call SS7 Software, S7SET_ parameter sets and
S7PARM_ parameter IDs were defined with values that are different than the current release. An
application that uses the S7SET_ and S7PARM_ defines must be recompiled with the correct
header file from the current release.
In this feature, the gc_Extension( ) function does not require any GC_PARM_BLK data, except
when sending continuity check result and the outcome of the test must be sent. Also, the
gc_Extension( ) function does not return anything via the retblkp parameter.
5.9.1
115
SS7-Specific Operations
disconnects while it is in the Detected state (that is, before the call enters the Offered state), the
application receives a GCEV_OFFERED event with a result value of
GCRV_CALLABANDONED, then a GCEV_DISCONNECTED event.
5.9.2
5.9.2.1
116
SS7-Specific Operations
results of the check to the remote party. To achieve this, the application must build a
GC_PARM_BLK structure. The set_ID must be S7SET_CONTCHECK, the parm_ID must be
S7PARM_CONTCHECK_RESULT, and the parameter value must be either CONTI_SUCCESS or
CONTI_FAILURE.
If the function is called with CONTI_SUCCESS, the continuity check process is finished and the
application is notified by a GCEV_EXTENSION event with an ext_id of
S7_EXT_CONTCHECK_END and with a parameter value of S7RV_CCEND_OUTBOUND.
When the application receives this event, the line can be used for making or receiving calls.
If the function is called with CONTI_FAILURE, the remote side is waiting for a re-check, and
therefore the application does not receive a GCEV_EXTENSION event with an ext_id of
S7_EXT_CONTCHECK_END.
5.9.2.2
Caution:
If a failure result is sent to the other side, the other side will expect a re-check on the circuit.
Therefore, another call to gc_Extension( ) with an ext_id of S7_EXT_REQUESTCONTCHECK
should be issued by the application, until the continuity check succeeds. Alternatively, the
application could reset the circuit using gc_ResetLineDev( ) on the corresponding line device. In
this case, the application does not receive a GCEV_EXTENSION event, but receives a
GCEV_RESETLINEDEV event corresponding to the gc_ResetLineDev( ) function call.
117
SS7-Specific Operations
continuity check, for example, if the time waiting for the SS7 REL message at the remote side
expires.
If the parameter value is S7RV_CCEND_OUTBOUND_GLARE, a glare condition occurred,
for example, while seizing the line for a continuity check, an SS7 IAM message was received.
Caution:
5.10
When an ISUP/TUP message is received on the line device, a GCEV_EXTENSION event with an
ext_id of S7_EXT_ISUP_EVENT is generated. The application can retrieve the message
parameters using code similar to the following:
void getextevtdata(METAEVENT* a_me_p) {
int ext_id = ((EXTENSIONEVTBLK*)(a_me_p->extevtdatap))->ext_id;
if (S7_EXT_ISUP_EVENT == ext_id) {
GC_PARM_BLKP t_parmblk_p =
&(((EXTENSIONEVTBLK*)a_me_p->extevtdatap)->parmblk);
GC_PARM_DATAP t_parm_p =
gc_util_find_parm(t_parmblk_p, S7SET_ISUP_EVENT,
S7PARM_ISUP_EVENT_PARM);
if (t_parm_p) {
printf(" parm size=%d. 0x...", t_parm_p->value_size);
for (int i=0; i < t_parm_p->value_size; ++i) {
printf(" %02x", t_parm_p->value_buf[i]);
}
}
}
}
118
SS7-Specific Operations
For a GCEV_EXTENSION event that was caused by an unprocessed ISUP message, the
gc_GetSigInfo( ) function can be used instead of parsing the EXTENSIONEVTBLK data
structure, assuming that the GCPR_RECEIVE_INFO_BUF parameter has been set (by the
gc_SetParm( ) function) to enable the retrieval of the messages. See Section 8.2.11,
gc_GetSigInfo( ) Variances for SS7, on page 139 for more information.
5.11
5.11.1
GCAMS Support
The GCSS7 Library supports the Global Call Alarm Management System (GCAMS). This
provides applications with notification when layer 1 alarms are present and when the alarms have
cleared via GCEV_ALARM events. Applications have the ability to control the following:
Which alarms are blocking and non-blocking
Alarm flow (for example, notification of when the first alarm occurred and the last alarm
119
SS7-Specific Operations
span. This is because all the time slots on the span use the same ASO, and once you change the
ASO configuration it affects all the time slots.
2. For SS7 technology, the gc_TransmitAlarms( ) and gc_StopTransmitAlarms( ) functions are
not supported on SS7 Boards since there are no interfaces in the underlying stack to support
transmission of layer 1 alarms.
3. Using the gc_GetAlarmParm( ) and gc_SetAlarmParm( ) functions to retrieve and set specific
alarm parameters, for example alarm triggers, is not supported.
The following code examples show how to enable reception of the GCEV_ALARM event and
process the GCEV_ALARM event.
120
SS7-Specific Operations
5.11.2
Supported Alarms
The following list shows the alarms that are supported for SS7 Boards. The dagger symbol () next
to an alarm name indicates that the alarm is blocking by default. (The default can be changed using
the gc_SetAlarmConfiguration( ) function.)
SS7_FRAME_SYNC_LOSS (0xa)
Frame Sync Loss has been detected
SS7_FRAME_SYNC_OK (0xb)
Frame Sync has been cleared
SS7_AIS_DETECTED (0xc)
Alarm Indication Signal (AIS) has been detected
SS7_AIS_CLEARED (0xd)
AIS has been cleared
SS7_REMOTE_ALARM_DETECTED (0xe)
Remote Alarm has been detected
SS7_REMOTE_ALARM_CLEARED (0xf)
Remote Alarm has been cleared
SS7_PCM_LOSS (0x14)
Pulse Code Modulation (PCM) Loss has been detected
SS7_PCM_OK (0x15)
PCM Loss has been cleared
SS7_FRAME_SLIP (0x16)
Frame Slip has been detected
SS7_BER5 (0x19)
Bit Error Rate (BER) > 1 in 100,000 has been detected
SS7_BER5_CLEARED (0x1a)
BER5 has been cleared
SS7_BER3 (0x1b)
BER > 1 in 1,000 has been detected
SS7_BER3_CLEARED (0x1c)
BER3 has been cleared
5.11.3
structure that contains both the standard Global Call Software event cause code (gcValue
field), and an SS7-specific event cause code (ccValue field).
When the gc_ResultValue( ) function is used, function parameters point to a standard Global
Call Software event cause code (gc_resultp function parameter), and an SS7-specific event
cause code (cclib_resultp function parameter).
121
SS7-Specific Operations
The SS7-specific event cause codes related to layer 1 alarms are listed and described in
Section 10.2, SS7-Specific Event Cause Codes, on page 162.
122
This chapter describes the SS7-specific header files and libraries required when building
applications. Topics include:
Header Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Required Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Required System Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
6.1
Header Files
When compiling Dialogic Global Call Software applications for the SS7 technology, it is
necessary to include the following header files in addition to the standard Global Call header files,
which are listed in the Dialogic Global Call API Library Reference and Dialogic Global Call
API Programming Guide:
Libgcs7.h
Contains defines and definitions specific to using the Dialogic Global Call SS7 Software.
Note:
6.2
The Libgcs7.h file has an include statement for the cc_s7.h file that contains many of the definitions
used by the Global Call SS7 Software. The cc_s7.h file should not be included directly when
developing Global Call SS7 applications.
Required Libraries
When building Dialogic Global Call Software applications for SS7 technology, it is not necessary
to link any libraries other than the standard Global Call library, libgc.lib.
6.3
123
124
This chapter describes the tools available for testing and debugging SS7 applications. Topics
include:
SS7 Call Control Library Trace File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
SS7 Server Log File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
7.1
The file includes real time stamps to mark when the events took place. Where applicable, the
concerned circuit and call are contained in the logged data. Trace entries contain time stamps in
milliseconds.
The trace file is in a binary format, as opposed to plain readable text, in order to improve system
performance and minimize the file size. Use the ss7trace utility to generate a readable text file
equivalent.
The following is a short extract from a library trace file:
24.03.2003 12:48
12:48 00.688 LocalConfigFile::Open(AutoTest.cfg) SUCCEEDED
12:48 00.809 GCDK product version: 3,0,0,3
12:48 01.119 ::>
s7_OpenEx(:N_dkB1T1:P_SS7:V_dxxxB1C1)
12:48 01.119
==> MT_CONFIG_REQ
size=2
125
The following is a guide to the format of the text file that is generated from the binary library trace
file:
______ messages or calls to/from the application
| _____ Library
| | ____ messages to/from Server
| | |
v v v
<== Received from Server
<== [CID] Received from Server for LineDevice
==> [CID] Sent to Server by LineDevice
==> Sent to Server
::>
User's application call
::>
[CID] User's application call to LineDevice
<::
[CID] Message sent to the User's application by LineDevice
<::
Message sent to the User's application
<*** Received from MQ
Any other internal message
Note:
All error messages are prefixed with an ERROR: label and all warning messages are prefixed with
a WARNING: label.
For additional help analyzing the contents of the trace file, contact Dialogic Customer Support.
7.2
126
==>
<==
<==
***>
Note:
All error messages are prefixed with an ERROR: label and all warning messages are prefixed with
a WARNING: label.
For additional help analyzing the contents of the SS7 server log file, contact Dialogic Customer
Support.
Note:
It is possible to redirect all SS7 system environment trace messages to the Dialogic Global Call
SS7 server trace file so that all logging information is in one file. This is achieved using a
REDIRECT command in the system.txt file. See Section 3.1, SS7 System Environment
Configuration (system.txt), on page 37 for more information.
127
128
SS7-Specific Function
Information
8.
This chapter describes the Dialogic Global Call API functions that have additional functionality
or perform differently when used with SS7 technology. The function descriptions are presented
alphabetically and contain information that is specific to SS7 applications. Generic function
description information (that is, information that is not technology-specific) is provided in the
Dialogic Global Call API Library Reference.
Dialogic Global Call Functions Supported by SS7. . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Dialogic Global Call Function Variances for SS7. . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
8.1
The following is a list of all functions in the Dialogic Global Call API library. The description
under each function indicates whether the function is supported, not supported, or supported with
variances.
Note:
For functions supported by Dialogic SS7 Boards in clear channel mode, see Section 3.7,
Configuring Dialogic SS7 Boards for Clear Channel Mode, on page 53.
gc_AcceptCall( )
Supported with variances described in Section 8.2.1, gc_AcceptCall( ) Variances for SS7, on
page 136.
gc_AcceptInitXfer( )
Not supported.
gc_AcceptModifyCall( )
Not supported.
gc_AcceptXfer( )
Not supported.
gc_AlarmName( )
Supported.
gc_AlarmNumber( )
Supported.
gc_AlarmNumberToName( )
Supported.
gc_AlarmSourceObjectID( )
Supported.
gc_AlarmSourceObjectIDToName( )
Supported.
129
gc_AlarmSourceObjectName( )
Supported.
gc_AlarmSourceObjectNameToID( )
Supported.
gc_AnswerCall( )
Supported with variances described in Section 8.2.2, gc_AnswerCall( ) Variances for SS7,
on page 136.
gc_Attach( ) (deprecated)
Supported.
gc_AttachResource( )
Not supported.
gc_BlindTransfer( )
Not supported.
gc_CallAck( )
Supported with variances described in Section 8.2.3, gc_CallAck( ) Variances for SS7, on
page 137.
gc_CallProgress( )
Not supported.
gc_CCLibIDToName( )
Supported.
gc_CCLibNameToID( )
Supported.
gc_CCLibStatus( ) (deprecated)
Supported.
gc_CCLibStatusAll( ) (deprecated)
Supported.
gc_CCLibStatusEx( )
Supported.
gc_Close( )
Supported.
gc_CompleteTransfer( )
Not supported.
gc_CRN2LineDev( )
Supported.
gc_Detach( )
Supported.
gc_DropCall( )
Supported with variances described in Section 8.2.4, gc_DropCall( ) Variances for SS7, on
page 137.
gc_ErrorInfo( )
Supported.
130
gc_ErrorValue( ) (deprecated)
Supported with variances described in Section 8.2.5, gc_ErrorValue( ) Variances for SS7, on
page 137.
gc_Extension( )
Supported with variances described in Section 8.2.6, gc_Extension( ) Variances for SS7, on
page 137.
gc_GetAlarmConfiguration( )
Supported.
gc_GetAlarmFlow( )
Supported.
gc_GetAlarmParm( )
Supported.
gc_GetAlarmSourceObjectList( )
Supported.
gc_GetAlarmSourceObjectNetworkID( )
Supported.
gc_GetANI( ) (deprecated)
Supported.
gc_GetBilling( )
Not supported.
gc_GetCallInfo( )
Supported with variances described in Section 8.2.7, gc_GetCallInfo( ) Variances for SS7,
on page 138.
gc_GetCallProgressParm( )
Not supported.
gc_GetCallState( )
Supported.
gc_GetConfigData( )
Not supported.
gc_GetCRN( )
Supported.
gc_GetCTInfo( )
Not supported.
gc_GetDNIS( ) (deprecated)
Supported with variances described in Section 8.2.8, gc_GetDNIS( ) Variances for SS7, on
page 138.
gc_GetFrame( ) (deprecated)
Not supported.
gc_GetInfoElem( ) (deprecated)
Not supported.
131
gc_GetLineDev( )
Supported.
gc_GetLinedevState( )
Supported.
gc_GetMetaEvent( )
Supported.
gc_GetMetaEventEx( ) (Windows extended asynchronous model only)
Supported.
gc_GetNetCRV( ) (deprecated)
Not supported.
gc_GetNetworkH( ) (deprecated)
Supported with variances described in Section 8.2.9, gc_GetNetworkH( ) Variances for SS7,
on page 139.
gc_GetParm( )
Supported with variances described in Section 8.2.10, gc_GetParm( ) Variances for SS7, on
page 139.
gc_GetResourceH( )
Supported.
gc_GetSigInfo( )
Supported with variances described in Section 8.2.11, gc_GetSigInfo( ) Variances for SS7,
on page 139.
gc_GetUserInfo( )
Not supported.
gc_GetUsrAttr( )
Supported.
gc_GetVer( )
Supported.
gc_GetVoiceH( ) (deprecated)
Supported.
gc_GetXmitSlot( )
Supported.
gc_HoldACK( )
Not supported.
gc_HoldCall( )
Supported with variances described in Section 8.2.12, gc_HoldCall( ) Variances for SS7, on
page 140.
gc_HoldRej( )
Not supported.
gc_InitXfer( )
Not supported.
132
gc_InvokeXfer( )
Not supported.
gc_LinedevToCCLIBID( )
Supported.
gc_Listen( )
Supported.
gc_LoadDxParm( )
Not supported.
gc_MakeCall( )
Supported with variances described in Section 8.2.13, gc_MakeCall( ) Variances for SS7, on
page 140.
gc_Open( ) (deprecated)
Supported.
gc_OpenEx( )
Supported with variances described in Section 8.2.14, gc_OpenEx( ) Variances for SS7, on
page 141.
gc_QueryConfigData( )
Not supported.
gc_RejectInitXfer( )
Not supported.
gc_RejectModifyCall( )
Not supported.
gc_RejectXfer( )
Not supported.
gc_ReleaseCall( ) (deprecated)
Supported.
gc_ReleaseCallEx( )
Supported.
gc_ReqANI( )
Not supported.
gc_ReqModifyCall( )
Not supported.
gc_ReqMoreInfo( )
Supported.
gc_ReqService( )
Not supported.
gc_ResetLineDev( )
Supported with variances described in Section 8.2.15, gc_ResetLineDev( ) Variances for
SS7, on page 142.
gc_RespService( )
Not supported.
133
gc_ResultInfo( )
Supported.
gc_ResultMsg( ) (deprecated)
Supported.
gc_ResultValue( ) (deprecated)
Supported with variances described in Section 8.2.16, gc_ResultValue( ) Variances for SS7,
on page 143.
gc_RetrieveAck( )
Not supported.
gc_RetrieveCall( )
Supported with variances described in Section 8.2.17, gc_RetrieveCall( ) Variances for SS7,
on page 143.
gc_RetrieveRej( )
Not supported.
gc_SendMoreInfo( )
Supported.
gc_SetAlarmConfiguration( )
Supported.
gc_SetAlarmFlow( )
Supported.
gc_SetAlarmNotifyAll( )
Supported.
gc_SetAlarmParm( )
Supported.
gc_SetAuthenticationInfo( )
Not supported.
gc_SetBilling( )
Supported with variances described in Section 8.2.18, gc_SetBilling( ) Variances for SS7, on
page 143.
gc_SetCallingNum( ) (deprecated)
Supported.
gc_SetCallProgressParm( )
Not supported.
gc_SetChanState( )
Supported with variances described in Section 8.2.19, gc_SetChanState( ) Variances for
SS7, on page 143.
gc_SetConfigData( )
Supported with variances described in Section 8.2.20, gc_SetConfigData( ) Variances for
SS7, on page 143.
gc_SetEvtMsk( ) (deprecated)
Supported.
134
gc_SetInfoElem( ) (deprecated)
Supported with variances described in Section 8.2.21, gc_SetInfoElem( ) Variances for SS7,
on page 144.
gc_SetParm( )
Supported with variances described in Section 8.2.22, gc_SetParm( ) Variances for SS7, on
page 144.
gc_SetupTransfer( )
Not supported.
gc_SetUserInfo( )
Not supported.
gc_SetUsrAttr( )
Supported.
gc_SipAck( )
Not supported.
gc_SndFrame( ) (deprecated)
Not supported.
gc_SndMsg( ) (deprecated)
Supported with variances described in Section 8.2.23, gc_SndMsg( ) Variances for SS7, on
page 145.
gc_Start( )
Supported.
gc_StartTrace( )
Supported with variances described in Section 8.2.24, gc_StartTrace( ) Variances for SS7,
on page 145.
gc_Stop( )
Supported.
gc_StopTrace( )
Supported with variances described in Section 8.2.25, gc_StopTrace( ) Variances for SS7,
on page 146.
gc_StopTransmitAlarms( )
Not supported.
gc_SwapHold( )
Not supported.
gc_TransmitAlarms( )
Not supported.
gc_UnListen( )
Supported.
gc_util_copy_parm_blk( )
Supported.
gc_util_delete_parm_blk( )
Supported.
135
gc_util_find_parm( )
Supported.
gc_util_find_parm_ex( )
Supported.
gc_util_insert_parm_ref( )
Supported.
gc_util_insert_parm_ref_ex( )
Supported.
gc_util_insert_parm_val( )
Supported.
gc_util_next_parm( )
Supported.
gc_util_next_parm_ex( )
Supported.
gc_WaitCall( )
Supported.
8.2
The Dialogic Global Call function variances that apply when using SS7 technology are described
in the following sections. See the Dialogic Global Call API Library Reference for generic
(technology-independent) descriptions of the Global Call API functions.
Notes: 1. For SS7, all the Global Call API functions that have a mode argument must be used in
asynchronous mode, except the routing functions (gc_Listen( ), gc_UnListen( ), and
gc_GetXmitSlot( )), which must be used in synchronous mode.
2. The SS7 specific constants and data structures are defined in the Libgcs7.h and cc_s7.h header
files. An application should only include Libgcs7.h (cc_s7.h being included by the latter).
8.2.1
8.2.2
136
8.2.3
See the gc_SetConfigData( ) function description in the Dialogic Global Call API Library
Reference and the section on Call State Configuration in the Dialogic Global Call API
Programming Guide for more information.
8.2.4
8.2.5
8.2.6
137
The parmblk field of the EXTENSIONEVTBLK structure contains additional information. The
parmblk field is of type GC_PARM_BLK and contains only a GC_PARM_DATA structure. The
set_ID of GC_PARM_DATA is S7SET_CONTCHECK, and the parm_ID is
S7PARM_CONTCHECK_TYPE. The parm_data_size is sizeof(int).
Note:
In earlier releases of the Dialogic Global Call SS7 Software, S7SET_ parameter sets and
S7PARM_ parameter IDs were defined with values that are different than the current release. An
application that uses the S7SET_ and S7PARM_ defines must be recompiled with the correct
header file from the current release.
For an outbound, out-of-call Continuity Check request, the application can use the gc_Extension( )
function with an ext_id of S7_EXT_REQUESTCONTCHECK. See Section 5.9.2, Outbound
Continuity Check, on page 116 for more information.
For an outbound, in-call Continuity Check request, the application must use the gc_MakeCall( )
function. See Section 8.2.13, gc_MakeCall( ) Variances for SS7, on page 140 for more
information.
8.2.7
8.2.8
138
8.2.9
8.2.10
8.2.11
139
Since events are delivered to the application using an asynchronous mechanism (Dialogic
Standard Runtime Library (SRL) event queue), it is possible that a subsequent message may
already be received and other events may already be put in the queue by the time the application
calls the gc_GetSigInfo( ) function. Therefore, the SS7 call control library stores messages in a
cyclic buffer so that the application can retrieve a message associated with a particular event. The
event for which the application wishes to retrieve the associated message is specified by passing the
Global Call metaevent to the function.
The maximum number of messages that can be stored in the cyclic buffer is configurable by using
the gc_SetParm( ) function and specifying the GCPR_RECEIVE_INFO_BUF parameter. There
is one cyclic buffer for each circuit. Since, by default, the cyclic buffer is configured to store
0 (zero) messages, an application that wishes to use the gc_GetSigInfo( ) function must set the
GCPR_RECEIVE_INFO_BUF parameter for each line device. For most practical uses of this
mechanism, a cyclic buffer depth of 8 messages should be sufficient, although the Global Call SS7
library limits this number to 777 in order to prevent extremely inefficient memory use. See
Section 8.2.22, gc_SetParm( ) Variances for SS7, on page 144 for more information.
Note:
The third parameter in the gc_GetSigInfo( ) function signature, info_id, is currently not used by
the SS7 call control library. It must be set to zero unless otherwise specified.
The returned messages contain 2 bytes indicating the length at the beginning of the buffer followed
by the message data that is encoded as specified in the Application Message - User Data Format
section in the SS7 Protocols ISUP Programmers Manual (Issue 12).
The following code demonstrates the use of gc_GetSigInfo( ):
METAEVENT metaevt;
gc_GetMetaEvent(&metaevt);
char buffer[322]; // max size of message + length
if (GC_SUCCESS == gc_GetSigInfo(m_ldid, buffer, 0, &metaevt)) {
S7_IE_BLK *blk_p = (S7_IE_BLK *)buffer;
// further parsing of an obtained message
} else {
// process error here
}
Notes: 1. The cc_s7.h file mistakenly defines S7_MAXLEN_IEDATA as 254. The correct value is 320.
2. The S7_SIGINFO_BLK and S7_IE structures defined in the cc_s7.h file can be used for parsing
of received messages, but should never be used for allocation of buffers.
8.2.12
8.2.13
140
The GC_MAKECALL_BLK data structure contains a cclib field. When the cclib field is set to
zero, default values are used for all call setup parameters. When the cclib field is set to a pointer to
an S7_MAKECALL_BLK data structure that contains parameters usually set in an Initial Address
Message (IAM), the specified fields overwrite the default values in the IAM.
The S7_MAKECALL_BLK structure contains the following IAM parameters:
destination_number_type
destination_number_plan
internal_network_number
origination_phone_number
origination_number_type
oringination_number_plan
calling_party_category
origination_present_restrict
origination_screening
forward_call_indicators
trans_medium_req
satellite_indicator
echo_device_indicator
continuity_check_indicator
user_to_user_indicators
Notes: 1. The fields in the S7_MAKECALL_BLK structure that are not used must be set to 0 (zero) before
calling the gc_MakeCall( ) function.
2. Other parameters can be added using the gc_SetInfoElem( ) function. See Section 8.2.21,
gc_SetInfoElem( ) Variances for SS7, on page 144 for more information.
3. It is the responsibility of the application to ensure that the parameters that are being added via the
S7_MAKECALL_BLK data structure are not duplicated in gc_SetInfoElem( ) calls for use with
the same gc_MakeCall( ). Otherwise, it is not possible to guarantee which parameter value will
be processed by the underlying stack.
The gc_MakeCall( ) function can be used to request an in-call continuity check. The
continuity_check_indicator in the S7_MAKECALL_BLK structure must be set to
CCI_CC_REQUIRED so that Global Call Software will send an SS7 IAM message with continuity
check to the network. See Section 5.9.2, Outbound Continuity Check, on page 116 for more
information.
8.2.14
141
N_network_device_name:P_SS7:V_voice_device_name
See the Dialogic Global Call API Library Reference for more on the device name format.
The result of specifying a voice device name in the Global Call device name given to
gc_OpenEx( ) is equivalent to opening the voice device separately, using dx_open( ), performing a
gc_Attach( ), then routing the network and the voice devices together. A voice device opened as
part of a Global Call line device can later be detached from the line device using gc_Detach( ). A
voice device that has been opened together with a Global Call line device but that has later been
detached from it is not closed during the corresponding gc_Close( ).
The network device that is specified is the physical time slot where the voice circuit is located. This
is completely independent of the signaling path. The latter need only be specified in the
configuration of the system. The circuit time slot can reside on a Dialogic Board that includes
network interfaces (for example, a Dialogic DM/V960-4T1 or a DM/V1200-4E1) or on a
Dialogic SS7 Board. It is also possible to specify virtual devices, not tied to any physical board.
For a Dialogic DM3 or Springware Board with network interfaces, the standard device names
are used: dtiBxTy where x is the logical board number and y is the logical circuit number
(from 1 to the number of circuit on the trunk, no gaps are left for unused time slots or time
slots used for signaling).
For Dialogic SS7 Boards, the device names used are: dkBxTy where x is 1 for the first trunk
of the board and 2 for the second trunk (if present) and y is the logical circuit number (same as
for Dialogic DTI Boards).
For virtual devices, the device names used are: dumBxTy where x and y are virtual trunk and
circuit numbers.
Note:
When a voice device is specified in the devicename string, a full duplex routing is established
between the network interface device and the voice resource. The full duplex routing is performed
regardless of whether the network device name is a DTI device (dtiBxTy, on a Dialogic Network
Interface Board) or an SS7 device (dkBxTy, on a Dialogic SS7 Board).
As part of executing gc_OpenEx( ), Dialogic Global Call SS7 Software will start initializing the
circuit. The application must wait for a GCEV_UNBLOCKED event to be received before it can
start using the opened line device.
8.2.15
142
8.2.16
Note:
8.2.17
8.2.18
charge.
The charge indicator is left in the default value in case the gc_SetBilling( ) function is not called by
the application.
8.2.19
8.2.20
GCST_GETMOREINFO and GCST_SENDMOREINFO states that are used for overlap send
and receive. See Section 8.2.3, gc_CallAck( ) Variances for SS7, on page 137 and
Section 5.7, Using Overlap Send and Receive, on page 113 for more information.
Dynamically adding and deleting SS7 circuit groups at runtime. See Section 5.3,
Dynamically Adding and Deleting SS7 Circuit Groups, on page 106 for more information.
143
8.2.21
/*
/*
/*
/*
/*
Parameter
Parameter
Parameter
Parameter
Parameter
gc_ie_blk.gclib = NULL;
gc_ie_blk.cclib = &ie_blk;
if (gc_SetInfoElem(linedev, &gc_ie_blk) != GC_SUCCESS) /* Process error */
if (gc_MakeCall(linedev, &crn, "7124311", NULL, 15, EV_ASYNC) != GC_SUCCESS)
/* Process error */
Note:
8.2.22
Parameter values (such as 0x20 in the example above, which corresponds to the User-to-User
Information parameter) should correspond to parameter values from the ISUP/TUP specifications.
144
8.2.23
/*
/*
/*
/*
/*
Parameter
Parameter
Parameter
Parameter
Parameter
1
1
1
1
1
gc_ie_blk.gclib = NULL;
gc_ie_blk.cclib = &ie_blk;
ret = gc_SndMsg(linedev, crn, 0x02 /* SAM */, &gc_ie_blk);
Note:
8.2.24
Parameter values (for example, 0x05 which corresponds to the Subsequent Number parameter)
should correspond to parameter values from the ISUP/TUP specifications. Similarly, message type
values (for example, 0x02 in the gc_SndMsg( ) function call above) should correspond to message
type values from the ISUP/TUP specification.
145
8.2.25
146
This chapter describes the data structures that are specific to SS7 technology.
Note:
These data structures are defined in the cc_s7.h header file, but are included by including the
Libgcs7.h header file when compiling and linking applications. The cc_s7.h file should not be
included directly.
GCSS7_ISUP_CFG_CCTGRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
GCSS7_TRUNK_CFG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
S7_IE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
S7_IE_BLK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
S7_MAKECALL_BLK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
S7_SIGINFO_BLK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
147
GCSS7_ISUP_CFG_CCTGRP
configures an ISUP circuit
typedef struct {
unsigned long
version;
unsigned long
dpc;
unsigned short basic_cic;
unsigned short basic_cid;
unsigned long
cic_mask;
unsigned long
options;
unsigned char
user_inst;
unsigned char
user_id;
unsigned long
opc;
unsigned long
ssf;
unsigned char
variant;
unsigned long
option2;
} GCSS7_ISUP_CFG_CCTGRP;
Description
The GCSS7_ISUP_CFG_CCTGRP data structure configures an ISUP circuit group, which
matches the ISUP_CFG_CCTGRP configuration command in the config.txt file.
Field Descriptions
The fields of the GCSS7_ISUP_CFG_CCTGRP data structure are described as follows:
version
The version of the data structure. The initial version is 0x1000.
dpc
The Destination Point Code (DPC) for all circuits in the circuit group.
basic_cic
The first Circuit Identification Code (CIC) in the circuit group.
basic_cid
The Logical Circuit Identifier (CID) corresponding to the first CIC.
cic_mask
A 32-bit mask with bits set to indicate which circuits are to be allocated.
options
A 32-bit value containing run-time options for the ISUP circuit group.
user_inst
The instance number of the user application.
user_id
The user application module ID.
opc
The Originating Point Code (OPC) for all circuits in the circuit group.
ssf
The value to be used in the Sub_Service Field (SSF) of all ISUP messages.
variant
The protocol variant for this circuit group.
148
option2
A 32-bit value containing additional run-time options for the ISUP circuit group.
149
GCSS7_TRUNK_CFG
configures a trunk device in a circuit group
typedef struct {
unsigned long
char
unsigned char
unsigned char
} GCSS7_TRUNK_CFG;
version;
trunk_name[20];
base_ts;
pref_siu;
Description
The GCSS7_TRUNK_CFG data structure configures a Global Call trunk device in a circuit group,
which matches the CGrp configuration command in the gcss7.cfg file.
Field Descriptions
The fields of the GCSS7_TRUNK_CFG data structure are described as follows:
version
The version of the data structure. The initial version is 0x1000.
trunk_name[20]
The physical device name where the circuits in the group are terminated (e.g., dtiB1 or dkB1).
base_ts
The first time slot of the trunk that corresponds the first circuit of the group.
pref_siu
The default SIU for the group.
150
S7_IE
describes an ISUP message parameter
typedef struct {
unsigned char parm;
unsigned char length;
unsigned char value;
} S7_IE;
/* Parameter type */
/* Number of bytes in the value part */
/* First byte of the value part (there may be more) */
Description
The S7_IE data structure describes an ISUP message parameter. This structure should not be used
to allocate storage space for message parameters because its value field is defined as a single byte,
whereas an actual parameter value may be multi-byte. The S7_IE_BLK structure can be used to
allocate storage for a block of parameters, if required.
Field Descriptions
The fields of the S7_IE data structure are described as follows:
parm
The parameter type.
length
The number of bytes in the value part.
value
The first byte of the value part.
151
S7_IE_BLK
contains ISUP message parameters
typedef struct {
short length;
char data[S7_MAXLEN_IEDATA];
} S7_IE_BLK, *S7_IE_BLK_PTR;
*/
*/
Description
The S7_IE_BLK data structure contains ISUP message parameters.
Field Descriptions
The fields of the S7_IE_BLK data structure are described as follows:
length
IE data block length, which must be less than S7_MAXLEN_IEDATA. This length includes a
trailing 0 that is included in each message.
Note: The cc_s7.h header file mistakenly defines S7_MAXLEN_IEDATA as 254. The
correct value is 320.
data[s7_MAXLEN_IEDATA]
Message parameters themselves, one after the other.
152
S7_MAKECALL_BLK
holds SS7-specific parameters
typedef union {
struct ss7 {
unsigned char trans_medium_req;
/*
TMR_SPEECH
TMR_64K_UNREST
TMR_3DOT1K_AUDIO
TMR_64K_PREFERRED
TMR_2_64K_UNREST
TMR_386K_UNREST
TMR_1536K_UNREST
TMR_1920K_UNREST
TMR_3_64K_UNREST
TMR_4_64K_UNREST
TMR_5_64K_UNREST
TMR_7_64K_UNREST
TMR_8_64K_UNREST
TMR_9_64K_UNREST
...
TMR_23_64K_UNREST
TMR_25_64K_UNREST
...
TMR_29_64K_UNREST
*/
unsigned char destination_number_type;
/*
SS7_UNKNOWN_NUMB_TYPE
- spare
SS7_SUBSCRIBER_NUMBER
- Subscriber number (national use)
SS7_UNKNOWN_NATIONAL
- Unknown (national use)
SS7_NATIONAL_NUMBER
- National (significant) number
SS7_INTERNATIONAL_NUMBER - International number
SS7_NETWORK_SPECIFIC
- Network-specific number (national use)
*/
unsigned char destination_number_plan;
/*
SS7_UNKNOWN_NUMB_PLAN
- Unknown plan
SS7_ISDN_NUMB_PLAN
- ISDN numb. plan E.164
SS7_DATA_NUMB_PLAN
- Data numb. plan X.121
SS7_TELEX_NUMB_PLAN
- Telex numb. plan F.69
*/
unsigned char internal_network_number;
/*
INN_ALLOWED
- routing to internal network allowed
INN_NOT_ALLOWED
- routing to internal network not allowed
*/
unsigned char origination_number_type;
/*
SS7_UNKNOWN_NUMB_TYPE
- spare
SS7_SUBSCRIBER_NUMBER
- Subscriber number (national use)
SS7_UNKNOWN_NATIONAL
- Unknown (national use)
SS7_NATIONAL_NUMBER
- National (significant) number
SS7_INTERNATIONAL_NUMBER - International number
SS7_NETWORK_SPECIFIC
- Network-specific number (national use)
*/
153
154
Note:
/* RFU */
*S7_MAKECALL_BLK_PTR;
The comment /* bitmask - see defines below */ in the preceding code listing refers to the fact that
the bitmask is created using an OR operation on the defines from the header file.
Description
The S7_MAKECALL_BLK union contains SS7-specific parameter values for a specific call.
Field Descriptions
The fields of the S7_MAKECALL_BLK union are described as follows:
trans_medium_req
Specifies the format of the transmission medium requirement. Possible values are:
TMR_SPEECH speech
TMR_64K_UNREST 64 kbps unrestricted
TMR_3DOT1K_AUDIO 3.1 KhZ audio
TMR_64K_PREFERRED 64 kbps preferred
TMR_2_64K_UNREST 2x 64 kbps unrestricted
TMR_386K_UNREST 386 kbps unrestricted
TMR_1536K_UNREST 1536 kbps unrestricted
TMR_1920K_UNREST 1920 kbps unrestricted
TMR_3_64K_UNREST 3x 64 kbps unrestricted
TMR_4_64K_UNREST 4x 64 kbps unrestricted
TMR_5_64K_UNREST 5x 64 kbps unrestricted
TMR_7_64K_UNREST 7x 64 kbps unrestricted
TMR_8_64K_UNREST 8x 64 kbps unrestricted
TMR_9_64K_UNREST 9x 64 kbps unrestricted
TMR_23_64K_UNREST
TMR_25_64K_UNREST
TMR_29_64K_UNREST
destination_number_type
Specifies the destination number type. Possible values are:
SS7_UNKNOWN_NUMB_TYPE Spare
SS7_SUBSCRIBER_NUMBER Subscriber number (national use)
SS7_UNKNOWN_NATIONAL Unknown (national use)
SS7_NATIONAL_NUMBER National (significant) number
SS7_INTERNATIONAL_NUMBER International number
SS7_NETWORK_SPECIFIC Network-specific number (national use)
destination_number_plan
Specifies the destination number plan. Possible values are:
SS7_UNKNOWN_NUMB_PLAN Unknown plan
155
internal_network_number
Specifies whether routing is allowed to an internal network. Possible values are:
INN_ALLOWED Routing to internal network allowed
INN_NOT_ALLOWED Routing to internal network not allowed
origination_number_type
Specifies the origination number type. Possible values are:
SS7_UNKNOWN_NUMB_TYPE Spare
SS7_SUBSCRIBER_NUMBER Subscriber number (national use)
SS7_UNKNOWN_NATIONAL Unknown (national use)
SS7_NATIONAL_NUMBER National (significant) number
SS7_INTERNATIONAL_NUMBER International number
SS7_NETWORK_SPECIFIC Network-specific number (national use)
origination_number_plan
Specifies the origination number plan. Possible values are:
SS7_UNKNOWN_NUMB_PLAN Unknown plan
SS7_ISDN_NUMB_PLAN ISDN number plan E.164
SS7_DATA_NUMB_PLAN Data number plan X.121
SS7_TELEX_NUMB_PLAN Telex number plan F.69
origination_phone_number [MAXPHONENUM]
Specifies the calling party address. If not specified, default to the address set using
gc_SetCallingNum( ) or gc_SetParm( ).
origination_present_restrict
Specifies the calling party address presentation restrictions. Possible values are:
PRESENTATION_ALLOWED Presentation allowed.
PRESENTATION_RESTRICTED Presentation restricted.
PRESENTATION_NOT_AVAILABLE Address not available.
origination_screening
Specifies calling party address screening. Possible values are:
SCREEN_USER_PROVIDED Address is user provided, not verified (National use
only).
SCREEN_USER_PROVIDED_VERIFIED Address is user provided, verified, and
passed.
SCREEN_USER_PROVIDED_FAILED Address is user provided, verified, and failed
(National use only).
SCREEN_NETWORK_PROVIDED Address is network provided.
calling_party_category
Information sent in the forward direction indicating the category of the calling party and, in
case of semi-automatic calls, the service language to be spoken by the incoming, delay, and
assistance operators. Possible values are:
SS7_UNKNOWN_CATEGORY Unknown category
SS7_FR_OPERATOR_CATEGORY French language operator
SS7_EN_OPERATOR_CATEGORY English language operator
SS7_GE_OPERATOR_CATEGORY German language operator
SS7_RU_OPERATOR_CATEGORY Russian language operator
156
forward_call_indicators
Specifies forward call indicators. Bitmask built by ORing defines from the header file.
satellite_indicator
Specifies the presence of satellites along the voice path. Possible values are:
SI_NOSATELLITES No satellite
SI_1SATELLITE One satellite
SI_2SATELLITES Two satellites
echo_device_indicator
Specifies whether echo cancellation devices are being used. Possible values are:
EDI_ECHOCANCEL_NOTINCLUDED Echo cancellation devices are not being used.
EDI_ECHOCANCEL_INCLUDED Echo cancellation devices are being used.
continuity_check_indicator
Specifies whether a continuity check should be performed on the circuit as part of the call, if it
is being performed on a previous circuit, or if it is not requested at all. Possible values are:
CCI_CC_NOTREQUIRED Continuity check is not required.
CCI_CC_REQUIRED Continuity check is required.
CCI_CC_ONPREVIOUS Continuity check is being performed on the previous circuit.
user_to_user_indicators
Specifies the type of user-to-user service that is supported in the outbound call. Possible values
are:
UUI_UUS1_REQ_NE Service 1, request, non-essential
UUI_UUS1_REQ_E Service 1, request, essential
UUI_UUS2_REQ_NE Service 2, request, non-essential
UUI_UUS2_REQ_E Service 2, request, essential
UUI_UUS3_REQ_NE Service 3, request, non-essential
UUI_UUS3_REQ_E Service 3, request, essential
UUI_UUS1_RSP_P Service 1, response, provided
UUI_UUS2_RSP_P Service 2, response, provided
UUI_UUS3_RSP_P Service 3, response, provided
UUI_UUSx_RSP_P Service 1, 2, and 3, response, provided
157
S7_SIGINFO_BLK
contains ISUP message information
typedef struct {
short length;
/* length of SigInfo block plus 1 */
unsigned char prim;
/* ISUP primitive */
S7_IE data;
/* First IE of the message (there may be more) */
} S7_SIGINFO_BLK, *S7_SIGINFO_BLK_PTR;
Description
The S7_SIGINFO_BLK data structure contains ISUP messages as returned by the
gc_GetSigInfo( ) function. This structure should not be used to allocate storage space for message
parameters because its value field is defined as a single byte, whereas an actual parameter value
may be multiple bytes. The S7_IE_BLK structure can be used to allocate storage for a block of
parameters.
Field Descriptions
The fields of the S7_SIGINFO_BLK data structure are described as follows:
length
Block length, including the primitive byte (prim) and the parameters (data), plus 1 for the
NULL character.
prim
ISUP primitive (IAM, ANM, REL).
data
Message parameters, one after the other.
158
10
This chapter lists the supported SS7-specific error codes and event cause codes and provides a
description of each code. The codes are defined in the cc_s7.h header file, which is included by
including the Libgcs7.h in the application.
10.1
GC_CALLACK_BLK->service.info.info_type=ORIGINATION_ADDRESS
gc_CallAck( ) with GC_CALLACK_BLK->type=GCACK_SERVICE_PROC
gc_ReqMoreInfo( ) with info_id=ORIGINATION_ADDRESS
gc_SendMoreInfo( ) with info_id=ORIGINATION_ADDRESS
gc_Extension( ) with any ext_id that is not supported by the SS7 call control library
gc_GetCallInfo( ) with any info_id that is not supported by the SS7 call control library
S7ERR_INV_PARM (0x8003)
Invalid parameter.
S7ERR_INV_INFO_ID (0x8004)
Invalid call info ID.
S7ERR_INV_PARM_ID (0x8005)
Invalid parameter ID (in Set/GetParm).
159
S7ERR_INV_SIGINFO_SIZE (0x8006)
Invalid SigInfo buffer size.
S7ERR_LDEV_RELATED (0x8007)
Event is related to a LineDevice (therefore no CRN, no SigInfo).
S7ERR_NO_SIGINFO (0x8008)
No SigInfo was associated with the event.
S7ERR_NO_SCBUSCONNECTOR (0x8009)
Device does not support routing functions.
S7ERR_INV_DEVNAME (0x800A)
Invalid device name.
S7ERR_INV_STATE (0x800B)
Invalid state (Call/LineDev).
S7ERR_INV_CRN (0x800C)
Invalid CRN.
S7ERR_INV_CID (0x800D)
Internal error.
S7ERR_INV_LINEDEV (0x800E)
Invalid LineDevice.
S7ERR_INV_TRUNKDEV (0x800F)
Invalid TrunkDevice.
S7ERR_INV_CHANNEL (0x8010)
TrunkDevice has no such channel (ts).
S7ERR_NO_BASE_TS (0x8011)
BaseTimeSlot not defined for the trunk.
S7ERR_TLS_NULL (0x8012)
ThreadLocalStorage is NULL.
S7ERR_PING_EVENT (0x8013)
System error.
S7ERR_MSGQ_FULL (0x8014)
Internal error.
S7ERR_INV_PARM_SIZE (0x8015)
Internal error.
S7ERR_SRL (0x8016)
SRL error.
S7ERR_SRL_PUTEVT (0x8017)
SRL PutEvt error.
S7ERR_DTI_GENERIC (0x8018)
Unspecified DTI error.
S7ERR_DTI_OPEN (0x8019)
Error opening DTI device.
160
S7ERR_DTI_GETXMIT (0x801A)
Error getting DTI TX time slot.
S7ERR_DTI_LISTEN (0x801B)
Error listening on DTI device.
S7ERR_DTI_UNLISTEN (0x801C)
Error unlistening on DTI device.
S7ERR_LOG_ATTACH (0x801D)
Error attaching file to logger.
S7ERR_NOMEM (0x801E)
Out of memory.
S7ERR_GCT_SYSTEM (0x801F)
Error in GCT system.
S7ERR_COM_SYSTEM (0x8020)
Error in COM system.
S7ERR_TIMER_INIT (0x8021)
Error initializing Timer subsystem.
S7ERR_TIMER_ACTIVE (0x8022)
Attempt to start an already active timer.
S7ERR_NO_MORE_CRN (0x8023)
Too many CRNs allocated on the LineDevice.
S7ERR_ISUP_CODING (0x8024)
Generic error while coding ISUP message.
S7ERR_ISUP_DECODING (0x8025)
Generic error while decoding ISUP message.
S7ERR_INV_MODE (0x8026)
SYNC/ASYNC mode not supported.
S7ERR_OPEN_VOICE (0x8027)
Error opening voice device (in gc_OpenEx).
S7ERR_NO_VOICE (0x8028)
No voice resource attached.
S7ERR_VOX_LISTEN (0x8029)
Error in routing voice resource (dx_listen function failed).
S7ERR_VOX_GETXMIT (0x802A)
Error in routing voice resource (dx_getxmitslot function failed).
S7ERR_INIT_EVTMSK (0x802B)
Internal error.
S7ERR_CIRCUIT_IN_USE (0x802C)
Circuit is already in use in another process.
S7ERR_SERVICE_NOT_READY (0x802D)
SS7 server is not running or not correctly initialized.
161
S7ERR_NOT_ATTACHED (0x802E)
Internal error.
S7ERR_WATCHDOG_FAIL (0x802F)
Internal error.
S7ERR_NO_MORE_DIGITS (0x8030)
No additional digit can be obtained.
S7ERR_GC_CME (0x8031)
Internal error.
S7ERR_GC_DB (0x8032)
Internal error.
S7ERR_SRL_DEPOSIT (0x8033)
Internal error.
S7ERR_UNKNOWN (0x80FF)
Unknown error.
10.2
162
The following event cause codes relate to the GCEV_BLOCKED and GCEV_UNBLOCKED
events:
S7RV_SIU_TRANSFER (0x4002)
Circuit blocked for transferring its group between units. This cause value is used to indicate
the beginning and the end of the circuits group transfer between units.
S7RV_BLK_LOCAL_MAINT (0x4004)
Circuit is locally maintenance blocked or unblocked.
S7RV_BLK_LOCAL_HARD (0x4005)
Circuit is locally hardware blocked or unblocked.
S7RV_BLK_REMOTE_MAINT (0x4006)
Circuit is remotely maintenance blocked or unblocked.
S7RV_BLK_REMOTE_HARD (0x4007)
Circuit is remotely hardware blocked or unblocked.
S7RV_BLK_MTP (0x4008)
Blocked or unblocked at MTP level (DPC not available).
S7RV_BLK_SIU_DOWN (0x4009)
Blocked or unblocked based on SIU status.
S7RV_LOCAL_RESET (0x400b)
Circuit locally reset. Possible local maintenance and hardware blocking are cleared. (related to
GCEV_UNBLOCKED only)
S7RV_REMOTE_RESET (0x400c)
Circuit remotely reset. Possible remote maintenance and hardware blocking are cleared.
(related to GCEV_UNBLOCKED only)
The following event cause codes relate to the GCEV_EXTENSION event, where the extension ID
(ext_id) is S7_EXT_CONTCHECK:
S7RV_CC_INBOUND (0x4080)
Inbound continuity check; must apply loopback.
S7RV_CC_OUTBOUND (0x4081)
May proceed with the outbound continuity check.
The following event cause codes relate to the GCEV_EXTENSION event, where the extension ID
(ext_id) is S7_EXT_CONTCHECK_END:
S7RV_CCEND_INBOUND_FAILURE (0x4090)
Inbound continuity check failed.
S7RV_CCEND_INBOUND_SUCCESS (0x4091)
Inbound continuity check succeeded.
S7RV_CCEND_OUTBOUND_ERROR (0x4092)
Outbound continuity check encountered an error.
S7RV_CCEND_OUTBOUND_GLARE (0x4093)
Outbound continuity check ended due to glare with incoming IAM or CCR.
163
S7RV_CCEND_OUTBOUND (0x4094)
Outbound continuity check ended by the S7_EXT_SENDCONTCHECKRESULT.
The following event cause codes relate to the GCEV_MOREDIGITS and GCEV_MOREINFO
events:
S7RV_INFO_PRESENT_ALL (0x40a0)
The requested information is available.
S7RV_INFO_PRESENT_MORE (0x40a1)
The requested information is available. More information can be requested.
S7RV_INFO_SOME_TIMEOUT (0x40a2)
The requested information is not yet available. Only some of the information is present.
S7RV_INFO_SOME_NOMORE (0x40a3)
The requested information is not yet available. No more information is coming in.
S7RV_INFO_NONE_TIMEOUT (0x40a4)
The requested information is not available. No information came in.
S7RV_INFO_NONE_NOMORE (0x40a5)
The requested information is not available. No information came in and none is expected.
S7RV_INFO_SENT (0x40a6)
The information has been sent successfully.
S7RV_DESTINATION_ADDRESS_REQ (0x40a7)
The destination information has been requested by the remote side.
S7RV_ORIGINATION_ADDRESS_REQ (0x40a8)
The origination information has been requested by the remote side.
The following event cause codes relate to layer 1 alarms:
S7RV_PCM_LOSS (0x40a9)
Loss of PCM stream.
S7RV_PCM_OK (0x40aa)
Recovery of PCM stream.
S7RV_FRAME_SYNC_LOSS (0x40ab)
Loss of frame synchronization.
S7RV_FRAME_SYNC_OK (0x40ac)
Recovery of frame synchronization.
S7RV_AIS_DETECTED (0x40ad)
Alarm Indication Signal (AIS) alarm detected.
S7RV_AIS_CLEARED (0x40ae)
Alarm Indication Signal (AIS) alarm cleared.
S7RV_FRAME_SLIP (0x40af)
Frame slip detected.
S7RV_BER3 (0x40b0)
A Bit Error Rate (BER) of greater than 1 in 1,000 has been detected.
164
S7RV_BER3_CLEARED (0x40b1)
A BER of greater than 1 in 1,000 has been cleared.
S7RV_BER5 (0x40b2)
A BER of greater than 1 in 100,000 has been detected.
S7RV_BER5_CLEARED (0x40b3)
A BER of greater than 1 in 100,000 has been cleared.
S7RV_REMOTE_ALARM_DETECTED (0x40b4)
Detection of remote alarm.
S7RV_REMOTE_ALARM_CLEARED (0x40b5)
Clearing of remote alarm.
165
166
Supplementary Reference
Information
1.
11
1995, McGraw-Hill
ISBN 0-07-054991-5
ISDN & SS7 - Architectures for Digital Signaling Networks, Uyless Black
http://www.dialogic.com/support/helpweb/signaling/tutorial/ss7.htm
Web ProForums - http://www.iec.org/online/tutorials/ss7/
http://www.dialogic.com/support/helpweb/signaling/default.htm
All URLs and site content were verified at the time of writing.
167
168
Glossary
CT Bus: A time division multiplex (TDM) bus that provides 1024, 2048, or 4096 time slots for exchanging voice,
fax, or other network resources on a PCI (H.100) or CompactPCI (H.110) backplane. The Enterprise Computer
Telephony Forum (ECTF) developed the H.100 hardware compatibility specification that defined the CT Bus, a
high-performance mezzanine bus. The CT Bus works with both SCbus and Multivendor Integration Protocol
(MVIP) compatible products. The ECTF implementation of the CT Bus for CompactPCI bus is called the H.110
standard.
Dialogic Configuration Manager (DCM): A Windows application the enables the configuration of
Dialogic products.
DPC: Destination Point Code. Identifies the address (point code) of the SS7 network node to which a Message
Signal Unit (MSU) should be directed.
DTI: A generic term for a Dialogic Network Interface Board, such as Dialogic DM/V960-4T1, Dialogic
DM/V1200-4T1, etc.
E1: A digital transmission link that carries information at the rate of 2,048 Mbps. This is the rate used by European
carriers to transmit thirty 64 Kbps digital channels for voice or data calls, plus one 64 Kbps channel for signaling,
and one 64 Kbps channel for framing (synchronization) and maintenance.
Global Call SS7 Software: The software and libraries that implement Dialogic Global Call Software on SS7.
IPC: Inter Process Communication. In the SS7 system software environment, IPC refers to the method by which
modules communicate with each other using messages.
ISDN: Integrated Services Digital Network. A service that offers simultaneous digital data and voice
communication over a single copper pair wire in residential and business phone connections. There are two basic
flavors, BRI (Basic Rate Interface) which is 144 Kbps and designed for the desktop, and PRI (Primary Rate
Interface) which is 1.544 Mbps and designed for telephone switches, computer telephony, and voice processing
systems.
ISUP: ISDN User Part. A layer in the SS7 protocol stack. Defines the messages and protocol used in the
establishment and tear-down of voice and data calls over the public switched network, and to manage the trunk
network on which they rely.
Message Transfer Part: Layers 1 to 3 of the SS7 protocol stack equivalent to the Physical, Data Link, and
Network layers in the OSI protocol stack. See also MTP1, MTP2, and MTP3.
MTP1: Message Transfer Part Level 1. Defines the physical and electrical characteristics of the signaling links of
the SS7 network. Signaling links use DS0 channels and carry raw signaling data at a rate of 56 Kbps or 64 Kbps (56
Kbps is currently the more common implementation).
MTP2: Message Transfer Part Level 2. Provides link-layer functionality. Ensures that two end points of a signaling
link can reliably exchange signaling messages. It provides error checking, flow control, and sequence checking.
169
MTP3: Message Transfer Part Level 3. Provides network-layer functionality. Ensures that messages can be
delivered between signaling points across the SS7 network regardless of whether the signaling points are directly
connected. It provides node addressing, routing, alternate routing, and congestion control.
OPC: Originating Point Code. Identifies the address (point code) of the SS7 network node from which a Message
Signal Unit (MSU) originated.
PSTN: Public Switched Telephone Network. The worldwide voice telephone network accessible to all those with
telephones and access privileges.
RSI: Remote Socket Interface.
SCbus: The standard bus for communicating within an SCSA node. The SCbus features a hybrid bus architecture
consisting of a serial message bus for control and signaling, and a 16-wire TDM data bus.
SCCP: Signal Connection Control Part. A layer in the SS7 protocol stack that allows a software application at a
specific node in an SS7 network to be addressed. It also supports Global Title Translation, which frees an
originating signaling point from having to know every possible destination to which a message may have to be
routed.
SCP: Service Control Point. Databases that provide information necessary for advanced call processing
capabilities.
Signaling Link: A bidirectional transmission path for signaling, comprising two data channels operating together
in opposite directions at the same data rate.
SIU: The Dialogic SS7 server solution.
SP: Signaling Point. Any point in a signaling network capable of handling SS7 control messages. Examples of
Signaling Points are SSP (Service Switching Point), STP (Signal Transfer Point), and SCP (Service Control Point).
SS7: Signaling System Number 7. A common channel signaling standard that defines the procedures and
protocols required for the connection of network elements in the Public Switched Telephone Network (PSTN).
SS7 System Software Environment: A collective name for the software modules that make up SS7 system
environment.
SSP: Service Switching Point. Telephone switches (end offices or tandems) equipped with SS7-capable software
and terminating signaling links. They generally originate, terminate, or switch calls.
STP: Service Transfer Point. A signaling point capable of routing control messages to another signaling point.
STPs receive and route incoming signaling messages towards the proper destination and perform specialized
routing functions.
T1: A digital transmission link with a capacity of 1.544 Mbps. T1 uses two pairs of normal twisted wires and can
handle 24 voice conversations, each one digitized at 64 Kbps.
TCAP: Transaction Capabilities Part. A layer in the SS7 protocol stack that defines the messages and protocol
used to communicate between applications (deployed as subsystems) in SS7 nodes. TCAP is used for database
170
services such as calling card, 800, and AIN, as well as switch-to-switch services including Repeat Dialing and Call
Return.
TUP: Telephone User Part. The predecessor to ISUP. TUP was employed for call control purposes within and
between national networks, both wireline and wireless. ISUP adds support for data, advanced ISDN, and IN
(Intelligent Networks). See also ISUP.
User Part: A generic name given to an SS7 stack protocol at layer 4 or above, such as ISUP, TUP, ICAP, MAP,
etc.
171
172
Index
A
ACM
gc_SetBilling(_) 143
ANM
gc_AnswerCall(_) 136
Application Service Elements
definition 21
circuit groups
controlling priority 106
clear channel
how to use 112
CON
gc_AnswerCall 136
gc_SetBilling(_) 143
config.txt file 39
configuration
config.txt file 39
CT Bus 40
Dialog SS7 software 44
ISUP 41
protocol stack 39
SS7 system software environment 37
system.txt file 37
continuity check 115
inbound 115
outbound in-call 117
outbound out-of-call 116
continuity test
role of GCEV_EXTENSION event 137
CT Bus
configuration 40
gc_AnswerCall(_)
variances for SS7 136
gc_DropCall(_)
variances for SS7 137
gc_ErrorValue(_)
variances for SS7 137
gc_GetCallInfo(_)
variances for SS7 138
gc_GetParm(_)
variances for SS7 139
gc_MakeCall(_)
variances for SS7 140
gc_Open Ex(_)
variances for SS7 141
gc_ResetLineDev (_)
variances for SS7 142
gc_SetBilling(_)
variances for SS7 143
gc_SetInfoElem(_)
variances for SS7 144
gc_SetParm(_)
variances for SS7 144
gc_SndMsg(_)
variances for SS7 145
gc_Start(_)
variances for SS7 145
gc_StopTrace(_)
variances for SS7 146
GCEV_EXTENSION event
in continuity tests 137
glare
handling 105
Global Call SS7 Library
function of 34
data structure
S7_IE 151
Dialogic SS7 software
configuration 44
IAM
B
BCI
gc_SetBilling(_) 143
gc_MakeCall(_) 141
173
ISDN
SS7 support for 20
ISUM message support
gc_SetInfoElem(_) 144
ISUP
configuration 41
definition 20
log file
enabling 44
M
Message Transfer Part
description 20
MTP1
definition 20
MTP2
definition 20
MTP3
definition 20
multiple hosts
connecting to SIUs 112
N
NSP
definition 20
O
OMAP
definition 21
OSI 7-layer reference model 19
overlap send and receive
handling 113
P
priority
of circuit groups 106
protocol stack
configuration 39
description 19
R
REL
T
TCAP
definition 21
time slot
assignment for SS7 boards 111
using time slot 16 112
gc_DropCall(_) 137
174
TUP
configuration 43
definition 20
175
176