Transit network selection

Associated variants: All except Q.767

Identifies the transit network used to carry a call.

typedef struct _tranNetSel   /* Transit Network Selection */
{
    ElmtHdr eh;              /* element header            */
    TknU8   netIdPln;        /* network id plan           */
    TknU8   typNetId;        /* type of network id        */
    TknU8   oddEven;         /* odd/even                  */
    TknU8   spare;           /* spare bits                */
    TknStr  netId;           /* network identification    */
} SiTranNetSel;

The fields in the SiTranNetSel structure are encoded as follows:

Field

Value

netIdPln

Network ID plan. Defined values for all supported variants except ANSI 92:

0x00 = NI_UNKNWN

0x03 = NI_DNIC_X21

0x06 = NI_MNIC_E212

 

Additional values for ANSI 92:

0x01 = NI_3DIGCIC

0x02 = NI_4DIGCIC

typNetId

Type of network ID. Defined values:

0x00 = TNI_CCITT

0x02 = TNI_NATNET

oddEven

Specifies whether the number of digits in the addrSig field is even or odd. If even, the last octet contains two digits. If odd, the last octet contains only one digit and the most significant four bits not used. Defined values:

0 = NMB_EVEN

1 = NMB_ODD

netId

An implementation-specific network identifier. For example, Bellcore networks may use the same three digit code as when dialing 10xxx to identify an interexchange carrier. The value is encoded as shown in the following tables.


For the addrSig field, the actual address digits are encoded as follows:

Octet 1

2nd address digit

1st (most significant) address digit

...

...

...

Octet n

m + 1th address digit or filler

mth address digit


where each digit is encoded with the following bit pattern:

Bit pattern

Digit/signal

0000

0

0001

1

0010

2

0011

3

0100

4

0101

5

0110

6

0111

7

1000

8

1001

9

1010

spare

1011

code 11

1100

code 12

1101

spare

1110

spare

1111

ST


Tokens for the ANSI, BICC, and ETSI variants

Token

ANSI 88

ANSI 92

ANS 95

BICC

ETSI V2

ETSI V3

netIdPln

*

*

*

*

*

*

typNetId

*

*

*

*

*

*

oddEven

 

 

 

*

*

*

spare

1(8)

1(8)

1(8)

 

 

 

netId

*

*

*

*

*

*


Tokens for the ITU variants

Token

ITU Blue

ITU White

ITU 97

netIdPln

*

*

*

typNetId

*

*

*

oddEven

*

*

*

spare

 

 

 

netId

*

*

*