Previous PageTable Of ContentsIndexNext Page



Appendix C: Parameters

Introduction

This section lists the default settings of the parameters passed to isdnStartProtocol by means of the parms argument.

ISDN_PROTOCOL_PARMS_Q931CC

The ISDN_PROTOCOL_PARMS_Q931CC structure contains parameters which configure the ISDN protocol stack for Q.931 call control via the ACU. Either this structure or ISDN_PROTOCOL_PARMS_LAPD are passed to isdnStartProtocol, depending upon how the ISDN protocol stack is to be configured. For details, see Section 4.4.1. For a definition of the data structure, see Section 6.3.1.

Type

Parameter

Description

Default Value

Range of Values

WORD

hdlc_channel

HDLC channel index.

0

0

WORD

rate

Data rate.

ISDN_RATE_64K

ISDN_RATE_64K, ISDN_RATE_56K

CONFIG_DL_SAPI

sapi_sig

Data link signaling layer configuration.

(See below)

 

CONFIG_DL_SAPI

sapi_x25

DL_SAPI_X25.

0

Not supported.

CONFIG_DL_SAPI

sapi_mdl

Data link management component configuration.

(See below)

 

CONFIG_DL_SAPI

other[2]

User defined SAPIs.

0

Not supported.

timer_val_t

xxx

Timer values by country/operator.

(See Appendix D)

(See Appendix D)

WORD

t309

T309 in use flag indicates if data link release and establish timers are in effect.

non-zero

0, non-zero

BYTE

services_list[ ]

Services supported on incoming calls.

All services (See below)

All services

WORD

max_FEC_errors

Maximum number of framing errors allowed during the T198 interval.

20

0 or more ms.

timer_val_t

t101

ms. of bad framing before disabling sending D channel packets.

750

0 or more ms.

timer_val_t

t102

ms. of good framing before enabling sending D channel packets.

50

0 or more ms.

timer_val_t

t198

Integration period for framing errors.

5

0 or more sec.

WORD

tei_time_assignment

TEI time assignment.

0

(reserved)

WORD

tei_time_removal

TEI time removal.

0

(reserved)

BYTE

tei[3]

TEI values.

0

                      (reserved)

BYTE

digitstoroute

Number of digits needed to route when using overlap receiving.

0

0 or more

WORD

in_calls_behavior

Incoming calls behavior.

0

(See below)

WORD

out_calls_behavior

Outgoing calls behavior.

0

(See below)

The following code segment illustrates the typical settings of the protocol parameter to isdnStartProtocol for application access to ACU SAP. The two SAPIs required to be initialized below the ACU are sapi_sig (network signaling) and sapi_mdl (data link management). Notice that these data structures need only be initialized to 0 and the enabled bit set so that the default fields will be initialized by the ACU layer on the board.

The partner field indicates the point to which the equipment is being connected, i.e. the "partner" equipment for a system being configured as terminal equipment is the Network Terminating device (NT).

services_list Sub-Structure

The services_list data structure included in ISDN_PROTOCOL_PARMS_ Q931CC consists of a set of up to CC_MX_SERVICES elements, which together define the set of ACU services required by an instance of the ISDN protocol stack.

By default, all services are accepted. If you specify certain services only, if an incoming call requests a different service, the protocol stack automatically rejects the call.

The following available services are defined in isdnacu.h:

The services array must be terminated by ACU_NO_SERVICE. Thus you can specify at most CC_MX_SERVICES minus 1.

in_calls_behavior Sub-Structure

The Parameters in the in_calls_behavior sub-structure included in ISDN_ PROTOCOL_PARMS_Q931CC determine how an incoming call is handled by the ISDN protocol stack. Refer to isdnparm.h for more details.

These configuration fields are bit fields. Each determines a particular element of the ISDN protocol stack's behavior. The values are defined as follows:

If in_calls_behavior is set to 0 or not set at all, the ISDN protocol stack behaves as follows:

out_calls_behavior Sub-Structure

The parameters in the out_calls_behavior sub-structure included in ISDN_PROTOCOL_PARMS_Q931CC determine how an outgoing call is handled by the ISDN protocol stack. Refer to isdnparm.h for more details.

These configuration fields are bit fields. The values are defined as follows:

If out_calls_behavior is set to 0 or not set at all, the ISDN protocol stack behaves as if all out_calls_behavior bits are cleared.

ISDN_PROTOCOL_PARMS_LAPD

The ISDN_PROTOCOL_PARMS_LAPD structure contains parameters which configure the ISDN protocol stack for LAPD. Either this structure or ISDN_PROTOCOL_PARMS_Q931CC are passed to isdnStartProtocol, depending upon how the ISDN protocol stack is to be configured. For details, see Section 4.4.1. For a definition of the data structure, see Section 6.3.2.

Type

Parameter

Description

Default Value

Range of Values

WORD

hdlc_channel

HDLC channel index.

0

0

WORD

rate

Data rate.

ISDN_RATE_64K

ISDN_RATE_64K, ISDN_RATE_56K

CONFIG_DL_SAPI

sapi_sig

Data link signaling layer configuration.

(See below)

 

CONFIG_DL_SAPI

sapi_x25

DL_SAPI_X25.

0

Not supported.

CONFIG_DL_SAPI

sapi_mdl

Data link management component configuration.

(See below)

 

CONFIG_DL_SAPI

other[2]

User defined SAPIs

0

Not supported.

timer_val_t

t101

ms. of bad framing before disabling sending D channel packets.

750

0 or more ms.

timer_val_t

t102

ms. of good framing before enabling sending D channel packets.

50

0 or more ms.

timer_val_t

t198

Integration period for framing errors.

5

0 or more sec.

WORD

tei_time_assignment

TEI time assignment.

0

(reserved)

WORD

tei_time_removal

TEI time removal.

0

(reserved)

BYTE

tei[3]

TEI values.

0

                      (reserved)

BYTE

digitstoroute

Number of digits needed to route when using overlap receiving.

0

0 or more

CONFIG_DL_SAPI

The following parameter structure is included in the configuration structure ISDN_PROTOCOL_PARMS_Q931CC and ISDN_PROTOCOL_PARMS_ LAPD. Two of the four configuration structures specified in each of these structures must be enabled. The following tables enumerate the default settings of the sapi_sig and the sapi_mdl, describing the parameters for the signaling layer and the data link management layer, respectively.

CONFIG_DL_SAPI sapi_sig Defaults

Type

Parameter

Description

Default

Range of Values

WORD

enabled

SAPI enabled.

1

0, non-zero

WORD

override_defaults

Override default SAPI configuration.

0

0, non-zero

BYTE

BYTE sapi

SAPI identifier.

0

0

BYTE

modulo

LAP frame sequencing in N(R) and N(S) fields of I-frames

128

8, 128

BYTE

k

Window size.

N/A

N/A

BYTE

n_cep

Number of connection endpoints.

2

0-255

timer_val_t

t200

Time to wait for an acknowledgement to a frame before initiating recovery (DL).

1

0 or more sec.

timer_val_t

t201

Minimum time between TEI identity check messages (MDL).

1

0 or more sec.

timer_val_t

t202

Minimum time between TEI identity request (MDL).

2

0 or more sec.

timer_val_t

t203

Maximum time with no frames exchanged (DL watchdog timer).

10

30 (for AT&T only)

0 or more sec.

BYTE

n200

Maximum number of re-transmissions of a frame (SAPI_SIG).

3

0 or more

BYTE

n202

Maximum number of re-transmissions of TEI identity message (SAPI_MDL).

3

0 or more

WORD

n201

I frame maximum size

260

1-260

BYTE

xid_max_val

XID retransmission max value: X.32 identification.

0

Not supported.

BYTE

lapf_add_format

LAP F address format.

0

Not supported.

BYTE

lapf_discard

LAP F discard eligibility.

0

Not supported.

BYTE

lapf_dc

DLCI or DL-CORE.

0

Not supported.

timer_val_t

xid_timer

XID retransmission timer value.

0

Not supported.

timer_val_t

reserved

N/A

0

(reserved)

CONFIG_DL_SAPI sapi_mdl Defaults

Type

Parameter

Description

Default

Range of Values

WORD

enabled

SAPI enabled.

1

0, non-zero

WORD

override_defaults

Override default SAPI configuration.

0

0, non-zero

BYTE

BYTE sapi

SAPI identifier.

63

63

BYTE

modulo

LAP frame sequencing in N(R) and N(S) fields of I-frames.

128

8, 128

BYTE

k

Window size.

N/A

N/A

BYTE

n_cep

Number of connection endpoints.

2

0-255

timer_val_t

t200

Time to wait for an acknowledgement to a frame before initiating recovery (DL).

1

0 or more sec.

timer_val_t

t201

Minimum time between TEI identity check messages (MDL).

1

0 or more sec.

timer_val_t

t202

Minimum time between TEI identity request (MDL).

2

0 or more sec.

timer_val_t

t203

Maximum time with no frames exchanged (DL watchdog timer).

10

30 (for AT&T only)

0 or more sec.

BYTE

n200

Maximum number of re-transmissions of a frame (SAPI_SIG).

3

0 or more

BYTE

n202

Maximum number of re-transmissions of TEI identity message (SAPI_MDL).

3

0 or more

WORD

n201

I frame maximum size

260

1-260

BYTE

xid_max_val

XID retransmission maximum value: X.32 identification.

0

Not supported.

BYTE

lapf_add_format

LAP F address format.

0

Not supported.

BYTE

lapf_discard

LAP F discard eligibility.

0

Not supported.

BYTE

lapf_dc

DLCI or DL-CORE.

0

Not supported.

timer_val_t

xid_timer

XID retransmission timer value.

0

Not supported.

timer_val_t

reserved

N/A

0

(reserved)


Natural MicroSystems, Inc.
100 Crossing Boulevard
Framingham, MA 01702

Contact Developer Support

Previous PageTable Of ContentsIndexNext Page