Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
hp OpenCall SS7 platform Application Developer's Guide: For Release 3.1 on Linux > Chapter 5 Using the SCCP API

SCCP Parameters

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

Each SCCP primitive has associated SCCP parameters that include the necessary information to complete the function corresponding to the primitive.

Local Alias PC

The SCCP level automatically changes the PointCode field of the calledAddress parameter from a local alias used by the network and received by the platform into the LPC. This makes use of local aliases completely transparent to the higher levels such as TCAP. Therefore you should never use a local alias within a local application.

Table 5-3 SCCP Parameters and Values

SCCP Parameter

Structure

Element

Type

Value

affectedDPC

-

-

BITS32

-

affectedSSN

-

-

OCTET

-

associatedPC

-

-

BITS32

-

callingAddress

calledAddress

SC_ADDRESS

pointCodePresent

SC_PC_USAGE

SC_no,
SC_SCCPUse,
SC_MTPUse

pointCode

BITS32

-

ssnPresent

ubool

-

ssn

OCTET

-

gt

-

pointer to a SC_GLOBAL_TITLEstructure or NULL (no global title)

SC_GLOBAL_ TITLE

Following fields only used when gt contains a pointer

routeOnGt

ubool

-

gtIndicator

SC_GT_INDICATOR

SC_noGlobalTitle
SC_gtType1
SC_gtType2
SC_gtType3
SC_gtType4

translation

SC_TRANSLATION_TYPE

SC_unused
SC_internetwork_1
SC_networkSpecific_1

numbering

SC_NUMBERING_PLAN

SC_unknownNumbering
SC_isdn
SC_userdata
SC_telex
SC_maritimeMobile
SC_landMobile
SC_isdnMobile

encoding

SC_ENCODING_SCHEME

SC_unknownEncode
SC_bcdOdd
SC_bcdEven

nature

SC_ADDRESS_NATURE

SC_subscriberNo
SC_nationalNo
SC_internationalNo

digits

char*

-

coordStatus

-

-

SC_CONFIRM_STATUS

SC_granted_withdrawal
SC_denied_withdrawal
SC_no_peer

hopCounter

-

-

unsigned char

Range: 1-15

Defaults to 15 if set outside range.

importance

-

-

int

This sets the priority level of the message, (whether it will be discarded at MTP if there is congestion). Values range from 0-2, with 0 being the lowest level of importance. If the value of importance in SCCP_send() is out of range (0 to 2), the value is reset to 0.

InSequence

  

ubool

Set to 0.

multInd

-

-

SC_SMI

multIndUnknown
multIndSolitary
multIndDuplicated

returnOption

-

-

ubool

-

returnReason

-

-

SC_RETURN_REASON

SC_noTranslationNature
SC_noTranslationSpecific
SC_subsystemCongestion
SC_subsystemFailure
SC_unequippedUser
SC_networkFailure
SC_networkCongestion
SC_unqualified
SC_errorInMsgTransport
SC_errorInLocalprocessing
SC_noDestReassembly
SC_sccpFailure
SC_hopCounterViolation
SC_segNotSupported
SC_segFailure
SC_invalidISNIrouting
SC_unauthorizedMsg
SC_msgIncompatibility
SC_noISNIconsRouting
SC_redundantISNIconsRouting
SC_noISNIidentification
SC_noError

SegmOption

-

-

ubool

For future use. Should be set to 0, but no error message is returned

sequenceControl

-

-

int

-

serviceClass

SC_SERVICE_ CLASS

-

 SCCP_CLASS_0 = 0
SCCP_CLASS_1

spStatus

-

-

SC_SP_STATUS

SC_inaccessible
SC_congestedSC_accessible
SC_restartingSC_congested
SC_cnx_error

XUDTOption

-

-

ubool

See Table Note 1

XUDTSOption

-

-

ubool

See Table Note 2

userStatus

-

-

SC_USER_STATUS

SC_UIS
SC_UOS

 

See also the SCCP_recv(3) man page.

Table Note 1

In xunitdata_req:

FALSE: XUDT sent only when segmentation is needed (UDT otherwise).

TRUE: force use of XUDT rather than UDT.

In xunitdata_ind:

FALSE: UDT received.

TRUE: XUDT received.

Table Note 2

In xnotice_req:

FALSE: Use UDTS message type.

TRUE: Use XUDTS message type.

In xnotice_ind:

FALSE: UDTS received.

TRUE: XUDTS received.

Global Title Types

The HP OpenCall SS7 SCCP supports all Global Title types as defined in Q.713 §3.4.1. The application identifies the GT type by setting the gtIndicator.

Table 5-4 Global Title Type

SC_GT_IndicatorITU-TANSI
SC_gtType1

nature of address

translation type,

numbering plan,

encode-scheme

SC_gtType2

translation type

translation type

SC_gtType3

translation type,

numbering plan,

encode-scheme

not used

SC_gtType4

nature of address,

translation type,

numbering plan,

encode-scheme

not used

 

You must ensure that gt element of SC_ADDRESS contains a pointer to SC_GT_TITLE.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.