Calling party number

Associated variants: All

Provides the format of the party placing a call (the caller).

 typedef struct _cgPtyNum  /* Calling Party Number                */
{
  ElmtHdr  eh;             /* element header                      */
  TknU8    natAddrInd;     /* nature of address indicator         */
  TknU8    oddEven;        /* odd or even                         */
  TknU8    scrnInd;        /* screen indicator                    */
  TknU8    presRest;       /* Addr presentation restricted ind.   */
  TknU8    numPlan;        /* numbering plan                      */
  TknU8    niInd;          /* number incomplete indicator         */
  TknU8    spare;          /* spare bits                          */
  TknStr   addrSig;        /* Address Signal                      */
} SiCgPtyNum;

The fields in the SiCgPtyNum structure are encoded as follows:

Field

Values

natAddrInd

Nature of address indicator. Defined values for all variants:

0x01 = SUBSNUM   Subscriber number

0x03 = NATNUM   Nationally significant number

0x04 = INTNATNUM   International number

Additional values for ANSI:

0x71 = SUBSNUMOPREQ   Subscriber number operator requested

0x72 = NATNUMOPREQ   National number operator requested

0x73 = INTNATNUMOPREQ   International number operator requested

0x74 = NONUMPRESOPREQ   No number present operator requested

0x75 = NONUMPRESCUTTHRU   No number present cut-through call to carrier

0x76 = NINEFIVEOH   950+ service

0x77 = TSTLINETSTCODE   Test line test code

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

scrnInd

Screen indicator. Defined values:

0x00 = USRPROVNOTVER   User provided, not verified

0x01 = USRPROV   User provided, verified passed

0x02 = USRPROVVERFAIL   User provided, verified failed

0x03 = NETPROV   Network provided

presRest

Address presentation restricted indicator. Defined values:

0x00 = PRESALLOW   Presentation allowed

0x01 = PRESREST   Presentation restricted

0x02 = ADDRNOAVAIL   Address not available

numPlan

Numbering plan. Defined values for all supported variants except BICC:

0x00 = NP_UNK   Unknown

0x01 = NP_ISDN   ISDN/telephony according to  E.164/E.163

0x02 = NP_TEL   Telephony numbering according to E.163; spare in ITU Blue, ITU White, and ITU 97

0x03 = NP_DATA   Data numbering according to X.121

0x04 = NP_TELEX   Telex number according to F.69

0x08 = NP_NATIONAL   National standard numbering

0x09 = NP_PRIVATE   Private numbering plan

0x0f = NP_EXT   Reserved for extension

 

Defined values for BICC:

0x00 = NP_UNK   Unknown

0x01 = NP_ISDN      ISDN/telephony according to ITU-T E.164/E.163

0x02 = NP_TEL   Spare

0x03 = NP_DATA   Data numbering according to ITU-T X.121

0x04 = NP_TELEX   Telex number according to ITU_T F.69

0x05 = NP_PRIVATE   Private numbering plan.

0x06 = NP_NATIONAL   Reserved for national use

niInd

Number incomplete indicator. Defined values:

0x00 = NBMCMLTE   Number complete

0x01 = NBMINCMLTE   Number incomplete

addrSig

Actual address digits, 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

ANSI 95

BICC

ETSI V2

ETSI V3

natAddrInd

*

*

*

*

*

*

oddEven

*

*

*

*

*

*

scrnInd

*

*

*

*

*

*

presRest

*

*

*

*

*

*

numPlan

*

*

*

*

*

*

niInd

 

 

 

*

*

*

spare

2(8)

2(8)

2(8)

 

 

 

addrSig

*

*

*

*

*

*


Tokens for the ITU and Q.767 variants

Token

ITU Blue

ITU White

ITU 97

Q.767

natAddrInd

*

*

*

*

oddEven

*

*

*

*

scrnInd

*

*

*

*

presRest

*

*

*

*

numPlan

*

*

*

*

niInd

*

*

*

*

spare

 

 

 

 

addrSig

*

*

*

*