Go to primary content
Oracle® Communications EAGLE Database Administration - SS7 User's Guide
Release 46.7
E97335 Revision 1
Go To Table Of Contents
Contents

Previous
Previous
Next
Next

14-Bit ITU National Point Code Formats

The format of a 14-bit ITU national point code is defined by the npcfmti parameter of the chg-stpopts command. This parameter defines how the 14-bit ITU national point code is entered into the database, and how it is displayed in any EAGLE outputs (command outputs or unsolicited outputs).

The 14-bit ITU national point code can be either a single number, up to five digits, or two, three, or four numbers separated by dashes. The 14-bit ITU national point code is a 14-bit integer. The values used by the npcfmti parameter of the chg-stpopts command defines the number of bits that make up each part of the point code format, if the 14-bit ITU national point code is made up of two, three, or four numbers.

If the 14-bit ITU national point code format has less than four numbers, the parts of the point code format not being used must be specified as zero (0). All four parts of the point code format must be specified with the npcfmti parameter, no matter how many numbers the point code format will contain, and the sum of the values of all four parts of the point code format must be 14 (for example, NPCFMTI=7-7-0-0, NPCFMTI=0-6-8-0, NPCFMTI=0-0-4-10, NPCFMTI=3-8-3-0, NPCFMTI=14-0-0-0).

If the database contains 14-bit ITU national point codes of a particular format, and the format is changed with the npcfmti parameter of the chg-stpopts command, the format of the 14-bit ITU national point codes in the database will be changed to the new format.

The values of the parts of the 14-bit ITU national point code are defined in Table 2-2.

Table 2-2 14-Bit ITU National Point Code Values

NPCFMTI Parameter Values

0

1

2

3

4

Range of Values

The segment is not used.

0–1

0–3

0–7

0–15

 

NPCFMTI Parameter Values

5

6

7

8

9

Range of Values

0–31

0–63

0–127

0–255

0–511

 

NPCFMTI Parameter Values

10

11

12

13

14

Range of Values

0–1023

0–2047

0–4095

0–8191

0–16383

A 14-bit ITU national point code containing all zeros is a valid point code and can be entered into the database.

When the EAGLE is delivered to the user, the format of the 14-bit ITU national point code is set to 14-0-0-0 (a single number containing up to five digits). If the 14-bit ITU national point code is a single number, the value of the point code is from 1 to 16383.

To change the format of a 14-bit ITU national point code, perform Changing the Format of 14-Bit ITU National Point Codes. The example used in this procedure changes the format of the 14-bit ITU national point code from 14-0-0-0 to 4-4-4-2.

Changing the Format of 14-Bit ITU National Point Codes

Caution:

Changing the formats of the 14-bit ITU national point codes will change how any existing 14-bit ITU national point codes are displayed in the database.
  1. Display the existing values for the npcfmti parameter by entering the rtrv-stpopts command. The value for the npcfmti parameter is shown in the NPCFMTI field. This is an example of the possible output.
    rlghncxa03w 07-05-17 16:02:05 GMT  EAGLE5 37.0.0
    STP OPTIONS
    -----------------------
    NPCFMTI       14-0-0-0
    

    Note:

    The rtrv-stpopts command output contains other fields that are not used by this procedure. If you wish to see all the fields displayed by the rtrv-stpopts command, see the rtrv-stpopts command description in Commands User's Guide.
  2. Change the value of the npcfmti parameter. For this example, enter this command.

    chg-stpopts:npcfmti=4-4-4-2

    When this command has successfully completed, this message should appear.

    rlghncxa03w 07-05-07 00:22:57 GMT  EAGLE5 37.0.0
    CHG-STPOPTS: MASP A - COMPLTD
    

    Note:

    The parameters of the chg-stpopts command are optional. For any parameters not specified with the chg-stpopts command, the values for these parameters are not changed.
  3. Verify the changes using the rtrv-stpopts command. This is an example of the possible output.
    rlghncxa03w 07-05-17 16:02:05 GMT  EAGLE5 37.0.0
    STP OPTIONS
    -----------------------
    NPCFMTI        4-4-4-2
    

    Note:

    The rtrv-stpopts command output contains other fields that are not used by this procedure. If you wish to see all the fields displayed by the rtrv-stpopts command, see the rtrv-stpopts command description in Commands User's Guide.
  4. Back up the new changes, using the chg-db:action=backup:dest=fixed command. These messages should appear; the active Maintenance and Administration Subsystem Processor (MASP) appears first.
    BACKUP (FIXED) : MASP A - Backup starts on active MASP.
    BACKUP (FIXED) : MASP A - Backup on active MASP to fixed disk complete.
    BACKUP (FIXED) : MASP A - Backup starts on standby MASP.
    BACKUP (FIXED) : MASP A - Backup on standby MASP to fixed disk complete.
    

    Figure 2-2 Changing the Format of an ITU National Point Code



Examples of Different 14-Bit ITU National Point Code Formats

A 14-bit ITU national point code whose format is 3-8-3-0, results in a point code containing three numbers separated by dashes. Because the fourth part of the format is zero, the point code format contains only three numbers. Using Table 2-2 as a guide, the range of values for this point code format are from 0-000-1 to 7-255-7.

A 14-bit ITU national point code whose format is 2-8-3-1, results in a point code containing four numbers separated by dashes. Using Table 2-2 as a guide, the range of values for this point code format are from 0-000-0-1 to 3-255-7-1.

A 14-bit ITU national point code whose format is 7-0-7-0 results in a point code containing two numbers separated by dashes. Because the second and fourth parts of the format are zero, the point code format contains only two numbers. Using Table 2-2 as a guide, the range of values for this point code format are from 000-001 to 127-127.

A 14-bit ITU national point code whose format is 14-0-0-0 results in a point code containing a single number, containing up to five digits. Using Table 2-2 as a guide, the range of values for this point code format are from 1 to 16383.

Exception

The format defined by the npcfmti parameter of the chg-stpopts command applies to all database entities that use 14-bit ITU national point codes, except gateway screening. Gateway screening allows the 14-bit ITU national point code to be displayed and entered in the database only as a single number. If the EAGLE 5 ISS is using a format for the 14-bit ITU national point code other than a single number, the point code will have to be converted from its current format to a single number in order to be used by gateway screening.

Converting Single Number 14-Bit ITU National Point Codes

To convert a single number ITU national point code to a multiple part ITU national point code, perform these steps. For this example, the 14-bit ITU national point codes 14781 and 695 are converted to point codes using the 3-8-3-0 format.

  1. The point code is converted to a binary number. This can be done with most scientific calculators.
    • The number 14781 converts to the binary number 11100110111101.
    • The number 695 converts to the binary number 1010110111.

      Note:

      Make sure the binary number contains 14 digits. If it does not, add leading zeros to the binary number to bring the total number of digits in the number to 14.

      In this example, the binary equivalent for the decimal number 695 (1010110111) contains 10 digits, so four zeros must be added to the beginning of the binary number. The resulting binary number is now 00001010110111.

  2. Divide the binary number into the number of parts required by the format of the 14-bit ITU national point code. For this example, the format is 3-8-3-0. Since the last part of the point code format is 0, the point code format contains only three parts. Divide the point code into three parts: the first part of the point code contains the first three digits of the 14-digit binary number, the second part of the point code contains the next eight digits of the 14-digit binary number, and the third part of the point code contains the last three digits of the 14-digit binary number.

    For this example, the binary numbers would be divided like this:

    • 11100110111101 = 111 00110111 101
    • 00001010110111 = 000 01010110 111
  3. Convert each part of the point code into a decimal number, using the same scientific calculator used in step 1, and separate each part of the point code with dashes. The results are as follows.
    • 111 00110111 101 = 7-55-5
    • 000 01010110 111 = 0-86-7

When the 14-bit ITU national point codes are converted from single numbers to multiple-part point codes, the resulting value of the multiple-part point code depends on the point code format specified by the npcfmti parameter of the chg-stpopts command. When converting the single-number point code 14781 to the point code format 3-8-3-0, the resulting point code value is 7-55-5. If point code 14781 is converted to the point code format 4-4-4-2, the resulting point code value is 14-6-15-1.

Converting Multiple-Part 14-Bit ITU National Point Codes

To convert multiple-part 14-bit ITU national point codes to a single number, perform these steps. For this example, the 14-bit ITU national point codes 7-55-5 and 0-86-7, using the 3-8-3-0 point code format, are converted into a single number.

  1. Convert each part of the point code into a binary number using a scientific calculator. The results are as follows.
    • 7-55-5 = 111 00110111 101
    • 0-86-7 = 000 01010110 111
  2. Combine each part of the point code into a single binary number as follows.
    • 111 00110111 101 = 11100110111101
    • 000 01010110 111 = 00001010110111

      Note:

      If the binary number has any zeros at the beginning of the number, remove these zeros, as they are not necessary.

      In this example, the binary equivalent for the point code 0-86-7 (00001010110111) contains four zeros at the beginning of the binary number. When the leading zeros are removed from the binary number, the resulting binary number is now 1010110111.

  3. Convert the binary number to a decimal number using the same scientific calculator used in step 1.
    • The binary number 11100110111101 converts to the decimal number 14781.
    • The binary number 1010110111 converts to the decimal number 695.