Builds a network service access point configuration buffer that can be passed to isupNSapCfg.
void isupInitNSapCfg ( IsupNSapCfg *cfg, S16 switchType)
Argument |
Description |
cfg |
Pointer to the following IsupNSapCfg structure to initialize: typedef struct _IsupNSapCfg /* ISUP Network Sap Config. struct (LOWER) */ Refer to the Details section for more information. |
switchType |
Switch type indicator. |
After calling isupInitNSapCfg, call isupNSapCfg to set the network service access point configuration. You can optionally override specific field values before calling isupNSapCfg.
The fields of the IsupNSapCfg structure are initialized with the following values:
Field |
Description |
switchType |
One of the following switch type indicators specified in switchType: ISUP_SW_ITU ISUP_SW_ANS88 ISUP_SW_ANS92 ISUP_SW_JNTT |
ssf |
ISUP_SSF_NAT |
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.
IsupNsapCfg cfg;
U16 switchType = ISUP_SW_ANS92;
/* Initialize NSAP configuration parameters to default values */
isupInitNSapCfg(&cfg, switchType);