The coding of other information elements follows the coding rules described below. These rules are formulated to allow each equipment which processes a message to find information elements important to it, and yet remain ignorant of information elements not important to that equipment.
Two categories of information elements a redefined:
a) single octet information elements(see diagrams a) and b) of Figure 4-7);
b) variable length information elements(see diagram c) of Figure 4-7).
Bits |
||||||||
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Octet |
1 |
Information element |
Contents of information |
1 |
|||||
a) Single octet information element format (type 1) |
Bits |
||||||||
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Octet |
1 |
Information element identifier |
1 |
||||||
b) Single octet information element format (type 2) |
Bits |
||||||||
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Octet |
0 |
Information element identifier |
1 |
||||||
Length of contents of information element (octets) |
2 |
|||||||
Contents of information element |
3 |
|||||||
c) Variable length information element format |
Formats of information elements
For the information elements listed below,the coding of the information element identifier bits is summarized in Table 4-3.
Information element identifier coding
Bits |
Reference |
Maximum length |
|
8 7 6 5 4 3 2 1 |
|||
1 ׃ ׃ ׃ |
Single octet information elements: |
||
0 0 0 |
Reserved |
||
0 0 1 |
Shift (Note 2) |
1 |
|
0 1 0 0 0 0 0 |
More data |
1 |
|
0 1 0 0 0 0 0 |
Sending complete |
1 |
|
0 1 1 |
Congestion level |
1 |
|
1 0 1 |
Repeat indicator |
1 |
|
0 ׃ ׃ ׃ ׃ ׃ ׃ ׃ |
Variable length information element: |
||
0 0 0 0 0 0 0 |
Segmented message |
14 |
|
0 0 0 0 1 0 0 |
Bearer capability (Note 2) |
12 |
|
0 0 0 1 0 0 0 |
Cause (Note 2) |
32 |
|
0 0 1 0 0 0 0 |
Call identity |
10 |
|
0 0 1 0 1 0 0 |
Call state |
3 |
|
0 0 1 1 0 0 0 |
Channel identification (Note 2) |
(Note 4) |
|
0 0 1 1 0 1 1 |
Coding decoding processing |
(Note 4) |
|
0 0 1 1 1 1 0 |
Progress indicator (Note 2) |
(Note 4) |
|
0 1 0 0 0 0 0 |
Network-specific facilities (Note 2) |
(Note 4) |
|
0 1 0 0 1 1 1 |
Notification indicator |
3 |
|
0 1 0 1 0 0 0 |
Display |
34/82 |
|
0 1 0 1 0 0 1 |
Date/time |
8 |
|
0 1 0 1 1 0 0 |
Keypad facility |
34 |
|
0 1 1 0 1 0 0 |
Signal (Note 2) |
3 |
|
1 0 0 0 0 0 0 |
Information rate |
6 |
|
1 0 0 0 0 1 0 |
End-to-end transit delay |
11 |
|
1 0 0 0 0 1 1 |
Transit delay selection and indication |
5 |
|
1 0 0 0 1 0 0 |
Packet layer binary parameters |
3 |
|
1 0 0 0 1 0 1 |
Packet layer window size |
4 |
|
1 0 0 0 1 1 0 |
Packet size |
4 |
|
1 0 0 0 1 1 1 |
Closed user group |
7 |
|
1 0 0 1 0 1 0 |
Reverse charge indication |
3 |
|
1 1 0 1 1 0 0 |
Calling party number |
(Note 4) |
|
1 1 0 1 1 0 1 |
Calling party subaddress |
23 |
|
1 1 1 0 0 0 0 |
Called party number |
(Note 4) |
|
1 1 1 0 0 0 1 |
Called party subaddress |
23 |
|
1 1 1 0 1 0 0 |
Redirecting number |
(Note 4) |
|
1 1 1 1 0 0 0 |
Transit network selection (Note 2) |
(Note 4) |
|
1 1 1 1 0 0 1 |
Restart indicator |
3 |
|
1 1 1 1 1 0 0 |
Low layer compatibility (Note 2) |
18 |
|
1 1 1 1 1 0 1 |
High layer compatibility (Note 2) |
5 |
|
1 1 1 1 1 1 0 |
User-user |
35/131 |
|
1 1 1 1 1 1 1 |
Escape for extension (Note 3) |
||
All other values are reserved (Note 5) |
|||
NOTES 1. The length limits described for the variable length information elements take into account only the present CCITT standardized coding values. Future enhancements and expansions to this Recommendation will not be restricted to these limits. 2. This information element may be repeated. 3. This escape mechanism is limited to codesets 4, 5, 6 and 7 (see 4.5.2). When the escape for extension is used, the information element identifier is contained in octet-group 3 and the content of the information element follows in the subsequent octets as shown in Figure 4-8. 4. The maximum length is network dependent. 5. The reserved values with bits 5-8 coded "0000" are for future information elements for which comprehension by the receiver is required (see 5.8.7.1). |
The descriptions of the information elements below are organized in alphabetical order. However, there is a particular order of appearance for each information element in a message within each codeset (see 4.5.2). The code values of the information element identifier for the variable length formats are assigned in ascending numerical order,according to the actual order of appearance of each information element in a message. This allows the receiving equipment to detect the presence or absence of a particular information element without scanning through an entire message.
Single octet information elements may appear at any point in the message. Two types of single octet information elements have been defined. Type 1 elements provide the information element identification in bit positions 7, 6, 5. The value "010" in these bit positions is reserved for Type 2 single octet elements.
Where the description of information elements in this Recommendation contains spare bits, these bits are indicated as being set to "0". In order to allow compatibility with future implementation, messages should not be rejected simply because a spare bit is set to "1".
The second octet of a variable length information element indicates the total length of the contents of that information element regardless of the coding of the first octet (i.e. the length starting with octet 3). It is the binary coding of the number of octets of the contents, with bit 1 as the least significant bit (2°).
An optional variable-length information element may be present, but empty. For example, a SETUP message may contain a called party number information element, the content of which is of zero length. This should be interpreted by the receiver as equivalent to that information element being absent. Similarly, an absent information element should be interpreted by the receiver as equivalent to that information element being empty.
The following rules apply for the coding of variable length information elements (octets 3, etc.):
a) The first digit in the octet number identifies one octet or a group of octets.
b) Each octet group is a self contained entity. The internal structure of an octet group may be defined in alternative ways.
c) An octet group is formed by using some extension mechanism. The preferred extension mechanism is to extend an octet (N) through the next octet(s) (Na, Nb, etc.) by using bit 8 in each octet as an extension bit. The bit value "0" indicates that the octet continues through the next octet. The bit value "1" indicates that this octet is the last octet. If one octet (Nb) is present, also the preceding octets (N and Na) must be present.
In the format descriptions appearing in 4.5.5 etc., bit 8 is marked "0/1 ext," if another octet follows. Bit 8 is marked "1 ext," if this is the last octet In the extension domain.
Additional octets may be defined later ("1 ext." changed to "0/1 ext.") and equipments shall be prepared to receive such additional octets although the equipment need not be able to interpret or act upon the content of these octets.
d) In addition to the extension mechanism defined above, an octet (N) may be extended through the next octet(s)(N1, N2 etc.) by indications in bits 7-1 (of octet N).
e) The mechanisms in c) and d) may be combined. Mechanism c) shall take priority in the ordering, such that all octets Na, Nb, etc. shall occur before octets N1, N2, etc. This rule shall apply even where the extension to octets N1, N2, etc. is indicated in one of octet Na, Nb, etc.
f) Similar conventions apply even when mechanism d) is being repeated, i.e. octets N.1 shall occur before octets N.1.1, N.1.2, etc.
g) Optional octets are marked with asterisks (*).
NOTES
1. It is not possible to use mechanism c)repeatedly, i.e. it is not possible to construct an octet 4a as this would become octet 4b.
2. Protocol designers should exercise care in using multiple extension mechanisms to ensure that a unique interpretation of the resultant coding is possible.
3. For a number of information elements there is a field that defines the coding standard. When the coding standard defines a national standard it is recommended that the national standard be structured similar to the information element defined in this Recommendation.
Bits |
||||||||
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
Octets |
Escape for extension |
||||||||
0 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
Length of information element contents |
2 |
|||||||
1 ext. |
Information element identifier |
3 |
||||||
Contents of information element |
4 |
Information element format using escape for extension