A.4.4 Converting ITU National Point Code Formats

Gateway screening only allows ITU national point codes to be provisioned in the database by the enter, delete, or change gateway screening commands, and displayed by the gateway screening retrieve commands as a single number. If a format other than a single number (14-0-0-0) for the ITU national point code has been defined by the npcfmti parameter of the chg-stpopts command, the ITU national point code must be converted into a single number so that it can be used by gateway screening.

For example, the format of the ITU national point code is 4-4-4-2 and you would like to add point code 7-7-7-1 into the allowed OPC screen. The point code 7-7-7-1 would have to be converted to a single number so that the point code can be added to the allowed OPC screen. To determine what multiple-part ITU national point code is represented by the single number ITU national point code in the gateway screening table, the single number point code must be converted to a multiple-part point code.

To convert a single number ITU national point code to a multiple-part point code, go to Converting Single Number ITU National Point Codes.

To convert a multiple-part ITU national point code to a single number point code, go to Converting Multiple-Part ITU National Point Codes.

For a definition of the different formats that can be used for ITU national point codes, see ITU National Point Codes.

When the 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.