Builds a basic configuration buffer that can be passed to isupGenCfg.
void isupInitGenCfg ( IsupGenParms *cfg, U32 opc)
Argument |
Description |
cfg |
Pointer to the IsupGenParms structure to initialize. For more information, refer to IsupGenParms structure and to the Details that follow. |
opc |
Originating point code. |
typedef struct _IsupGenParms
{
U16 maxSaps; /* Max number of ISUP user saps */
U16 maxNetSaps; /* Max number of network saps (MTP3) */
U16 maxCircGrp; /* Max number of circuit groups */
U16 maxRoutes; /* Max number of routes */
U32 maxCircuits; /* Max number of circuits */
U32 maxCallRefs; /* Max number of call references */
U32 orgPointCode;
Bool sccpSupport;
U8 ituUCICs;
S16 poolUpper;
S16 poolLower;
S16 timerRes; /* Timer resolution */
U16 qCongOnset1;
U16 qCongAbate1;
U16 qCongOnset2;
U16 qCongAbate2;
U16 qCongOnset3;
U16 qCongAbate3;
U16 mCongOnset1;
U16 mCongAbate1;
U16 mCongOnset2;
U16 mCongAbate2;
U16 mCongOnset3;
U16 mCongAbate3;
IsupAddr comLLID; /* Common language location identifier */
TimerCfg t18;
TimerCfg t19;
TimerCfg t20;
TimerCfg t21;
TimerCfg t22;
TimerCfg t23;
TimerCfg t28;
TimerCfg tFrstGrpRx; /* First group received timer */
TimerCfg tGrpReset; /* Group reset timer */
PDesc stkMgr;
U32 traceFlags;
U32 txmonTimeout; /* Sent to TXMON during PAUSE, RESUME, */
/* and other large operations to ask for */
/* more time to report */
U8 igPassAlng; /* Don't use Pass Along messaging with end */
/* to end connection */
U8 extElmts; /* Send up unrecognized I.E.s as extended */
/* I.E.s */
U8 rawMsgs; /* Send up unrecognized messages as raw */
/* message indications */
U8 oneGrpMsg; /* If true, should react to first group */
/* message */
U8 rmtUsrUnavl; /* If true, should start appropriate User */
/* Part Test procedure */
U8 grpResetEvent; /* Send up one group reset event instead of */
/* many separate circuit reset events */
U8 slsFromCICs; /* Set the ANSI SLS value to the bottom */
/* bots of the CIC (default TRUE) */
U8 spare1; /* spare */
U8 dsblRmtUsrUnavl;/* If true, should disable appropriate */
/* User Part Test procedure might be SSURN */
/* specific */
U8 restartT7; /* Restart T7 when an ibound INR is */
/ received */
/* Might beSSURN specific */
U8 disableACL; /* Disable automatic congestion control */
U8 spare2; /* Spare */
} IsupGenParms;
After calling isupInitGenCfg, call isupGenCfg to set the general ISUP configuration. You can optionally override specific field values before calling isupGenCfg.
The fields of the IsupGenParms structure are initialized with the following values:
Field |
Description |
maxSaps |
Maximum number of applications. Default = 2. |
maxNetSaps |
Maximum number of interfaces with the MTP3 network layer. Default = 2. |
maxCircuits |
Maximum number of circuits managed by the ISUP layer. Default = 96. |
maxCircGrp |
Maximum number of simultaneous group requests managed by the ISUP layer. Default = 32. |
maxCallRefs |
Maximum number of call references, and hence connections, that ISUP can keep track of simultaneously. Default = 16. |
maxRoutes |
Maximum number of routes. Default = 16. |
orgPointCode |
Originating point code of this node that is passed in the opc argument. Default = None. |
sccpSupport |
SCCP support indicator. Default = FALSE. |
ituUCICs |
Indicator to send and process UCIC messages. Default = FALSE. |
qCongOnset1 |
Queue to the host application congestion level 1 onset. Default = 600. |
qCongAbate1 |
Queue to the host application congestion level 1 abatement threshold. Default = 400. |
qCongOnset2 |
Queue to the host application congestion level 2 onset. Default = 900. |
qCongAbate2 |
Queue to the host application congestion level 2 abatement threshold. Default = 700. |
qCongOnset3 |
Queue to the host application congestion level 3 onset. Default = 1200. |
qCongAbate3 |
Queue to the host application congestion level 3 abatement threshold. Default = 1000. |
mCongOnset1 |
TX percentage of memory remaining congestion level 1 onset. Default = 20. |
mCongAbate1 |
TX percentage of memory remaining congestion level 1 abatement threshold. Default = 25. |
mCongOnset2 |
TX percentage of memory remaining congestion level 2 onset. Default = 10. |
mCongAbate2 |
TX percentage of memory remaining congestion level 2 abatement threshold. Default = 15. |
mCongOnset3 |
TX percentage of memory remaining congestion level 3 onset. Default = 5. |
mCongAbate3 |
TX percentage of memory remaining congestion level 3 abatement threshold. Default = 8. |
comLLID |
Common language location identifier. Default = NOT_PRESENT. |
t18 |
Time to wait for a response to a group blocking message. value = 12 enable = TRUE |
t19 |
Time to wait for a response to an initial group blocking message. value = 60 enable = TRUE |
t20 |
Time to wait for a response to a group unblocking message. value= 12 enable = TRUE |
t21 |
Time to wait for a response to an initial group unblocking message. value = 60 enable = TRUE |
t22 |
Time to wait for a response to a circuit group reset message. value = 12 enable = TRUE |
t23 |
Time to wait for a response to the initial circuit group reset message. value = 60 enable = TRUE |
t28 |
Time to wait for a response to an initial circuit group query message. value = 10 enable = TRUE |
tFrstGrpRx |
ANSI first group received timer. value = 0 enable = FALSE |
tGrpReset |
Group reset timer. value = 1 enable = TRUE |
igPassAlng |
Ignore pass along messages indicator. Default = FALSE. |
extElmts |
Extended elements indicator. Default = FALSE. |
rawMsgs |
Raw messages indicator. Default = FALSE. |
oneGrpMsg |
ANSI only. Indicator that the stack should react to first group message if TRUE. Default = FALSE |
rmtUsrUnavl |
Configures the stack to start in remote user unavailable mode. Default = FALSE. |
grpResetEvent |
Configures the stack to send up one group reset event instead of many separate circuit reset events. Default = FALSE. |
slsFromCICs |
Sets the ANSI SLS value to the bottom bits of the CIC. Default = TRUE. |
dsblRmtUsrUnavl |
Disables appropriate user part test procedure (for SSURN among others). Default = FALSE. |
restartT7 |
Restarts T7 when an inbound INR is received (for SSURN among others). Default = FALSE. |
disableACL |
Disables automatic congestion control (for SSURN among others). Default = FALSE. |
Structure members not indicated in the previous table are initialized to appropriate values for proper operation of the ISUP stack and must not be modified.
IsupGenParms cfg;
U32 opc = 1.1.4;
isupInitGenCfg(&cfg, opc);