Configure SCTP entities after calling SctpMgmtInit. You must configure SCTP entities in the following order:
For information about the initial configuration of SCTP, see the Dialogic® NaturalAccess™ Signaling Software Configuration Manual.
General configuration parameters define and control the general operation of the SCTP layer. The configurable attributes for the general SCTP configuration include the:
Maximum number of queued datagrams, open SCTP associations, and other elements to control memory allocation
Timer values
Define the general parameters for SCTP once at board download time, before you configure the other SCTP entities. To define the general parameters, follow these steps:
Step |
Action |
1 |
Call SctpInitGenCfg to initialize the general configuration parameter structure (SCTPGenCfg) to default values. |
2 |
Change the parameter values, as appropriate. |
3 |
Call SctpSetGenCfg to set the configuration. |
After the general configuration is defined, you can optionally change the parameters in the SCTPGenReCfg structure. To change these parameter values, follow these steps:
Step |
Action |
1 |
Call SctpGetGenCfg to obtain the current general configuration values. |
2 |
Change the parameter values, as appropriate. |
3 |
Call SctpSetGenCfg to set the configuration with the specified values. |
You must download the board again to change any of the parameter values in the SCTPGenCfg structure. For more information, see SctpInitGenCfg, SctpSetGenCfg, SCTPGenCfg, and SCTPGenReCfg.
The SCT SAP defines the interface that the M3UA application uses to access the SCTP layer. The configurable attributes of the SCT SAP includes:
The SCT SAP identifier
Timers and other parameters affecting communication with the peer
Flow control thresholds
Define the SCT SAP for the SCTP layer after you define the SCTP general configuration parameters. Currently, you can define only one SCT SAP, whose identifier must be 0.
To define an SCT SAP configuration, follow these steps:
Step |
Action |
1 |
Call SctpInitSctSapCfg to initialize the SCT SAP parameter structure (SCTPSctSapCfg) to default values. |
2 |
Change the default values, as appropriate. |
3 |
Call SctpSetSctSapCfg to set the configuration with the specified values. |
After the SCT SAP configuration is defined, you can optionally change the values for the parameters in the SCTPSctSapReCfg structure. To change these parameter values, follow these steps:
Step |
Action |
1 |
Call SctpGetSctSapCfg to obtain the current SCT SAP configuration values. |
2 |
Change the parameter values in the SCTPSctSapReCfg structure as appropriate. |
3 |
Call SctpSetSctSapCfg to set the configuration with the specified values. |
You must download the board again to change any of the parameter values in the SCTPSctSapCfg structure. For more information, see SctpInitSctSapCfg, SctpSetSctSapCfg, SctpGetSctSapCfg, SCTPSctSapCfg, and SCTPSctSapReCfg.
The transport service access point (TSAP) configuration defines the interface to the layer below SCTP, which is the IP layer. The configurable attributes of a TSAP include the:
TSAP identifier from the perspective of both SCTP and the lower layer. Currently, these identifiers must be set to 0, and only one TSAP can be defined.
Maximum number of bind request retries allowed.
Time interval for which the SCTP layer waits for bind or status confirmations from the lower layer.
Define the TSAP for the SCTP layer right after you define the SCTP SAP configuration parameters. To define a TSAP configuration, follow these steps:
Step |
Action |
1 |
Call SctpInitTSapCfg to initialize the TSAP parameter structure (SCTPTSapCfg) to default values. |
2 |
Change the default values, as appropriate. |
3 |
Call SctpSetTSapCfg to set the configuration with the specified values. |
After the TSAP configuration is defined, you can optionally change the values for the parameters in the SCTPTsapReCfg structure. To change these parameter values, follow these steps:
Step |
Action |
1 |
Call SctpGetTSapCfg to obtain the current SCT SAP configuration values. |
2 |
Change the parameter values in the SCTPTSapReCfg structure as appropriate. |
3 |
Call SctpSetTSapCfg to set the configuration with the specified values. |
You must download the board again to change any of the parameter values in the SCTPTSapCfg structure. For more information, see SctpInitTSapCfg, SctpSetTsapCfg, SctpGetTSapCfg, SCTPTSapCfg, and SCTPTSapReCfg.