isupInitCircCfg

Builds a circuit configuration buffer that can be passed to isupCircCfg.

Prototype

void isupInitCircCfg ( IsupCircCfg *cfg, U32 dpc)

Argument

Description

cfg

Pointer to the following IsupCircCfg structure to initialize:

typedef struct _IsupCircCfg
{
  U32        circuitId;      /* Circuit id code                       */
  U16        cic;            /* cic                                   */
  U16        switchType;     /* Switch type of this circuit           */
  U32        dstPointCode;   /* Destination point code                */
  U32        altOrgPointCode /* Origination point code                */
  U8         controlType;    /* Type of control                       */
  U8         circuitType;    /* Type of circuit                       */
  U8         bearerProfile;  /* Bearer profile                        */
  U8         groupChars;     /* Alignment                             */
  Bool       contCheckReq;   /* Continuity check required             */
  Bool       nonSS7Con;      /* Connecting to non SS7 network         */
  U8         ssf;            /* SSF, if this is non - 0xff, then use  */
                             /*   it instead                          */
  U8         fill2;          /* Alignment                             */
  IsupAddr outTrunkGrp;      /* Outgoing trunk group number           */
  IsupAddr comLLID;          /* Common language location identifier   */
  TimerCfg t4;               /* t4 timer - user part test sent        */
  TimerCfg t12;              /* t12 timer - blocking sent             */
  TimerCfg t13;              /* t13 timer - initial blocking sent     */
  TimerCfg t14;              /* t14 timer - unblocking sent           */
  TimerCfg t15;              /* t15 timer - initial unblocking sent   */
  TimerCfg t37;              /* t37 timer - waiting for receipt of    */
                             /* message after user part available     */
                        /*   test started                        */
  TimerCfg tPause;           /* tPause timer - MTP Pause received     */
  TimerCfg tVal;             /* Circuit validation timer              */
} IsupCircCfg;

Refer to the Details section for more information.

dpc

Destination point code.


Details

After calling isupInitCircCfg, call isupCircCfg to set the circuit configuration. You can optionally override specific field values before calling isupCircCfg.

The fields in the IsupCircCfg structure are initialized with the following values:

Field

Description

circuitId

Number of the circuit. This value must be unique for all defined circuits and be less than the value used in the maxCircuits field of isupGenCfg. The application and the ISUP layer use this number to identify circuits, but it has no meaning to the far exchange. Default = 1.

cic

Circuit identification code (CIC). This number must agree with the CIC assigned to this circuit at the far exchange. Default = 1.

dstPointCode

Destination point code to where this circuit connects, initialized from the dpc argument.

altOrgPointCode

Alternate originating point code for the circuit. Use this parameter when configuring the board to act as multiple originating point codes (OPCs). The OPC must be properly configured in MTP for the new ISUP OPC to work. For more information on configuring multiple OPCs, see the Dialogic® NaturalAccess™ Signaling Software Configuration Manual.

Default = 0 (configuration uses the ISUP general configuration originating point code).

controlType

One of the following circuit control values:

ISUP_CTL_NONE

ISUP_CTL_ALL

ISUP_CTL_ODDEVEN

Default = ISUP_CTL_NONE.

circuitType

One of the following circuit group usage values:

ISUP_CIR_INCOMING

ISUP_CIR_OUTGOING

ISUP_CIR_BOTHWAY

Default = ISUP_CIR_INCOMING.

t4

Time to wait between user part test messages.

value = 0

enable = FALSE

t12

Time to wait for response for a transmitted blocking message.

value = 12

enable = TRUE

t13

Time to wait for a response for the initially transmitted blocking message.

value = 60

enable = TRUE

t14

Time to wait for a response for a transmitted unblocking message.

value = 12

enable = TRUE

t15

Time to wait for a response for the initially transmitted unblocking message.

value = 60

enable = TRUE

tVal

ANSI circuit validation timer.

value = 30

enable = TRUE


Example

IsupCircCfg  cfg;
U32  dpc = 1.1.2;

isupInitCircCfg
(&cfg, dpc);