home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Standards 1993 July / Disc.iso / ccitt / 1992 / h / h242.asc < prev    next >
Encoding:
Text File  |  1993-08-21  |  59.9 KB  |  1,522 lines

  1. C:\WINWORD\CCITTREC.DOT_______________
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. INTERNATIONAL  TELECOMMUNICATION  UNION
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17. CCITT    H.242
  18.  
  19. THE  INTERNATIONAL
  20. TELEGRAPH  AND  TELEPHONE
  21. CONSULTATIVE  COMMITTEE
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33. LINE  TRANSMISSION
  34.  
  35. OF  NON-TELEPHONE  SIGNALS
  36.  
  37.  
  38.  
  39.  
  40.  
  41. SYSTEM  FOR  ESTABLISHING
  42. COMMUNICATION  BETWEEN  AUDIOVISUAL
  43. TERMINALS  USING  DIGITAL  CHANNELS
  44. UP  TO  2  Mbit/s
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. Recommendation  H.242 
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62. Geneva, 1990
  63.  
  64.  
  65.  
  66.  
  67.  
  68. FOREWORD
  69.  
  70.     The CCITT (the International Telegraph and Telephone Consultative 
  71. Committee) is a permanent organ of the International Telecommuni-
  72. cation Union (ITU). CCITT is responsible for studying technical, 
  73. operating and tariff questions and issuing Recommendations on them 
  74. with a view to standardizing telecommunications on a worldwide 
  75. basis.
  76.  
  77.     The Plenary Assembly of CCITT which meets every four years, 
  78. establishes the topics for study and approves Recommendations pre-
  79. pared by its Study Groups. The approval of Recommendations by the 
  80. members of CCITT between Plenary Assemblies is covered by the 
  81. procedure laid down in Resolution No. 2 (Melbourne, 1988).
  82.  
  83.     Recommendation H.242 was prepared by Study Group XV and was 
  84. approved under the Resolution No. 2 procedure on the 14 of December 
  85. 1990.
  86.  
  87.  
  88.  
  89. ___________________
  90.  
  91.  
  92.  
  93. CCITT  NOTE
  94.  
  95.     In this Recommendation, the expression ôAdministrationö is used for 
  96. conciseness to indicate both a telecommunication Administration and 
  97. a recognized private operating agency.
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107. π ITU  1990
  108.  
  109. All rights reserved. No part of this publication may be reproduced or uti-
  110. lized in any form or by any means, electronic or mechanical, including pho-
  111. tocopying and microfilm, without permission in writing from the ITU.
  112.  
  113. PAGE BLANCHE
  114.  
  115. Recommendation H.242
  116.  
  117. Recommendation H.242
  118.  
  119. SYSTEM  FOR  ESTABLISHING  COMMUNICATION  BETWEEN  
  120. AUDIOVISUAL
  121. TERMINALS  USING  DIGITAL  CHANNELS  UP  TO  2  Mbit/s
  122.  
  123. 1    Introduction
  124.  
  125.     This Recommendation should be associated with Recommendations 
  126. G.725 (System aspects for the use of the 7kHz audio codec within 64 kbit/
  127. s), H.221 (Frame structure for 64 to 1920kbit/s channels in audiovisual 
  128. teleservices) and H.230 (Frame-synchronous control and indication signals 
  129. for audiovisual systems).
  130.  
  131.     A number of applications utilizing narrow (3kHz) and wideband 
  132. (7kHz) speech together with video and/or data have been identified, includ-
  133. ing high quality telephony, audio and videoconferencing (with or without 
  134. various kinds of Telematic aids), audiographic conferencing and so on. 
  135. More applications will undoubtedly emerge in the future.
  136.  
  137.     To provide these services, a scheme is recommended in which a chan-
  138. nel accommodates speech, and optionally video and/or data at several rates, 
  139. in a number of different modes. Signalling procedures are required to estab-
  140. lish a compatible mode upon call set-up, to switch between modes during a 
  141. call and to allow for call transfer.
  142.  
  143.     Some services will require only a single channel, which could accord-
  144. ing to the procedures in this Recommendation be B (64kbit/s), H0 
  145. (384kbit/s), H11(1536kbit/s) or H12 (1920kbit/s). Other services will 
  146. require the establishment of two or more connections providing B or H0 
  147. channels: in such cases the first established is called hereafter the initial 
  148. channel while the others are called additional channels. Unless otherwise 
  149. specified, all references to frame alignment signal (FAS), bit rate allocation 
  150. signal (BAS) and service channel (SC) refer to the initial channel or, in the 
  151. case of a higher-order channel, to the time-slot No.1 of this channel.
  152.  
  153.     All audio and audiovisual terminals using G.722 audio coding and/or 
  154. G.711 speech coding or other standardized audio codings at lower bit rates 
  155. should be compatible to permit connection between any two terminals. This 
  156. implied that a common mode of operation has to be established for the call. 
  157. The initial mode might be the only one used during a call or, alternatively, 
  158. switching to another mode can occur as needed depending on the capabili-
  159. ties of the terminals. Thus, for these terminals an in-channel procedure for 
  160. dynamic mode switching is required.
  161.  
  162.     The following paragraphs develop these considerations and describe 
  163. recommended in-channel procedures.
  164.  
  165. 2    Terminal capabilities
  166.  
  167.     The procedures in this Recommendation are intended to ensure that 
  168. only those signals are transmitted which can be received and appropriately 
  169. treated by the remote terminal, without ambiguity. This requires that the 
  170. capabilities of each terminal to receive and decode be known to the other 
  171. terminal. Some capabilities are defined with a hierarchical structure: a ter-
  172. minal with capability valueN is then also capable of all lower values. 
  173. Where there is no hierarchy, then two or more codes of the same type may 
  174. have to be transmitted in successive frames.
  175.  
  176.     The following paragraphs define audio, video, transfer rate, and data 
  177. rate capabilities of a terminal. It is not necessary that a terminal understand 
  178. or store all incoming capabilities. Those which are not understood, or which 
  179. cannot be used (because the terminal has no means to transmit correspond-
  180. ing information), can be ignored.
  181.  
  182.     The total capability of a terminal to receive and decode various sig-
  183. nals is made known to the other terminal by transmission (see º5.1) of its 
  184. capability set, consisting of the BAS-capability marker followed by all of 
  185. the current capabilities. The codes are specified in RecommendationH.221, 
  186. AnnexA; Table1/H.242 (see º12) summarizes the capabilities which may 
  187. be included in a valid set. The transmission order is immaterial with the 
  188. exception that video picture format values must be followed by minimum 
  189. picture interval values.
  190.  
  191.     Note û G.725 terminals send only a single capability value without a 
  192. marker. The value is valid only if repeated at least once: this may be used to 
  193. identify a G.725 terminal. Having so identified, the H.242 terminal should 
  194. follow the procedures of RecommendationG.725.
  195.  
  196. 2.1    Audio capabilities
  197.  
  198.     Audio capability values are defined in Recommendation H.221, 
  199. Annex A.
  200.  
  201.     All audiovisual terminals intended for interregional operation should 
  202. be capable of transmitting and receiving A- and m-law G.711.
  203.  
  204.     Normally, it is not necessary to transmit G.711 capabilities in a set 
  205. containing other audio capabilities. Inclusion of just one value (A or m) 
  206. must be interpreted as a request not to send audio encoded signals to the 
  207. other law. See º6.3.1.
  208.  
  209. 2.2    Video capabilities
  210.  
  211.     Video capabilities are defined in Recommendation H.221, including:
  212.  
  213. û    picture format: quarter-CIF, or both quarter-CIF and CIF;
  214.  
  215. û    minimum picture interval (MPI): 1/29.97, 2/29.97, 3/29.97, 4/29.97 
  216. seconds.
  217.  
  218.     The quarter-CIF value must be followed by one MPI value. The full-
  219. CIF value must be followed by two MPI values, the first applicable to quar-
  220. ter-CIF and the other to CIF.
  221.  
  222. 2.3    Transfer rate capabilities
  223.  
  224.     Transfer-rate capabilities are defined in Recommendation H.221.
  225.  
  226.     The capability to receive a given number of multiple 64 kbit/s channel 
  227. includes the capability to receive fewer 64kbit/s channels. Similarly, the 
  228. capability to receive a given number of H0 channels includes the capability 
  229. to receive fewer H0 channels. In both cases the receiving terminal will syn-
  230. chronize the connected additional channels to the initial channel and main-
  231. tain that synchronism throughout the period of connection.
  232.  
  233.     All other ranges of capability must be signalled by inclusion in the 
  234. capability set of more than one transfer rate capability code. For example, a 
  235. terminal may list its transfer-rate capabilities as {2B and H0 and H11 and 
  236. H12}; in this case1B capability is also implied.
  237.  
  238. 2.4    Data capabilities
  239.  
  240.     Data capabilities are defined in Recommendation H.221.
  241.  
  242.     If a terminal is able to accept more than one data rate of whatever type 
  243. (LSD, HSD, MLP, H-MLP), then all relevant values must be included in the 
  244. capability set. Statement of one value does not include any other values.
  245.  
  246. 2.5    Terminals on restricted networks: capability
  247.  
  248.     A terminal connected to a network whose B-channels are effectively 
  249. restricted to p ┤ 56 kbit/s (p = 1 to 6), or whose channels at H0 or higher are 
  250. restricted by ones-density considerations, must declare the capability value 
  251. (100)[22] as given in RecommendationH.221. All terminals intended for 
  252. interworking with terminals on restricted networks must have the capability 
  253. to respond to this code according to AnnexB.
  254.  
  255. 2.6    Encryption and extension-BAS capabilities
  256.  
  257.     The capabilities are defined in Recommendation H.221.
  258.  
  259. 3    Transmission
  260.  
  261. 3.1    Transmission modes
  262.  
  263.     Audio modes of operation are defined in Recommendation H.221, 
  264. AnnexA, audio commands.
  265.  
  266.     For analogue telephone terminals, it may be assumed that the speech 
  267. signal is converted to PCM to G.711 at a digital network interface. These 
  268. terminals are viewed as working in modeOU when connected to wideband 
  269. speech terminals.
  270.  
  271.     The video transmission is governed by the video-on and video-off 
  272. commands. When switched on, the video signal occupies all of the capacity, 
  273. both in the initial channel and in any additional channels, which is not spe-
  274. cifically allocated to other signals by other commands. Thus different video 
  275. bit rates will result from audio, transfer-rate, ECS and data commands the 
  276. resultant video bit rate being: {transfer rate, less audio rate, less data rate if 
  277. present, less encryption control channel if present, less FAS and BAS in all 
  278. the channels/time-slots where they are present}.
  279.  
  280.     Transfer-rate modes are defined in Recommendation H.221, and spec-
  281. ify the total capacity of the communication effective in the subsequent sub-
  282. multiframe.
  283.  
  284.     Data modes are defined in Recommendation H.221, and specify only 
  285. the bit rate and bit positions used for a user data signal. The protocol used 
  286. for data applications is defined by the terminals, but see also º9.
  287.  
  288. 3.2    Establishment of compatible modes of operation
  289.  
  290.     At the beginning of the communication phase of a call, all terminals 
  291. start to work in modeOF (outgoing signal framed). Terminals other than 
  292. those limited to G.711 capability will then begin an initialization procedure.
  293.  
  294.     This procedure (further described in º 6) consists of:
  295.  
  296. û    the transmission of information concerning the capabilities of the 
  297. respective terminals for receiving and decoding audio, video, 
  298. transfer rate, data rates and other capabilities;
  299.  
  300. û    the determination of a suitable transmission mode, consistent with 
  301. the known capabilities of both terminals. An example is given in 
  302. ºIV.1, in which the transmission mode is the same in both direc-
  303. tions, but the H.242 procedures are equally applicable to systems 
  304. in which asymmetric bidirectional communication is optimal 
  305. (examples are surveillance ûsee ºIV.2û and retrieval services);
  306.  
  307. û    switching to this mode; and establishing additional channels if rele-
  308. vant.
  309.  
  310.     The terminals connected to a call may change during the call. This may 
  311. require re-initialization in order to identify the terminal type and to re-estab-
  312. lish the desired mode of operation. In particular, this feature is used in 
  313. mode0 forcing, which is necessary in the case of a call transfer (see º8).
  314.  
  315. 4    Frame structure
  316.  
  317.     The frame structure described in Recommendation H.221 is used for 
  318. mode initialization and dynamic mode switching (see the following sec-
  319. tions) and more generally to define the multiplex of the various bit streams 
  320. (audio, video, data, encryption control signal, frame structure) within the 
  321. frame.
  322.  
  323.     Recommendation H.221 defines a Bit rate allocation signal (BAS) 
  324. which is used inter alia to allocate sub-channels and to indicate the coding 
  325. algorithm(s).
  326.  
  327.     BAS codes are classified by the value of the first three bits which rep-
  328. resent the BAS attribute: each attribute may therefore have up to32 defined 
  329. values.
  330.  
  331.     Four BAS attributes are commands: they define the multiplex within 
  332. the next and following sub-multiframes, as well as audio coding algorithm, 
  333. and therefore command the distant receiver to treat the signals accordingly. 
  334. The four attributes are independent; that is, a value of one attribute does not 
  335. modify that of another.
  336.  
  337.     Further BAS attributes are defined to signal terminal capabilities to 
  338. the distant terminal. When received, these attributes do not directly affect 
  339. the current transmission mode. However, they may lead to the initiation of a 
  340. specific action to be carried out by the terminal. This feature is utilized in 
  341. the mode initialization procedure and in the mode0 forcing procedure (see 
  342. º6).
  343.  
  344.     The third bit of the H.221 frame alignment signal (FAS) in odd frames 
  345. of the initial channel, called the A-bit, is set to 1 on loss of frame or multi-
  346. frame alignment, and is set to 0 on acquiring both frame and multiframe 
  347. alignment (see Note). Consequently, a terminal which is receiving a framed 
  348. signal with the A-bit set to 0 can assume that the distant terminal is able to 
  349. act upon a change of BAS.
  350.  
  351.     Note û A terminal having capabilities only for single-channel work-
  352. ing, and without encryption capability, does not need to seek and gain multi-
  353. frame alignment since the latter serves for numbering and synchronizing 
  354. multiple channels.
  355.  
  356. 5    Basic sequences for in-channel procedures
  357.  
  358.     Three signalling sequences are defined in this section. These 
  359. sequences are used as the building blocks for the procedures defined in ºº6 
  360. and7.
  361.  
  362. 5.1    Capability exchange sequence A
  363.  
  364.     The capability exchange sequence forces framing in both directions of 
  365. transmission and the exchange of terminal capability codes. Either terminal 
  366. may initiate the sequence and there is no problem caused by both doing so 
  367. simultaneously or nearly simultaneously. Capability BAS should not be sent 
  368. unnecessarily when the incoming signal is unframed.
  369.  
  370.     The terminal X which initiates the capability exchange sequence must 
  371. first switch to a framed mode if previously transmitting unframed; it then 
  372. sets a timerT1 (value 10seconds) and transmits its current capability set 
  373. (see º2) repetitively, or at least one complete set followed by the marker 
  374. code (to indicate completion of the set); these capabilities will be one or 
  375. more of the set listed in Table1/H.242.
  376.  
  377.     When Y first detects any incoming capability code except neutral (see 
  378. º5.3), it begins transmission of its own set of capability codes. This, of 
  379. course, requires switching to a framed mode if transmission had been 
  380. unframed. To ensure that each receives the complete set of capabilities of 
  381. the other, they must continue repetitive transmission beyond the time they 
  382. detect incoming A=0 by at least one complete set and the marker code.
  383.  
  384.     Note û See Note on G.725 terminals in º2.
  385.  
  386.     There are three possible outcomes:
  387.  
  388.     Outcome I:    Within the timer expiration period, multiframe alignment has 
  389. been gained, the A bit is received with a value of zero and 
  390. the complete set of capability BAS codes of the distant ter-
  391. minal has been validated. In this case the sequence is com-
  392. pleted successfully.
  393.  
  394.                 Note û If sequence A is initiated while incoming A = 0, rep-
  395. etition of the set is not necessary.
  396.  
  397.     Outcome II:    The timer has expired without multiframe alignment. In 
  398. this case, the sequence failed.
  399.  
  400.     Outcome III:    The timer has expired with multiframe alignment achieved, but 
  401. without either the validation of the A bit as 0 or the receiving 
  402. of the complete set of the distant terminal's capability BAS 
  403. codes (or both). In this case, the sequence is restarted. Out-
  404. come III should be notified to the user as a potential fault 
  405. condition (which might, however, be in the remote terminal).
  406.  
  407. 5.2    Mode switching sequence B
  408.  
  409.     Mode switching is performed using BAS command codes, each being 
  410. effective from the beginning of the even frame following the sub-multiframe 
  411. in which the code is first transmitted. Mode switching is possible at any time 
  412. during a communication, after the initialization procedure has been com-
  413. pleted.
  414.  
  415.     When the transmitting terminal signals the mode of operation, this is 
  416. valid from the next sub-multiframe. It is essential to note that transmitted 
  417. signals must always be in accordance with the known capabilities of the 
  418. remote terminal to receive and decode; in the absence of such knowledge, 
  419. only mode OF or OU (audio to Recommenda-tionG.711) may be sent. If a 
  420. change of capability, indicated in performing sequence A, has the result that 
  421. the current mode is no longer receivable/decodable, there must be a switch 
  422. as soon as possible to a mode which can be received and decoded.
  423.  
  424.     The receiving terminal decodes and validates the BAS code, and 
  425. switches its receive mode of operation accordingly. If for any reason a ter-
  426. minal receives a BAS command it cannot obey, a mode mismatch may result 
  427. (seeº6.3).
  428.  
  429.     In addition to switching of the audio mode, mode switching includes 
  430. turning video off or on; the adoption/cessation of use of additional channels; 
  431. the opening/closing of the encryption control channel; the opening/closing 
  432. of a data channel.
  433.  
  434.     The mode switching is in principle performed independently for the 
  435. two transmission directions; some applications may be fundamentally 
  436. asymmetric. For conversational services the terminal procedures will gener-
  437. ally be such as to provide symmetrical transmission, though this is not man-
  438. datory.
  439.  
  440. 5.3    Frame reinstatement sequence C (see Figure 1/H.242)
  441.  
  442.     If terminal A is transmitting unframed but receiving framed, frame 
  443. reinstatement consists in the insertion of FAS and BAS into the first 16 bits 
  444. of the service channel, waiting for incoming A = 0; the overlaid frame can 
  445. contain neutral BAS capability to avoid triggering a full capacity exchange.
  446.  
  447.     A terminal A which is receiving unframed may wish the remote ter-
  448. minal B to reinstate framing: to do this, Amust first itself reinstate framing 
  449. if it is not already transmitting framed and then send the neutral BAS capa-
  450. bility; Bmust respond by reinstating framing in order to return the neutral 
  451. BAS capability and A=0, and continuing this at least until it receives A=0 
  452. itself.
  453.  
  454.  
  455.  
  456. 6    Mode initialization, dynamic mode switching and mode 0 forcing
  457.  
  458.     Audiovisual terminals will be connected to digital networks where 
  459. other kinds of terminals will also be connected: G.711 terminals but also 
  460. data terminals, Telematic terminals, servers, etc. When compatibility 
  461. between the different services involving those terminals is required, an ini-
  462. tialization procedure is necessary.
  463.  
  464.     When automatic compatibility is required, a procedure based on the 
  465. sequences defined in º5 is used.
  466.  
  467.     For call transfer or mode mismatch recovery, it is necessary for termi-
  468. nals to operate in the common modeOF and a mode 0 forcing procedure is 
  469. required, again based on the sequences defined in º5.
  470.  
  471.     At the commencement of the call, after call transfer and after the pro-
  472. cedure of º6.3, there is a need for an initialization procedure to ensure that 
  473. the two connected terminals can operate in the most suitable common mode.
  474.  
  475. 6.1    Mode initialization procedure
  476.  
  477. 6.1.1    Single channel
  478.  
  479.     The initialization procedure begins as soon as a connection message is 
  480. received from the network, or any indication meaning that the physical con-
  481. nection is established.
  482.  
  483.     At the beginning of mode initialization, each terminal will start to 
  484. transmit in mode OF.
  485.  
  486.     The receive part of the terminal should be in frame search and the 
  487. receive audio is modeOF. SequenceA is started.
  488.  
  489.     Upon completion of sequence A according to outcome I (see 
  490. Figure2/H.242 outcomeIa), sequence B will commence. The BAS code 
  491. which is sent in sequenceB is calculated from the knowledge of the capabil-
  492. ities of the local and distant terminals and is used to switch to a suitable 
  493. working mode. This process may involve terminal procedures effecting 
  494. choices made by the user or preset in the terminal. An example illustrating 
  495. conformance to a defined teleservice is given in RecommendationH.320.
  496.  
  497.     In the event of outcome II, the terminal will switch its transmission 
  498. and reception to mode OU. The receive part of the terminal should remain in 
  499. frame search throughout the call.
  500.  
  501.     In the event of outcome III, timer T1 is reset and the terminal remains 
  502. within sequence A.
  503.  
  504.     The initialization procedure is completed when both terminals have 
  505. switched to the desired working mode(s).
  506.  
  507. 6.1.2    Additional channels
  508.  
  509.     A possibility of adding more channels is established from the capabil-
  510. ity exchange sequence. The calling terminal may then immediately begin 
  511. establishing the additional connections. When each is established, it trans-
  512. mits only FAS and BAS on that channel, setting a timer Ta of value 
  513. 10seconds. Synchronization with the initial channel is performed according 
  514. to RecommendationH.221, º2.7. When the incoming A bits on additional 
  515. channels are observed to be 0, mode switching to occupy sequentially num-
  516. bered channels is initiated by an appropriate transfer-rate command BAS. If 
  517. the timer Ta has expired without receiving A=0, it is dealt with as a fault 
  518. condition.
  519.  
  520.     As the buffering process may involve the insertion of additional delay 
  521. in the initial channel, which may already be carrying user information 
  522. (speech, video, data), it may be necessary to make some provision for this 
  523. interruption (e.g., short-term muting of audio output).
  524.  
  525.     As additional channels achieve synchronization they are sequentially 
  526. numbered using both FAS and BAS numbering as provided in 
  527. RecommendationH.221.
  528.  
  529.     An example of mode initialization on two channels is given in 
  530. AppendixI.
  531.  
  532. Figure 2/H.242 = 23.5cm
  533.  
  534.  
  535.  
  536. 6.2    Dynamic mode switching (see Figure 3/H.242)
  537.  
  538.     The mode switching procedure makes use of the frame structure spec-
  539. ified in º4 and of the sequences defined in º5. It should be noted that all 
  540. terminal receivers must remain in frame search throughout the call.
  541.  
  542.     When the terminal is receiving in a framed mode, that is, it is capable 
  543. of decoding bit A, mode switching should be delayed if the A bit is set to 1; 
  544. eventually the mode mismatch recovery procedure as described in º6.4 
  545. might be used.
  546.  
  547.     When the terminal X wishing to make a mode switch is receiving 
  548. unframed signals, the capability exchange sequence may be used first to 
  549. force the other terminal Y to a framed mode; hence terminal X can check for 
  550. incoming A=0. This use of sequence A is particularly necessary if X was 
  551. previously transmitting unframed signals, since Y would not be in a position 
  552. to deal with a mode change from X until it had regained frame alignment 
  553. (see º6.2.3). If X had previously been transmitting framed signals, the 
  554. capability exchange sequence may be omitted on the assumption that if Y 
  555. had unexpectedly lost frame alignment it would already have attempted a 
  556. recovery procedure (see º7).
  557.  
  558. 6.2.1    Dynamic mode switching from a framed mode to another framed 
  559. mode
  560.  
  561.     The basic sequence mode switching described in º 5.2 is used.
  562.  
  563.     At the transmitting terminal, if a BAS command is transmitted to sig-
  564. nal a new mode, the transmitter must operate in the appropriate mode from 
  565. the first octet of the next sub-multiframe.
  566.  
  567.     Similarly, at the receiving terminal, if the received BAS signals a new 
  568. mode, the receiver must operate in the appropriate mode from the first octet 
  569. of the next sub-multiframe.
  570.  
  571. 6.2.2    Dynamic mode switching from a framed mode to an unframed mode
  572.  
  573.     As above in º 6.2.1, the basic sequence mode switching described in º 
  574. 5.2 is used.
  575.  
  576.     However, as the BAS for signalling an unframed mode is transmitted 
  577. for a single sub-multiframe, a mode mismatch may occur in drastic error 
  578. conditions. Optionally, a method may be used to improve the reliability of 
  579. the switching: the new BAS value in the basic sequence mode switching is 
  580. repeated three times; this will cause a temporary corruption of the least sig-
  581. nificant bit of the received information.
  582.  
  583. 6.2.3    Dynamic mode switching from an unframed mode to another mode 
  584. (framed or unframed)
  585.  
  586.     The basic sequences frame reinstatement and mode switching are 
  587. sequentially transmitted, the former including capability exchange if neces-
  588. sary.
  589.  
  590. Figure 3/H.242 = 23.5cm
  591.  
  592.  
  593.  
  594. 6.3    Mode 0 forcing procedure (see Figure 4/H.242)
  595.  
  596. 6.3.1    Single channel
  597.  
  598.     Where it is necessary to ensure that both terminals are operating in 
  599. mode 0 (for instance before call transfer), this procedure is used.
  600.  
  601.     The forcing terminal uses dynamic mode switching (º6.2) with BAS 
  602. audio command to switch to modeOF, followed by sequenceA using BAS 
  603. (100) indicating only G.711 audio capability. The value [1 or 2] appropriate 
  604. to the terminal's own region is used in case the call is to be transferred to a 
  605. local G.725 type-0 terminal. On receipt of this, the remote terminal is 
  606. obliged to switch to modeOF also using the indicated law for its encoder 
  607. and decoder. The procedure is complete when the forcing terminal detects 
  608. incoming modeOF. Changes of network configuration can now be imple-
  609. mented (see º8).
  610.  
  611. 6.3.2    Two or more channels
  612.  
  613.     In this case the mode 0 forcing is applied to the initial channel only, 
  614. and separate considerations apply to treatment of the additional channels. 
  615. Three cases are considered here by way of guidance for the multiple-B case:
  616.  
  617. a)    Additional channels dropped: This would be necessary, for exam-
  618. ple, prior to disconnection. The procedure is as for one channel, 
  619. the forcing terminal declaring capability of PCM audio only with 
  620. transfer rate capability of 1┤64kbit/s; this will result in mode 
  621. switches successively to ôdata OFFö, ôvideo OFFö and audio 
  622. modeOF or OU, such that all additional channels are vacated and 
  623. can be disconnected.
  624.  
  625. b)    Additional channels idle: This is the same as a) above, except that 
  626. the forcing terminal makes no move to disconnect; the channels 
  627. carry FAS, the multiframe number and the BAS indicating channel 
  628. number; the content of the remainder of the idle channels is irrele-
  629. vant.
  630.  
  631. c)    Additional channels maintained active: This might be beneficial in 
  632. some recovery procedures. The forcing terminal declares a capa-
  633. bility of PCM audio plus transfer rate unchanged from its previous 
  634. value, and then itself switches to the appropriate mode.
  635.  
  636.     An example of mode 0 forcing a) is given in Appendix II.
  637.  
  638. 6.4    Mode mismatch recovery procedure
  639.  
  640.     In the case where mode mismatch has occurred, the mode 0 forcing 
  641. procedure may be used to establish a common working mode. Following 
  642. this procedure, re-initialization can be achieved by using the mode initializa-
  643. tion procedure.
  644.  
  645. Figure 4/H.242 = 23.5cm
  646.  
  647.  
  648.  
  649. 7    Recovery from fault conditions
  650.  
  651.     The provisions of this section are not wholly mandatory. In general it 
  652. is expected that fault conditions will be rare and it may be uneconomical to 
  653. provide elaborate recovery procedures to cover all eventualities. It is manda-
  654. tory that proper indications of fault conditions be transmitted on the outgo-
  655. ing channel(s) ûin particular, A must be set to 1 where appropriate 
  656. conditions for A=0 are not met. Other action to be taken on losing frame 
  657. alignment, multiframe alignment, synchronism, or a connection, or on 
  658. receiving incoming A=1, is presented here for guidance.
  659.  
  660. 7.1    Unexpected loss of synchronization or frame alignment
  661.  
  662. 7.1.1    Loss of frame alignment in the initial channel
  663.  
  664.     If a terminal unexpectedly loses frame alignment on its receive path, a 
  665. timer T3 is set (value for example 1 second) and incoming information is 
  666. discarded if unintelligible. During this time the status of the framing in the 
  667. receive direction is monitored:
  668.  
  669. a)    If framing is recovered before the timer expires, the normal opera-
  670. tion is resumed.
  671.  
  672. b)    If framing is not recovered before the timer expires, the terminal 
  673. goes to the mode 0 forcing procedure followed by re-initialization.
  674.  
  675. 7.1.2    Loss of frame alignment of synchronization in an additional channel
  676.  
  677.     If a terminal unexpectedly loses synchronization (including that due 
  678. to loss of frame alignment) on an additional channel, a timer T3 is set, out-
  679. going A-bit is set to 1 and incoming information discarded if unintelligible; 
  680. if the loss of this information also causes information on other channels to 
  681. become meaningless that also is discarded.
  682.  
  683. a)    if synchronization is recovered before the timer expires, normal 
  684. operation is resumed; this takes into account recoverable synchro-
  685. nization loss due to bit or synchronization errors on the transmis-
  686. sion line;
  687.  
  688. b)    if synchronization is not recovered before the timer expires, the 
  689. mode 0 forcing procedure may be used.
  690.  
  691. 7.2    Recovery from loss of connection(s)
  692.  
  693.     Loss of a connection means that end-to-end transmission on that 
  694. channel has been discontinued, so that all apparently received bits are mean-
  695. ingless. The receiver will, of course, lose frame alignment and may follow 
  696. the procedures of º7.1. However, an indication may be available from the 
  697. network (D-channel or otherwise) that the connection has been lost; in this 
  698. case the procedures of this section are followed. It is assumed that connec-
  699. tion loss is bidirectional; the case of loss in one direction only is for further 
  700. study.
  701.  
  702. 7.2.1    Renumbering of channels
  703.  
  704.     This procedure is used for reconstructing the remaining normal addi-
  705. tional channels when one additional channel breaks down.
  706.  
  707. i)    Make the transmission mode of all channels into ôframedö.
  708.  
  709. ii)    Vacate the sending additional channel(s).
  710.  
  711. iii)    Renumber the additional channel(s).
  712.  
  713. iv)    Wait for the synchronization establishment of the remote terminal 
  714. and then expand communication onto the additional channels.
  715.  
  716. 7.2.2    Loss of an additional connection
  717.  
  718.     If any remaining channels are unframed (for example, data transmis-
  719. sion) they must immediately have frame structure (according to 
  720. RecommendationH.221) reimposed and maintained until conditions have 
  721. returned to normal. The outgoing A-bit on additional channels is set to 1 if 
  722. the incoming direction is unframed or out of sequence, or if synchronism 
  723. has been lost.
  724.  
  725.     If the lost channel was carrying part of a signal (such as encoded 
  726. video) which also involved other channels, so that its loss renders the infor-
  727. mation in those other channels meaningless, then by dynamic mode switch-
  728. ing those channels are vacated.
  729.  
  730.     The next step is to renumber the available channels if appropriate, to 
  731. obtain a continuous sequence; this is done using the procedure of º7.2.1.
  732.  
  733.     Dynamic mode switching is applied to re-establish the video or other 
  734. transmission on the channels for which incoming A-bits are zero.
  735.  
  736.     In the event that the lost channel be reconnected, it is added to the 
  737. capacity in the same way as at the start of the call.
  738.  
  739. 7.2.3    Loss of the initial connection
  740.  
  741.     This results in the loss of the initial channel in both directions. Both 
  742. terminals immediately regard #2 as the initial channel and transmit thereon 
  743. the following BAS:
  744.  
  745. i)    Reinstatement of FAS and BAS in any unframed channels.
  746.  
  747. ii)    Transfer rate (001) [0 or 6] û code having the effect of vacating all 
  748. additional channels; also audio command (000) unchanged from 
  749. previous value.
  750.  
  751. iii)    Transfer rate (001) [17] on original second channel, indicating loss 
  752. of original channel, and from next sub-multiframe original second 
  753. channel substitutes for original initial channel; simultaneously any 
  754. additional channels are renumbered in sequence.
  755.  
  756. iv)    Wait for confirmation that the synchronism at the remote terminal 
  757. is retained/regained (all incoming An=0);
  758.  
  759. v)    Expand communication onto all channels using appropriate trans-
  760. fer-rate command.
  761.  
  762.     (Note û As a result of this procedure, sending and receiving initial 
  763. channels may not be on the same connection.)
  764.  
  765. vi)    The terminal tries to re-establish the lost channel.
  766.  
  767. 8    Network consideration: call connection, disconnection and call trans-
  768. fer
  769.  
  770. 8.1    Call connection
  771.  
  772. 8.1.1    Initial channel
  773.  
  774.     It is assumed that the terminals for switched network operation will 
  775. have a signalling arrangement for originating calls over the network.
  776.  
  777.     In the case that the network provides an indication that the connection 
  778. is established (CONNECT-ACK message), the originating terminal will set 
  779. its transmit and receive audio modes to PCM and begin the mode initializa-
  780. tion procedure following the connection establishment indication. Where 
  781. the network does not provide an indication of connection establishment, the 
  782. originating terminal will begin the mode initialization procedure immedi-
  783. ately.
  784.  
  785.     Upon answering a call, the terminal will begin the mode initialization 
  786. procedure.
  787.  
  788.     Terminals for use on leased circuits may have a means for sending the 
  789. alerting signal to the distant terminal and for answering the alerting signal. 
  790. In this case, the sending of the alerting signal is equivalent to dialling and 
  791. the foregoing procedures apply.
  792.  
  793.     Whenever a terminal is manually reset, or recovers from a fault condi-
  794. tion, the terminal will begin the mode0 forcing procedure of º6.3. Then the 
  795. terminal will begin mode initialization.
  796.  
  797. 8.1.2    Additional channels
  798.  
  799.     Call connection to provide additional channels may be initiated by 
  800. one of the following:
  801.  
  802. a)    manually;
  803.  
  804. b)    on completion of the capability exchange sequence indicating 
  805. mutual additional-channel capability;
  806.  
  807. c)    at some time later than in b), prompted by user action.
  808.  
  809.     The choice between these will depend on service provision and/or ter-
  810. minal procedures.
  811.  
  812.     When the establishment of connection is known to the terminal, the 
  813. mode initialization procedure of º6.1.2 is applied.
  814.  
  815.     During call establishment, an originating terminal should reserve 
  816. additional channels by not answering incoming calls on those channels until 
  817. it is determined whether the additional channels will be used in the connec-
  818. tion. This prevents multiple call collisions and contention for the available 
  819. channels. A network solution is under study.
  820.  
  821. 8.2    Terminal disconnection
  822.  
  823.     When a terminal disconnects from a call, the terminal must first ini-
  824. tiate the mode 0 forcing procedure, await completion of the procedure and 
  825. then allow the actual disconnection of the call to occur.
  826.  
  827. 8.3    Call transfer
  828.  
  829.     As a consequence of the above, the terminal which continues to par-
  830. ticipate in a transferred call will be receiving in a PCM-forced state and 
  831. therefore will be transmitting its capability set in framed PCM. When the 
  832. transferred-to terminal answers, mode initialization will occur in both direc-
  833. tions.
  834.  
  835. 8.4    Conferencing
  836.  
  837.     Conferencing will be accomplished by means of a multipoint control 
  838. unit (MCU). Each terminal will be connected to a port of the MCU by a 
  839. switched connection or a leased circuit. Each connection between the termi-
  840. nal and the MCU is considered to be a point-to-point connection as far as 
  841. call connection, terminal disconnection and call transfer procedures are con-
  842. cerned.
  843.  
  844. 8.5    PCM format conversion
  845.  
  846.     In the above procedures, no automatic method for establishing A-law 
  847. or m-law compatible PCM operation was defined.
  848.  
  849.     At the beginning of the call, encoding and decoding by each terminal 
  850. is to the law prevailing in its own region. The decoder must adapt to the cod-
  851. ing law of the incoming signals. In a framed signal this will be clear from 
  852. the BAS command; for unframed audio, signal analysis or local knowledge 
  853. should be applied, and if this indicates that the other terminal is using a dif-
  854. ferent coding law then the H.242 terminal should switch both its encoder 
  855. and decoder to the coding law of the other terminal.
  856.  
  857.     In the case where both terminals transmit framed signals, once the 
  858. capability exchange is completed they may transmit in either PCM mode if 
  859. desired.
  860.  
  861.     Before call transfer, in the case where both terminals can transmit 
  862. framed audio, the distant terminal's encoder and decoder must be forced by 
  863. the relevant BAS capabilities and commands to the coding law of the region 
  864. where the transfer is to take place.
  865.  
  866. 9    Procedure for activation and de-activation of data channels
  867.  
  868. 9.1    Data equipment not conforming to Recommendation H.200/AV.270
  869.  
  870.     Each terminal must transmit a data-rate capability code (see Recom-
  871. mendation H.221) for each data rate it is able to receive. This may be done 
  872. during the capability exchange sequence at the start of the call or at a later 
  873. time by initiating a new capability exchange.
  874.  
  875.     A terminal may transmit data at any rate which has been indicated in 
  876. the data-rate capability codes it has received from the other terminal. The 
  877. appropriate data command (see RecommendationH.221) is sent and in the 
  878. following sub-multiframe the data transmission is commenced, occupying 
  879. the bits within each frame defined in RecommendationH.221. However, at 
  880. the time the data command is first sent, these bits must be unoccupied or 
  881. contain only video information; therefore audio or any other signals must be 
  882. removed from this part of the frame with the prior transmission of an appro-
  883. priate command. In the case of occupancy by video information, commands 
  884. are not available to reduce the video rate, but the video decoder continues to 
  885. operate correctly on the lower flow of information. However, if the video 
  886. rate is being made very low (for example, less than 30.4kbit/s) or stopped 
  887. altogether by the introduction of a data stream, it is advisable first to send 
  888. freeze-picture request, followed by the video OFF command.
  889.  
  890.     The command variable LSD identifies as a data path the whole of the 
  891. I-channel capacity not otherwise allocated by other commands; it must not 
  892. be used when variable MLP is on, or when another LSD value is in force. If 
  893. used while video is on, video is excluded from the I-channel.
  894.  
  895.     At the conclusion of the data transmission the data OFF command is 
  896. sent. If video is ON, it will then occupy the freed bits in the next sub-multi-
  897. frame and thereafter; otherwise those bits remain unoccupied until another 
  898. command is sent.
  899.  
  900.     At any time during data transmission the rate may be changed by an 
  901. appropriate data command, subject to the provisions given above.
  902.  
  903.     Note û In the case where 64 kbit/s HSD, for example, has been trans-
  904. mitted in the highest-numbered channel of a multiple-B channel connection, 
  905. a slip during this data transmission would leave a misalignment when the 
  906. HSD is turned off. To avoid corruption of video under these circumstances, 
  907. it may be advisable to switch off the video stream before sending HSD-off, 
  908. switching it on again as soon as A=0 is received on the erstwhile data chan-
  909. nel.
  910.  
  911. 9.2    Equipment operating with an MLP according to 
  912. RecommendationH.200/AV.270
  913.  
  914.     Each terminal capable of operating with an MLP must transmit one of 
  915. the MLP-capability codes. This may be done during the capability exchange 
  916. sequence at the start of the call, or at a later time by initiating a new capabil-
  917. ity exchange.
  918.  
  919.     When terminal X wishes to transmit MLP, it transmits MLP ON at the 
  920. appropriate rate. Receiving the latter, terminal Y must establish an MLP 
  921. channel at an appropriate rate (not necessarily the same rate) in the return 
  922. direction.
  923.  
  924.     The above provisions apply equally to the use of MLP on the I-chan-
  925. nel, or in other channels or time-slots. Normally only one of these is 
  926. required; however if both are in force, with appropriate commands, then a 
  927. single MLP sub-channel at the combined rate may be interpreted ûthis 
  928. would be specified within the appropriate service Recommendation (e.g. 
  929. MLP rates of about 100kbit/s on a 2Bcall).
  930.  
  931.     To change the MLP rate, an appropriate MLP command is sent.
  932.  
  933.     To discontinue use of the MLP, this matter may first be negotiated 
  934. within the MLP itself; then one or both terminals transmit MLP-OFF.
  935.  
  936. 9.3    Simultaneous transmission of low-speed data and MLP
  937.  
  938.     LSD and MLP may be active simultaneously, provided that no overlap 
  939. is implied by the commands in force; however, variable LSD and variable 
  940. MLP cannot coexist. No more than one LSD channel and one MLP channel 
  941. may be active at any time (see also º12).
  942.  
  943. 10    Procedures for operation of terminals in restricted networks
  944.  
  945.     Under study; the following paragraphs give preliminary consider-
  946. ations.
  947.  
  948.     Terminals connected to a restricted network shall transmit the BAS 
  949. capability ôrestrictedö (100)[22] continuously when receiving an incoming 
  950. A=1 at the start of a call.
  951.  
  952. 10.1    Network aspects
  953.  
  954.     In this Recommendation the term ôrestricted networkö applies to a 
  955. network having restricted 64 kbit/s transfer capability, defined in 
  956. RecommendationI.464 as 64 kbit/s octet-structured capability with the 
  957. restriction that an all-zero octet is not permitted.
  958.  
  959. 10.2    Reference connections
  960.  
  961. 10.2.1    Case 1: 56 kbit/s, V.35 interfaces
  962.  
  963.     Figure 5a)/H.242 shows a reference connection by a 56 kbit/s data 
  964. service using V.35 interfaces. A 56 kbit/s clock is available at the V.35 inter-
  965. face; 8kHz clock is not assumed. Figure5c)/H.242 shows a reference con-
  966. nection, connected by 56kbit/s network service with network clock.
  967.  
  968. 10.2.2    Case 2: n ┤ 56 kbit/s, V.35 interfaces
  969.  
  970.     Figure 5b)/H.242 shows a reference connection with more than two 
  971. 56 kbit/s connections. Frame alignment will be according to H.221. Neither 
  972. septet timing nor septet alignment is assumed. Figure5d)/H.242 shows a 
  973. multiple n┤56 kbit/s without septet alignment or septet timing.
  974.  
  975. 10.2.3    Case 3: n ┤ 64 kbit/s with octet timing and alignment
  976.  
  977.     Figure 5e)/H.242 shows a reference connection consisting of two 
  978. visual telephones connected by facilities operating in a private line environ-
  979. ment. Unrestricted mode of operation is not assumed.
  980.  
  981. 10.2.4    Case 4: H0 (384 kbit/s) operation
  982.  
  983.     When working in a restricted network a ô1ö shall be placed in the 
  984. eighth bit position of every octet of every time-slot; the service channel is 
  985. then in the seventh bit.
  986.  
  987. 10.2.5    Case 5: 56 kbit/s satellite operation
  988.  
  989.     For further study.
  990.  
  991. 10.2.6    Case 6: 56 kbit/s interconnecting a 64 kbit/s network
  992.  
  993.     A 64 kbit/s terminal will interwork with a 56 kbit/s terminal as a rate 
  994. adapted data call over a 64 kbit/s bearer channel. The terminal connected to 
  995. the 64kbit/s connection will rate adapt according to 
  996. RecommendationH.221. In the case of a 64kbit/s terminal connected to 
  997. ISDN, the terminal may optionally be equipped to intercommunicate 
  998. through an ISDN V.35 terminal adaptor. In any case, because the 56kbit/s 
  999. terminal cannot transmit correctly aligned septets, the terminal at the 
  1000. 64kbit/s end cannot assume septet timing.
  1001.  
  1002. 10.3    Transmission formats
  1003.  
  1004. 10.3.1    Framing signal (56 kbit/s)
  1005.  
  1006.     The transmission shall be arranged in 80 septet frames as specified in 
  1007. RecommendationH.221.
  1008.  
  1009. 10.3.2    Transmission formats (56 kbit/s operation)
  1010.  
  1011.     In 56 kbit/s operation the septets of each 7 ┤ 80 bit frame will be trans-
  1012. mitted in order, most significant bit first at the 56kbit/s rate. Septet align-
  1013. ment will be recovered from the frame alignment signal as specified in 
  1014. RecommendationH.221.
  1015.  
  1016. 10.3.3    n ┤ 56 kbit/s operation
  1017.  
  1018.     In n ┤ 56 kbit/s operation each 56 kbit/s connection will be framed and 
  1019. transmitted separately. Septet timing will be recovered independently from 
  1020. the frame alignment signal of each channel, and the different delay between 
  1021. the channels will be compensated for on the basis of the multiframe num-
  1022. bering method specified in RecommendationH.221.
  1023.  
  1024.     The voice signal will be carried in the initial connection and video, 
  1025. graphics and auxiliary data may be carried in the initial and/or other connec-
  1026. tions.
  1027.  
  1028. 10.3.4    n ┤ H0 operation
  1029.  
  1030.     In n ┤ H0 operation, each connection will be framed separately and 
  1031. differential delay between the channels will be compensated according to 
  1032. RecommendationH.221.
  1033.  
  1034. 10.3.5    Dynamic allocation within a primary-rate connection
  1035.  
  1036.     Intelligent terminals may have a means for dynamically increasing or 
  1037. decreasing the bit rate during a connection. The means for controlling these 
  1038. allocations will be performed according to RecommendationH.221. There 
  1039. may be a need to recover framing by extraction from the received signal 
  1040. independently.
  1041.  
  1042. 10.4    Interworking between 56 kbit/s and 64 kbit/s terminals
  1043.  
  1044.     In the worst case it must be assumed that neither terminal is aware (by 
  1045. means of a D-channel message or otherwise) that it is connected to a termi-
  1046. nal of the other type; furthermore septet timing cannot be assumed at the 
  1047. 56kbit/s end. At the 64kbit/s end, byte timing is indispensable, since with-
  1048. out this it cannot be known which bit (1 in every8) will not be transmitted 
  1049. to the remote end (see Figure2/H.242, outcomeIV).
  1050.  
  1051.     Initially, terminal X (at 64 kbit/s) transmits FAS and capability-BAS 
  1052. on bit 8, on the false assumption that the remote terminal is also at 64kbit/s. 
  1053. Frame search is carried out on the whole incoming signal; clearly, searching 
  1054. only on bit8 will result in outcomeII (see Figure2/H.242).
  1055.  
  1056. Figure 5/H.242 = 23.5cm
  1057.  
  1058.  
  1059.  
  1060.     If frame alignment is found, and this may be in any bit position, given the 
  1061. lack of septet timing at the other end, then the fact of interworking with a 
  1062. 56kbit/s terminal immediately becomes known from the capability BAS, 
  1063. which terminal Y must include in its capability BAS cycle. Terminal X 
  1064. immediately changes to transmitting FAS and BAS on bit7, since bit8 is 
  1065. the one which is not transmitted through the restricted networks. Initializa-
  1066. tion should then proceed as in º6.1, with outcomeIb in Figure2/H.242.
  1067.  
  1068.     In the event that no frame alignment is found in any sub-channel, outcomeII 
  1069. of º6.1.1 applies.
  1070.  
  1071.     Note 1 û All 56 kbit/s audiovisual terminals must transmit the appropriate 
  1072. capability BAS (100)[22] in every capability exchange.
  1073.  
  1074.     Note 2 û Unless it is sure that they will never be required to interwork with 
  1075. 56kbit/s networks, terminals manufactured for use on 64kbit/s networks 
  1076. should preferably have the capability to search for frame alignment in all bit 
  1077. positions.
  1078.  
  1079.     Note 3 û It may be advisable to mute audio output until incoming frame 
  1080. alignment has been achieved or a switch to unframed PCM has been decided 
  1081. upon.
  1082.  
  1083. 10.5    Interworking between H0 or H11 terminals in restricted and unre-
  1084. stricted networks
  1085.  
  1086.     At the start of the communication, the terminal on the restricted net-
  1087. work transmits framed signals with the service channel in bit7 of the I--
  1088. channel and all ô1ös in bit8; the restricted capability BAS(100)[22] is sent. 
  1089. In the terminal on the unrestricted network, frame search is carried out on 
  1090. the whole incoming signal (or incoming TS1 if synchronization between 
  1091. H0/H11 framing and H.221 framing is maintained). When BAS(100)[22] 
  1092. is detected, a terminal immediately shifts the outgoing service channel to 
  1093. bit7 and sets all ô1ös on bit8 of every time-slot.
  1094.  
  1095.     All terminals intended for interworking with terminals connected to 
  1096. restricted networks must be capable of performing this procedure.
  1097.  
  1098. 11    Procedure for use of BAS-extension codes
  1099.  
  1100.     Recommendation H.221 provides for the attribute (111) for extension 
  1101. of the use of the BAS position in the subsequent sub-multiframe(s) for other 
  1102. purposes. There are 32values of this attribute, the meanings of these being 
  1103. defined in RecommendationH.221.
  1104.  
  1105.     Note that the value (111)[24] is the capability marker (see º2) which 
  1106. is followed by normal BAS codes, not by any escape values.
  1107.  
  1108.     Values [0-15] are reserved for future extension of the scheme to 
  1109. include attribute class and family.
  1110.  
  1111.     Values [16-23] are defined as single-byte extension (SBE); codes of 
  1112. SBE type may be transmitted at any time and to any terminal.
  1113.  
  1114.     Value [18] gives access to a table of values specifying applications of 
  1115. a data channel (LSD or HSD). The application is active from the sub-multi-
  1116. frame following that in which the relevant specific application command 
  1117. BAS is transmitted. The closure of the data channel (using LSD/HSD-off) 
  1118. effectively closes the application.
  1119.  
  1120.     All terminals must recognize the SBE attributes, at least to the extent 
  1121. of ignoring the subsequent code, whose meaning is not prescribed in this 
  1122. Recommendation. However, when(111)[17] is received, the subsequent 
  1123. code may be one of the mandatory values specified in 
  1124. RecommendationH.230. The ability of a terminal to use the content of other 
  1125. such codes is governed by other Recommendations. For example, 
  1126. RecommendationH.320 defines the requirements for visual telephone ter-
  1127. minals to act upon some of the control and indication values.
  1128.  
  1129.     Values [25-31] are of multiple byte extension (MBE); codes of MBE 
  1130. may only be transmitted to a terminal which has previously indicated its 
  1131. capability to receive MBE. It follows that a non-CCITT capabilities mes-
  1132. sage may not be transmitted in the initial capability exchange, until the 
  1133. MPE-cap has been received. An example of the structure of MBE messages 
  1134. is given in AppendixIII.
  1135.  
  1136. 12    Bit occupancy and the sequencing of BAS codes
  1137.  
  1138.     In general, when there is no set procedure governing the sequence of 
  1139. BAS codes, priorities may be determined by the sending terminal. When 
  1140. there is no other demand for use of the BAS position, it is advisable to cycle 
  1141. through all the valid BAS commands, so that in the event of a temporary dis-
  1142. turbance the proper mode will be restored as soon as possible thereafter.
  1143.  
  1144.     Table 1/H.242 summarizes the BAS capabilities that can be simulta-
  1145. neously valid.
  1146.  
  1147.  
  1148.  
  1149.     The capability set consists of the capability marker (111)[24] fol-
  1150. lowed by all currently valid values, in any order; this may in turn be fol-
  1151. lowed by a repetition of the set, or by the marker alone to indicate 
  1152. completion of the set prior to sending commands. No values should be 
  1153. repeated within a set. If it is desired to change the capability set during its 
  1154. transmission, the existing set must first be completed without change, fol-
  1155. lowed by the marker alone and at least one BAS command before the new, 
  1156. changed set is started.
  1157.  
  1158.     Table 2/H.242 summarizes the BAS commands that can be simultaneously 
  1159. valid.
  1160.  
  1161.  
  1162.  
  1163.     Only one value in each row can be in force at any one instant, up to 
  1164. 17values on the initial channel (all the above values except (001)[18-22] 
  1165. apply only to the initial channel); however in practice many of the combina-
  1166. tions are precluded by the fact that they would affect the same bits of the 
  1167. channel (for example, (011)[31] and (011)[19] cannot coexist).
  1168.  
  1169.     A command remains in force until another from the same row is transmitted. 
  1170. A command must not be transmitted if to obey it would cause a simulta-
  1171. neous mode change on another row; in such a case the other row value must 
  1172. be changed first (for this purpose, a change of bit-rate of video or any of the 
  1173. variable data values does not constitute a mode change).
  1174.  
  1175.     In general, unless specified otherwise, a BAS code which is invalid or which 
  1176. contravenes the provisions of this table, or otherwise indicates an impossible 
  1177. frame structure or system status, must not be transmitted.
  1178.  
  1179.     The following notes serve to clarify the application of these rules to the mul-
  1180. tiplexing of audio, video and the various forms of data. Some examples 
  1181. relating to data transmission are given in AppendixV.
  1182.  
  1183. a)    Audio cannot penetrate into fixed rate Data (LSD or MLP) bit posi-
  1184. tions. It can expand its capacity into vacant or video or variable 
  1185. data bit positions. It can reduce its capacity within the audio bit 
  1186. positions currently occupied.
  1187.  
  1188. b)    Video occupies all bit positions which are not assigned by other 
  1189. commands (ECS, Audio, LSD/MLP regardless of being fixed rate 
  1190. or variable rate).
  1191.  
  1192.     Video can be turned on at any time even if the available capacity for 
  1193. video is zero at the corresponding sub-multiframe; (it may happen, 
  1194. for example, that video is switched on just before the variable rate 
  1195. LSD or MLP channel is closed); the decoder must not ignore 
  1196. ôvideo onö even in this case, otherwise a mode mismatch occurs. 
  1197. However, if video capacity is less than about 30kbit/s averaged 
  1198. over several sub-multiframes, it may not be practical.
  1199.  
  1200.     It should be noted that video-off, (010)[0], is preferably preceded by 
  1201. freeze-picture request, (010)[16].
  1202.  
  1203. c)    Fixed rate LSD/MLP cannot penetrate into Audio bit positions nor 
  1204. into fixed rate MLP/LSD bit positions. It can expand its capacity 
  1205. into vacant or video or variable MLP/LSD bit positions. It can 
  1206. reduce its capacity within the data bit positions currently occupied. 
  1207. As a combination, fixed rate LSD/MLP can occupy new bit posi-
  1208. tions which have previously been either vacant, video, variable rate 
  1209. MLP/LSD or occupied by the same type of fixed rate data.
  1210.  
  1211. d)    Variable rate LSD/MLP occupies all bit positions which are not 
  1212. assigned by other fixed rate commands (ECS, Audio, fixed rate 
  1213. MLP/LSD). If video has been on, it is excluded when variable rate 
  1214. LSD or MLP is turned on. If variable rate LSD/MLP has been on, 
  1215. opening a variable rate MLP/LSD channel should be preceded by 
  1216. closing the existing variable rate LSD/MLP channel.
  1217.  
  1218.     Variable rate LSD or MLP can be turned on at any time even if the 
  1219. available capacity for it is zero at the corresponding sub-multi-
  1220. frame; (it may happen, for example, that the variable MLP is 
  1221. switched on just before closing the LSD channel which has been 
  1222. occupying all the capacity other than audio); the decoder must not 
  1223. ignore ôvariable rate LSD or MLP onö even in this case, otherwise 
  1224. a mode mismatch occurs.
  1225.  
  1226. e)    LSD/MLP rate may be changed without first closing the data chan-
  1227. nel û this applies equally to changes between fixed and variable 
  1228. rate. It is emphasized that there can only be one LSD and one MLP 
  1229. channel at any instant.
  1230.  
  1231. f)    Capacity of video or variable LSD/MLP can be temporarily reduced 
  1232. to zero in a sub-multiframe as part of dynamic bit rate allocations. 
  1233. It is impractical, however, if that situation continues for a long 
  1234. time.
  1235.  
  1236. g)    The rules for the use of HSD and H-MLP (in other than the I-
  1237. -channel) are identical to those given above for LSD and MLP in 
  1238. the I--channel.
  1239.  
  1240. 13    Procedure for dealing with 6B-H0 interconnection
  1241.  
  1242.     For further study.
  1243.  
  1244. 14    Procedure for use of encryption control signal channel
  1245.  
  1246.     Each terminal must transmit the encryption capability code if it is able 
  1247. to handle the ECS channel. No terminal may activate the channel without 
  1248. first receiving the corresponding capability code. Once an ECS capability 
  1249. code has been transmitted it cannot be cancelled by omission from a subse-
  1250. quent capability exchange. That is to say, a terminal having once received, 
  1251. stored and made use of an ECS capability code should assume continued 
  1252. validity until cancelled by the local user. Thus encryption can be discontin-
  1253. ued by the users themselves but not by a third party tampering with the 
  1254. BAS-capability exchange.
  1255.  
  1256.     The initiating terminal transmits the command ôECS channel ONö; 
  1257. from the next multiframe it opens the 800bit/s ECS channel defined in 
  1258. RecommendationH.221, whose use is specified in the Recommendation 
  1259. defining the encryption system (FAS, BAS and the ECS channel itself are in 
  1260. any case not encrypted).
  1261.  
  1262.     When encryption has been turned off, the BAS command ôECS chan-
  1263. nel OFFö is used to close the ECS channel.
  1264.  
  1265. APPENDIX  I
  1266.  
  1267. (to Recommendation H.242)
  1268.  
  1269. Initialization: Case of Videophone to Recommendation H.320, Type Xb3
  1270.  
  1271.     Underlined letters in the comments column correspond to points in the asso-
  1272. ciated Figure I-1/H.242.
  1273.  
  1274.  
  1275.  
  1276. FIGURE I-1/H.242 = 23.5 cm
  1277.  
  1278.  
  1279.  
  1280. APPENDIX  II
  1281.  
  1282. (to Recommendation H.242)
  1283.  
  1284. Mode-0 forcing: Case of Videophone to Recommendation H.320, Type Xb3
  1285.  
  1286.     Underlined letters in the comments column correspond to points in the asso-
  1287. ciated FigureII-2/H.242.
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.     The mode-0 forcing procedure is not complete: subsequent action 
  1294. depends on the terminal procedure, according to the reason for performing 
  1295. the switch to mode0
  1296.  
  1297. FIGURE II-2/H.242 = 9.5 cm
  1298.  
  1299.  
  1300.  
  1301. APPENDIX  III
  1302.  
  1303. (to Recommendation H.242)
  1304.  
  1305. Example of use of message structure
  1306.  
  1307.     Send                                Receive
  1308.  
  1309. III.1    Initial capability exchange, including MBE-cap
  1310.  
  1311. (111) [24]    Capability-mark
  1312.  
  1313. (100) [4]        Audio Type 2 (G.722, 56kbit/s)
  1314.  
  1315. (100) [17]    2 ┤ 64 kbit/s transfer rate
  1316.  
  1317. (101) [21]    CIF video capability
  1318.  
  1319. (101) [22]    1/29.97 MPI for QCIF
  1320.  
  1321. (101) [23]    2/29.97 MPI for CIF
  1322.  
  1323. (101) [31]    MBE-capability
  1324.  
  1325. (111) [16]    Set to escape table for HSD
  1326.  
  1327.     Send                                Receive
  1328.  
  1329.  
  1330.  
  1331. (101) [17]    64 kbit/s HSD-capability
  1332.  
  1333. (111) [24]    Capability-mark, repetition of capability set
  1334.  
  1335. (100) [4]        Audio Type 2 (Rec. G.722, 56kbit/s)
  1336.  
  1337.  . . .      . . .        . . . 
  1338.  
  1339.                                         decode incoming BAS 
  1340. capabilities:
  1341.                                         these include (101)[31], 
  1342. so remote
  1343.                                         end can handle MBE 
  1344. codes
  1345.  
  1346. III.2    Subsequent capability exchange, including MBE capability message
  1347.  
  1348. (111) [24]    Capability-mark
  1349.  
  1350. (100) [4]        Audio type2 (Rec. G.722, 56kbit/s)
  1351.  
  1352. (100) [17]    2 ┤ 64 kbit/s transfer rate
  1353.  
  1354. (101) [21]    CIF video capability
  1355.  
  1356. (101) [22]    1/29.97 MPI for QCIF
  1357.  
  1358. (101) [23]    2/29.97 MPI for CIF
  1359.  
  1360. (101) [31]    MBE-capability
  1361.  
  1362. (111) [16]    Set to escape table for HSD
  1363.  
  1364. (101) [17]    64 kbit/s HSD-capability
  1365.  
  1366. (111) [30]    Start of non-CCITT capability message
  1367.  
  1368. {M}            Information will be M bytes
  1369.  
  1370. {byte1}        Country code according to Recommendation T.35
  1371.  
  1372. {byte2}        Country code
  1373.  
  1374. {bytes3,4}    Manufacturer code (Company XYZ)
  1375.  
  1376. {bytes5-M}    Type identity
  1377.  
  1378. (111) [24]    Capability-mark, repetition of capability set
  1379.  
  1380. (100) [4]        Audio type2 (Rec. G.722, 56kbit/s)
  1381.  
  1382.  . . .      . . .        . . . 
  1383.  
  1384.                                         incoming capability 
  1385. cycle now
  1386.                                         includes the same non-
  1387. standard mode 
  1388.  
  1389. III.3    Mode switch to non-standard mode using MBE command
  1390.  
  1391. (111) [30]    Start of non-CCITT command message
  1392.  
  1393. {N}            Information will be N-bytes
  1394.  
  1395. {byte1}        Country code according to Recommendation T.35
  1396.  
  1397. {byte2}        Country code
  1398.  
  1399. {bytes 3,4}     Manufacturer code (Company XYZ)
  1400.  
  1401. {bytes5-N}     Type identity
  1402.  
  1403.     The mode switch is effective from the sub-multiframe following that 
  1404. containing byte N.
  1405.  
  1406. APPENDIX  IV
  1407.  
  1408. (to Recommendation H.242)
  1409.  
  1410. Examples of symmetrical and unsymmetrical transmission modes
  1411.  
  1412. IV.1    Example of symmetrical transmission mode
  1413.  
  1414.  
  1415.  
  1416. IV.2    Example of unsymmetrical transmission mode
  1417.  
  1418.  
  1419.  
  1420. APPENDIX  V
  1421.  
  1422. (to Recommendation H.242)
  1423.  
  1424. Examples relating to data transmissions
  1425.  
  1426.     Note û For the examples given below:
  1427.  
  1428.     *        These rates are reduced by 800 bit/s when the ECS is active;
  1429.  
  1430.     #        ôVideo-onö may not be practical in these cases.
  1431.  
  1432. V.1    Transfer-rate 1B, audio at 48 kbit/s, no video or video off
  1433.  
  1434.     MLP    LSD            Forbidden next commands (example)
  1435.  
  1436. 4k        1200        #, LSD = 4.8k/6.4k/14.4k and over, MLP = 6.4k
  1437.  
  1438. 4k        8k            Au = 56k, #, LSD = 4.8k/6.4k/14.4k and over
  1439.  
  1440. 4k        var            #, LSD = 4.8k/6.4k/14.4k and over, MLP = var
  1441.  
  1442. 6.4*k    8k            Au = 56k, #, LSD = 300/1200/4.8k/6.4k/9.6k/14.4k and over
  1443.  
  1444. var        1200        #, LSD = 16k and over/var, MLP = 6.4k
  1445.  
  1446. var        6.4k            #, LSD = 16k and over/var, MLP = 4k/6.4k
  1447.  
  1448. var        9.6k            Au = 56k, #, LSD = 16k and over/var, MLP = 6.4k
  1449.  
  1450. V.2    Transfer-rate 1B, audio at 16 kbit/s, no video or video off
  1451.  
  1452.     MLP    LSD            Forbidden next commands (example)
  1453.  
  1454. 4k        300            LSD = 4.8k/6.4k/14.4k/48k and over, MLP = 6.4k
  1455.  
  1456. 4k        8k            Au = 56k, LSD = 4.8k/6.4k/14.4k/48k and over
  1457.  
  1458. 4k        16k            Au = 48k/56k, #, LSD = 4.8k/6.4k/14.4k/48k and over
  1459.  
  1460. 4k        var            #, LSD = 4.8k/6.4k/14.4k/48k and over, MLP = var
  1461.  
  1462. 6.4*k    8k            Au = 56k, LSD = 300/1200/4.8k/6.4k/9.6k/14.4k/48k and 
  1463. over
  1464.  
  1465. 6.4*k    40k            Au = 48k/56k, #, LSD = 300/1200/4.8k/6.4k/9.6k/14.4k/48k 
  1466. and over
  1467.  
  1468. var        4.8k            #, LSD = 48k and over/var, MLP = 4k/6.4k
  1469.  
  1470. var        9.6k            Au = 56k, #, LSD = 48k and over/var, MLP = 6.4k
  1471.  
  1472. var        16k            Au = 48k/56k, #, LSD = 48k and over/var
  1473.  
  1474. V.3    Transfer-rate 1B, audio at 16 kbit/s, video on
  1475.  
  1476.     MLP    LSD            Forbidden next commands (example)
  1477.  
  1478. 4k        1200        LSD = 4.8k/6.4k/14.4k/48k and over, MLP = 6.4k
  1479.  
  1480. 4k        8k            Au = 56k, LSD = 4.8k/6.4k/14.4k/48k and over
  1481.  
  1482. 6.4*k    8k            Au = 56k, LSD = 300/1200/4.8k/6.4k/9.6k/14.4k/48k and 
  1483. over
  1484.  
  1485. V.4    Transfer-rate 2B, audio at 48 kbit/s, video on
  1486.  
  1487.     MLP    LSD            Forbidden next commands (example)
  1488.  
  1489. var        1200        LSD = 16k and over/var, MLP = 6.4k
  1490.  
  1491. var        4.8k            LSD = 16k and over/var, MLP = 4k/6.4k
  1492.  
  1493. var        9.6k            Au = 56k, LSD = 16k and over/var, MLP = 6.4k
  1494.  
  1495. 4k        8k            Au = 56k, LSD = 4.8k/6.4k/14.4k/16k and over
  1496.  
  1497. V.5    Transfer-rate 2B, audio at 16 kbit/s, video on
  1498.  
  1499.     MLP    LSD            Forbidden next commands (example)
  1500.  
  1501. var        1200        LSD = 48k and over/var, MLP = 6.4k
  1502.  
  1503. var        4.8k            LSD = 48k and over/var, MLP4k/6.4k
  1504.  
  1505. var        8k            Au = 56k, LSD = 48k and over/var
  1506.  
  1507. var        16k            Au = 48k/56k, LSD = 48k and over/var
  1508.  
  1509. 4k        8k            Au = 56k, LSD = 4.8k/6.4k/14.4k/48k and over
  1510.  
  1511. var                    Variable
  1512.  
  1513. LSD                    Low speed data
  1514.  
  1515. HSD                High speed data
  1516.  
  1517. MLP                Multi-layer protocol
  1518.  
  1519.  
  1520.  
  1521.  
  1522.