TCAPMessageRegister

Description

Use this message to register an application for all TCAP-related PPL Event Indications given a specific Origination Point Code (OPC), Subsytem Number(SSN) or stack and SSN.

Important! Only events of Component Type 0x70 (TCAP TUSI) and 0x67 (SCCP SUSI) will be sent to the registered application.

Sent by

Function sk_pplTCAPRegister()

Arguments

The following table shows the arguments you can change:

Argument

Description

OPC

The Origination Point Code (Stack ID) of the SS7 TCAP stack generating the PPL Event Indications.

Stack

Stack value

Stack_SSN

a combination of Stack and SSN created by using the getSS7TCAP_MultiCard_RoutingID(Stack, SSN)macro

RegisterType

Registration type. Use the following constants to specify either OPC, SSN or Stack/SSN combination:

SK_TCAP_REG_OPC (0x00) - OPC Registration

SK_TCAP_REG_SSN (0x01) - SSN Registration

SK_TCAP_REG_STACK_SSN 0x02 - Registers a combination of stack and subsystem number using the getSS7TCAP_MultiCard_RoutingID(stack,SSN) macro.

RegisterFlag

Indicates a registration or de-registration using the following constants:

SK_TCAP_ACTIVATE_REGISTER (0x01) -Register
SK_TCAP_DEACTIVATE_REGISTER (0x00) -Deregister

C Structure

typedef struct {

int OPC;

int STACK_SSN;

int SSN;

UBYTE RegisterType;

UBYTE RegisterFlag;

UBYTE reserved31[2];

} SK_TCAPMessageRegister;

C Structure Response

typedef struct {

int Status;

} SK_TCAPMessageRegisterAck;

C++ Class

class SKC_TCAPMessageRegister : public SKC_ToolkitMessage {

public:

int getOPC() const;

void setOPC(int x);

int getSTACK_SSN() const ;

void setSTACK_SSN(int x) ;

int getSSN() const ;

void setSSN(int x) ;

UBYTE getRegisterType() const ;

void setRegisterType(UBYTE x) ;

UBYTE getRegisterFlag() const ;

void setRegisterFlag(UBYTE x)

};

C++ Class Response

class SKC_TCAPMessageRegisterAck : public SKC_ToolkitAck {

public:

int getStatus() const;

void setStatus(int x);

};