ISUPInitREL

Initializes a SiRelEvnt structure for transmitting a release message (REL).

Prototype

S16 TXISUPAPIFUNC ISUPInitREL ( S16 switchType, SiRelEvnt *event, U8 cause)

Argument

Description

switchType

One of the following switch type indicators:

ST_ANS88

ST_ANS92

ST_ANS95

ST_BICC

ST_ITUBLUE

ST_ITUWHITE

ST_JNTT

ST_Q767

event

Pointer to the SiRelEvnt structure to be initialized.

cause

Cause value.


Details

The fields of the SiRelEvnt structure are initialized as described in the following tables, based on the switchType parameter. Fields not described are not applicable to an REL. This function is called in preparation for a call to ISUPReleaseReq.

ANSI 88, ANSI 92, and ANSI 95 values

Field

ANSI 88

ANSI 92

ANSI 95

causeDgn

Present

Present

Present

    location

ILOC_PRIVNETLU

ILOC_PRIVNETLU

ILOC_PRIVNETLU

    cdeStand

CSTD_NAT

CSTD_NAT

CSTD_NAT

    causeVal

from cause

from cause

from cause

    dgnVal

NOT_PRESENT

NOT_PRESENT

NOT_PRESENT

accTrnspt

NOT_PRESENT

NOT_PRESENT

NOT_PRESENT

autoCongLvl

 

NOT_PRESENT

NOT_PRESENT

callRef

NOT_PRESENT

NOT_PRESENT

NOT_PRESENT

chargeNum

 

NOT_PRESENT

NOT_PRESENT

cugIntCode

NOT_PRESENT

 

 

genAddr

 

NOT_PRESENT

NOT_PRESENT

redirInfo

NOT_PRESENT

 

 

redirNum

NOT_PRESENT

 

 

redirgNum

NOT_PRESENT

 

 

serviceAct

 

 

NOT_PRESENT

sigPointCode

NOT_PRESENT

 

 

usr2UsrInfo

NOT_PRESENT

 

NOT_PRESENT


ITU Blue Book, ITU White Book, and ITU Q.767 values

Field

ITU Blue Book

ITU White Book

ITU Q.767

causeDgn

Present

Present

Present

    location

ILOC_PRIVNETLU

ILOC_PRIVNETLU

ILOC_PRIVNETLU

    cdeStand

CSTD_NAT

CSTD_NAT

CSTD_NAT

    causeVal

from cause

from cause

from cause

    dgnVal

NOT_PRESENT

NOT_PRESENT

NOT_PRESENT

redirInfo

NOT_PRESENT

NOT_PRESENT

 

redirNum

NOT_PRESENT

NOT_PRESENT

 

accTrnspt

NOT_PRESENT

NOT_PRESENT

 

sigPointCode

NOT_PRESENT

NOT_PRESENT

 

usr2UsrInfo

NOT_PRESENT

NOT_PRESENT

NOT_PRESENT

autoCongLvl

NOT_PRESENT

NOT_PRESENT

NOT_PRESENT

netFac

 

NOT_PRESENT

 

accDelInfo

 

NOT_PRESENT

 

parmCom

 

NOT_PRESENT

 

redirRstr

 

NOT_PRESENT

 

usr2UsrInd

 

NOT_PRESENT

 


BICC values

Field

BICC

causeDgn

Present

    location

ILOC_PRIVNETLU

    cdeStand

CSTD_NAT

    causeVal

from cause

    dgnVal

NOT_PRESENT

redirInfo

NOT_PRESENT

redirNum

NOT_PRESENT

accTrnspt

NOT_PRESENT

sigPointCode

NOT_PRESENT

usr2UsrInfo

NOT_PRESENT

autoCongLvl

NOT_PRESENT

netFac

NOT_PRESENT

accDelInfo

NOT_PRESENT

parmCom

NOT_PRESENT

redirRstr

NOT_PRESENT

usr2UsrInd

NOT_PRESENT


NTT values

Field

NTT

causeDgn

Present

    location

ILOC_PRIVNETLU

    cdeStand

CSTD_NAT

    causeVal

from cause

    dgnVal

NOT_PRESENT

usr2UsrInfo

NOT_PRESENT

ServiceAct

NOT_PRENENT

CgPtyNum

 


Example

S16        switchType=ST_ITUWHITE;
SiAllSdus  sendEvent;
U8         cause= CCCALLCLR;    /* Normal call clearing, defined in iedefs.h */;

ISUPInitREL
(switchType, &sendEvent.m.SiRelEvnt, cause);