![]() |
![]() ![]() ![]() ![]() |
This section describes X.25 user-facility support features and includes details on DNICs, X.25 diagnostic and cause codes, and ASCII control codes specific to the X.25 protocol.
User facilities are optional network services that let you perform tasks such as reversing charges on your calls, accessing a Closed User Group, or specifying a Network User Identification (NUI).
Two of Eicon Networks' additions to the X.28 Command set--call and conn-- support full CCITT Facility request capability.
Facilities are encoded into the facility field of the call request packet without any interpretation on the part of the X.PAD program. The facility field contains both facility codes and their associated parameters. Code format varies, since facilities may have one or more parameters. You can enter the contents of the user-facilities field in three different formats:
![]() | Hexadecimal numbers separated by commas |
![]() | ASCII characters within either single or double quotation marks |
![]() | Combination of hexadecimal numbers and ASCII characters |
The table below summarizes the facility codes for these facilities, including the applicable packet types. The facility code is given in hexadecimal.
Facility | Code | ||||
(hex) |
|||||
Flow Control Parameter Negotiation (Packet Size) |
0x42 |
||||
Flow Control Parameter Negotiation (Window Size) |
0x43 |
||||
Throughput Class Negotiation |
0x02 |
||||
Closed User Group (CUG) Selection |
0x03 |
||||
CUG with Outgoing Access Selection |
0x09 |
||||
Bilateral CUG Selection |
0x41 |
||||
Reverse Charging |
0x01* |
||||
Fast Select |
0x01* |
||||
Network User Identification (NUI) |
0xC6 |
* The Fast Select facility code is present in the incoming call packet if reverse charging and/or fast select is indicated.
Facilities fall into two groups: those specified at subscription time, and those specified on a per-call basis.
The first group includes CCITT facilities such as nonstandard default window and packet sizes, Closed User Group definitions, barring of incoming or outgoing calls, and reverse charging.
The second group of facilities are agreed upon at the time of subscription but can be used on a per-call basis. These facilities include: reverse charging, indexing of a Closed User Group (CUG), or specification of a Network User Identification (NUI).
Facility codes are entered as a string of numbers and/or ASCII characters. The first parameter of a facility code identifies the facility. The subsequent parameters supply information about the facility.
A request for CCITT facilities must always precede all requests for non-CCITT facilities. The National Facility Marker (0,0) need only be included when at least one request for a non-CCITT facility is present.
The syntax for Network User Identification and Flow Control Negotiation is explained below.
Network User Identification (NUI): C6,NUIlength,NUI
The first parameter after the facility code specifies the length, in bytes, of the NUI. This is followed by the NUI itself, in a format determined by the network administration. The following shows how to encode the seven-character NUI pass.id.
C6,07,"pass.id"
Flow Control Negotiation (packet size):42,insize,outsize
Insize and outsize specify, respectively, the maximum length of incoming and outgoing packets. They are coded as the logarithm base 2 of the packet size, and may be offered by networks in the range of 4 through 12, that is, packet sizes from 16 to 4096 bytes. All networks must offer packet size 7 (128 bytes).
The following table provides examples of user facilities and their corresponding codes:
User Facility | Code |
---|---|
National Facility Marker |
0,0 |
Reverse Charging |
1,1 |
Throughput Class Negotiation |
2,table |
Closed User Group (CUG) Selection |
3,CUG index |
Flow Control Negotiation (packet size) |
42,insize,outsize |
Flow Control Negotiation (window size) |
43,insize,outsize |
Network User Identification (NUI) |
C6,NUIlength,NUI |
The packet size for transmissions from the remote DTE is shown in the low nibble of the first octet in the parameter field. The packet size for transmissions from the local DTE is indicated in the low nibble of the second octet. The high nibble of each octet must be zero.
The four bits indicating each packet size are binary coded and indicate the packet size as follows:
Note: Some networks may offer a subset of these values. Default packet size is 128 bytes.
The window size for transmissions from the remote DTE is represented in bits 6 to 0 of the first octet in the parameter field. The window size for transmissions from the local DTE is represented in bits 6 to 0 of the second octet. Bit 7 of each octet must be 0.
The bits referring to window size are binary coded and directly indicate the size of the window.
Window sizes of 1 to 7 are standard. Window sizes of 8 to 127 are valid only if extended sequence numbering is used. The default window size is 2. A value of 0 is not allowed.
The fast select facility is controlled by bits 6 and 7 of the octet in the parameter field. If fast select is not requested then bits 6 and 7 are set to 0. If fast select is requested with no restriction on response then bit 6 is set to 0 and bit 7 is set to 1. Otherwise, if fast select is requested with a restriction on response then bits 6, 7 are set to 1.
*See Reverse Charging.
Bits 1, 2, 3, 4, 5 may be used for other facilities or set to 0
Meaning | ||
---|---|---|
Fast Select not requested |
||
Fast Select requested with no restriction on response |
||
Fast Select requested with restriction on response |
Note: The reverse charging and Fast Select facilities share the same facility code and may be used concurrently.
The throughput class for transmissions from the remote DTE is represented in the high nibble of the octet in the parameter field. The throughput class for transmissions from the local DTE is indicated in the low nibble.
The two groups of four bits referring to throughput class are binary coded and indicate the throughput classes as follows:
Closed User Group (CUG) Selection
The index number to the closed user group selected for the virtual call is in the form of two decimal digits. Each digit is coded in BCD, in a nibble of the parameter field. The high nibble represents the first digit and the low nibble represents the second digit.
Note: Indices to the same Closed User Group at different DTE/DCE interfaces may be different.
CUG with Outgoing Access Selection
The index number to the closed user group selected for the virtual call is in the form of two decimal digits. Each digit is coded in BCD, in a nibble of the parameter field. The high nibble represents the first digit and the low nibble represents the second digit.
Note: Indices to the same Closed User Group at different DTE/DCE interfaces may be different.
The index number to the bilateral closed user group selected for the virtual call is in the form of four decimal digits. Each digit is coded in a semi-octet, in BCD. The high and low nibbles of the first octet of the parameter field represent the first and second digits. The high and low nibbles of the second octet represent the third and fourth digits, respectively.
Note: Indices to the same Bilateral Closed User group at different DTE/DCE interfaces may be different.
The reverse charging facility is controlled by bit 0 of the octet in the parameter field. If reverse charging is not requested then bit 0 is set to 0. Otherwise if reverse charging is requested then bit 0 is set to 1.
*See Fast Select.
Bits 1, 2, 3, 4, 5 may be used for other facilities or set to 0
Note: The reverse charging and Fast Select facilities share the same facility code and may be used concurrently.
Network User Identification (NUI)
The octet following the facility code field indicates the length, in octets, of the Password and NUI fields. The following octets contain the user password and network user identification.
The Length field is set to the combined number of octets in the password and the NUI fields.
Each octet in the Password and NUI fields contain a single ASCII character. The maximum Password length is 6 characters. The maximum NUI length is 8 characters.
If both the NUI Charging facility and the reverse charging facility are specified then the reverse charging facility will apply to the call.
Example of a Non-CCITT Facility
The Datapac Traffic Class Facility is an example of a non-CCITT facility. One of its significant aspects is that it is compulsory when making an international call. Its coding is 1,1 and it must be preceded by the National Facility Marker (0,0). For example:
Priority Traffic: |
0,0,1,1 |
Reverse Charging and Priority Traffic: |
1,1,0,0,1,1 |
Other networks also define their own facilities. If you receive repeated "Invalid Facility Request" messages or if you wish to find out more about the facilities applicable to you, contact your network representative.
Further Information on User Facilities
The previous sections are not intended as an exhaustive description of the user facilities supported either by the CCITT or by the network you may be using. For information on CCITT user facilities, consult the CCITT Recommendation International User Services and Facilities in Public Data Networks, Vol. VIII, Fascicle VIII.2, Rec. X.2.
CCITT Recommendation X.121 defines a general address format containing 12, 13, or 14 digits. The first four digits of a general address format constitute the Data Network Identification Code (DNIC). The first three digits of the DNIC generally identify the country--much like telephone area codes--with the exception of large countries such as the United States. The fourth digit identifies a particular network within the country.
The following table shows the DNICs of various public data networks around the world and information/test numbers, as applicable. You can call these numbers for further information about a given network, or to test your X.3 PAD parameter settings. The numbers in this table are in effect at the time of publication.
Country | Network | DNIC | Information/Test Number |
---|---|---|---|
Argentina |
ARPAC |
7220 |
|
Austria |
Radio Austria |
2320 |
|
Austria |
RADAUS |
2329 |
|
Austria |
Datex-P |
2322 |
|
Bahamas |
Batelco |
3640 |
|
Barbados |
IDAS |
3420 |
|
Belgium |
DCS |
2062 |
|
Bermuda |
IPSD |
3500 |
|
Brazil |
Interdata |
7240 |
|
Canada (Telecom) |
Datapac |
3020 |
76000002 |
Canada (CN/CP) |
Infoswitch |
3029 |
|
Chile |
ENTEL |
7302 |
|
Colombia |
DAPAQ |
3107 |
|
Denmark |
Datapak |
2382 |
|
Dominican Republic |
UDTS |
3700 |
|
Egypt |
Arento |
6020 |
|
Finland |
Finnpak |
2442 |
|
France |
Transpac |
2080 |
0030100 |
France |
NTI |
2081 |
|
Germany |
Datex-P |
2624 |
5690049002 |
Greece |
Helpak |
2022 |
|
Guatemala |
Guatel |
7040 |
|
Hong Kong |
IDAS |
4542 |
|
Iceland |
Icepak |
2740 |
|
Indonesia |
SKDP |
5101 |
|
Ireland |
EIRPAC |
2724 |
|
Israel |
Isranet |
4251 |
|
Italy |
ITAPAC |
2227 |
|
Jamaica |
Jamatel |
3380 |
|
Japan (NTT) |
DDX-P |
4401 |
|
Japan (KDD) |
Venus-P |
4408 |
|
Luxembourg |
Luxpac |
2704 |
|
Malaysia |
Maypac |
5021 |
|
Mexico |
Telepac |
3340 |
|
Netherlands |
Datanet 1 |
2044 |
|
Norway |
Datapak |
2422 |
|
Panama |
Intelpaq |
7141 |
|
Portugal |
SABD |
2682 |
|
Puerto Rico |
UDTS-PDIA |
3301 |
|
Singapore |
Telepac |
5252 |
|
South Korea |
DNS |
4501 |
|
Spain |
Iberpac |
2145 |
|
Sweden |
Telepak |
2402 |
|
Switzerland |
Telepac |
2284 |
|
Thailand |
IDAR |
5250 |
|
United Kingdom |
IPSS |
2341 |
|
United Kingdom |
PSS |
2342 |
1920100513 |
United States |
Accunet |
3134 |
|
United States |
Autonet |
3126 |
|
United States |
ITT |
3103 |
|
United States |
RCA |
3113 |
|
United States |
SprintNet |
3110 |
|
United States |
Tymnet |
3106 |
|
United States |
WUI |
3104 |
|
Virgin Islands |
UDTS-PDIA |
3300 |
The following table describes X.25 diagnostic codes. These codes can help you in tracing the source of problems with an X.25 connection
Description | Diagnostic | Hex Code | |
---|---|---|---|
NO ADDITIONAL INFORMATION |
EX25NOINFO |
0x00 |
|
Invalid P(S) |
EX25INVPS |
0x01 |
|
Invalid P(R) |
EX25INVPR |
0x02 |
|
PACKET TYPE INVALID |
EX25PKTINV |
0x10 |
|
For state r1 |
EX25PKTIR1 |
0x11 |
|
For state r2 |
EX25PKTIR2 |
0x12 |
|
For state r3 |
EX25PKTIR3 |
0x13 |
|
For state p1 |
EX25PKTIP1 |
0x14 |
|
For state p2 |
EX25PKTIP2 |
0x15 |
|
For state p3 |
EX25PKTIP3 |
0x16 |
|
For state p4 |
EX25PKTIP4 |
0x17 |
|
For state p5 |
EX25PKTIP5 |
0x18 |
|
For state p6 |
EX25PKTIP6 |
0x19 |
|
For state p7 |
EX25PKTIP7 |
0x1A |
|
For state d1 |
EX25PKTID1 |
0x1B |
|
For state d2 |
EX25PKTID2 |
0x1C |
|
For state d3 |
EX25PKTID3 |
0x1D |
|
PACKET NOT ALLOWED |
EX25PKTNA |
0x20 |
|
Unidentifiable packet |
EX25UPKT |
0x21 |
|
Call on one-way logical channel |
EX25COWLC |
0x22 |
|
Invalid packet type on a PVC |
EX25IPKT |
0x23 |
|
Packet on unassigned LCN |
EX25PKTULC |
0x24 |
|
Reject not subscribed to |
EX25REJNST |
0x25 |
|
Packet too short |
EX25PKT2S |
0x26 |
|
Packet too long |
EX25PKT2L |
0x27 |
|
Invalid GFI (General Format Identifier) |
EX25IGFI |
0x28 |
|
Restart with non-zero GFI |
EX25RN0GFI |
0x29 |
|
Packet type not compatible with facility |
EX25PKTNCF |
0x2A |
|
Unauthorized interrupt confirmation |
EX25UINTRC |
0x2B |
|
Unauthorized interrupt |
EX25UINTR |
0x2C |
|
Unauthorized reject |
EX25UREJ |
0x2D |
|
TIMER EXPIRED |
EX25TIMEXP |
0x30 |
|
For incoming call |
EX25TEIC |
0x31 |
|
For clear indication |
EX25TECI |
0x32 |
|
For reset indication |
EX25TERI |
0x33 |
|
For restart indication |
EX25TERAI |
0x34 |
|
CALL SET-UP, CALL CLEARING, OR REGISTRATION PROBLEM |
EX25CSUP |
0x40 |
|
Facility/registration code not allowed |
EX25FCNA |
0x41 |
|
Facility parameter not allowed |
EX25FPNA |
0x42 |
|
Invalid called address |
EX25ICDA |
0x43 |
|
Invalid calling address |
EX25ICGA |
0x44 |
|
Invalid facility/registration length |
EX25IFRLEN |
0x45 |
|
Incoming call barred |
EX25ICBARRED |
0x46 |
|
No logical channel available |
EX25NLCAVAIL |
0x47 |
|
Call collision |
EX25CALLCOLL |
0x48 |
|
Duplicate facility requested |
EX25DUPFACREQ |
0x49 |
|
Non-zero address length |
EX25N0ADDRLEN |
0x4A |
|
Non-zero facility length |
EX25N0FACLEN |
0x4B |
|
Facility not provided when expected |
EX25FNOTPROV |
0x4C |
|
Invalid CCITT-specified DTE facility |
EX25ICCITTF |
0x4D |
|
MISCELLANEOUS |
0x50 |
||
Improper cause code from DTE |
EX25IMPCCODE |
0x51 |
|
Non-aligned byte (octet) |
EX25NOTALIGN |
0x52 |
|
Inconsistent Q-bit setting |
EX25IQBITSET |
0x53 |
|
INTERNATIONAL PROBLEM |
EX25INTLPROB |
0x70 |
|
Remote network problem |
EX25RNETPROB |
0x71 |
|
International protocol problem |
EX25INTLPPROB |
0x72 |
|
International link out of order |
EX25INTLLOOR |
0x73 |
|
International link busy |
EX25INTLBUSY |
0x74 |
|
Transit network facility problem |
EX25TNETFPROB |
0x75 |
|
Remote network facility problem |
EX25RNETFPROB |
0x76 |
|
International routing problem |
EX25INTLRPROB |
0x77 |
|
Temporary routing problem |
EX25TEMPRPROB |
0x78 |
|
Unknown called DNIC |
EX25UCDNIC |
0x79 |
|
Maintenance action |
EX25MAINTACT |
0x7A |
The table below describes X.25 generated cause codes. This includes all clearing, resetting, and restarting causes. These codes can help you to trace the source of problems with an X.25 connection.
Description | Causes | Hex Code | |
---|---|---|---|
CLEARING CAUSES |
|||
DTE originated call |
EX25DTEORG |
0x00 |
|
Number busy |
EX25NUMBUSY |
0x01 |
|
Invalid facility request |
EX25IFREQ |
0x03 |
|
Network congestion |
EX25NETCONG |
0x05 |
|
Out-of-order |
EX25OUTORDER |
0x09 |
|
Access barred |
EX25ABARRED |
0x0B |
|
Not obtainable |
EX25NOTOBT |
0x0D |
|
Remote procedure error |
EX25REMPROC |
0x11 |
|
Local procedure error |
EX25LOCPROC |
0x13 |
|
RPOA out of order |
EX25RPOAOOR |
0x15 |
|
Reverse charging not subscribed to |
EX25REVCHRGNS |
0x19 |
|
Incompatible destination |
EX25INCDEST |
0x21 |
|
Fast Select acceptance not subscribed to |
EX25FASTSELNS |
0x29 |
|
Ship absent (for mobile maritime service) |
EX25SHIPABS |
0x39 |
|
RESETTING CAUSES |
|||
DTE originated call |
EX25RDTEORG |
0x00 |
|
Out of order (PVC only) |
EX25ROUTORDER |
0x01 |
|
Remote procedure error |
EX25RREMPROC |
0x03 |
|
Local procedure error |
EX25RLOCPROC |
0x05 |
|
Network congestion |
EX25RNETCONG |
0x07 |
|
Remote DTE operational (PVC only) |
EX25RREMDTEOP |
0x09 |
|
Network operational (PVC only) |
EX25RNETOP |
0x0F |
|
Incompatible destination |
EX25RINCDEST |
0x11 |
The following table lists ASCII control codes.
Decimal value | Mnemonic | Keyboard entry |
0 |
NUL |
Ctrl-2 |
1 |
SOH |
Ctrl-A |
2 |
STX |
Ctrl-B |
3 |
ETX |
Ctrl-C |
4 |
EOT |
Ctrl-D |
5 |
ENQ |
Ctrl-E |
6 |
ACK |
Ctrl-F |
7 |
BEL |
Ctrl-G |
8 |
BS |
Ctrl-H-left arrow |
9 |
HT |
Ctrl-I-tab |
10 |
LF |
Ctrl-J |
11 |
VT |
Ctrl-K |
12 |
FF |
Ctrl-L |
13 |
CR |
Ctrl-M or Enter |
14 |
SO |
Ctrl-N |
15 |
SI |
Ctrl-O |
16 |
DLE |
Ctrl-P |
17 |
DC1 |
Ctrl-Q |
18 |
DC2 |
Ctrl-R |
19 |
DC3 |
Ctrl-S |
20 |
DC4 |
Ctrl-T |
21 |
NAK |
Ctrl-U |
22 |
SYN |
Ctrl-V |
23 |
ETB |
Ctrl-W |
24 |
CAN |
Ctrl-X |
25 |
EM |
Ctrl-Y |
26 |
SUB |
Ctrl-Z |
27 |
ESC |
Esc or Ctrl-[ |
28 |
FS |
Ctrl-\ |
29 |
GS |
Ctrl-] |
30 |
RS |
Ctrl-6 |
31 |
US |
Ctrl- - |
127 |
DEL |
Del |
![]() |
![]() ![]() ![]() ![]() |
Copyright (c) 2001 Eicon Networks