home *** CD-ROM | disk | FTP | other *** search
/ Internet Standards / CD2.mdf / ccitt / 1992 / q / q931.asc < prev    next >
Text File  |  1991-12-31  |  22KB  |  691 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.               (Recommendation Q.931,  5 to 9)
  8.                                 
  9.  
  10.                                                                       Page
  11.  
  12. 5.     Circuit switched call procedures ............................  6 
  13.  
  14. 6.     Packet communication procedures ............................. 41 
  15.  
  16. 7.     User-to-user signalling procedures .......................... 61 
  17.  
  18. 8.     Applications of circuit-switched supplementary services to 
  19.        terminals using stimulus procedures ......................... 75  
  20.  
  21. 9.     List of system parameters ................................... 75 
  22.  
  23.  
  24.  
  25.                                    *
  26.                                     
  27.                                 *     *
  28.                                     
  29.  
  30.        Similarly, if the network determines that a requested service  is  not
  31. authorized or is not available, the network shall initiate call  clearing  in
  32. accordance with  5.3 with one of the following causes:
  33.  
  34.        a)   #57 "bearer capability not authorized",
  35.  
  36.        b)   #58 "bearer capability not presently available",
  37.  
  38.        c)   #63 "service or option not available, unspecified", or
  39.  
  40.        d)   #65 "bearer service not implemented".
  41.  
  42. Note - If a supplementary service is not authorized and is not available, the 
  43. procedure  to  be  used  is  defined  i  the  supplementary  service  control
  44. procedures.
  45.  
  46. 5.1.5.2     Call proceeding, overlap sending
  47.  
  48.        If overlap sending is used following the occurrence of  one  of  these
  49. conditions:
  50.  
  51.        a)   the receipt by the network of a sending complete indication which 
  52.             the network understands; or,
  53.  
  54.        b)   analysis by the network that all call  information  necessary  to
  55.             effect call establishment has been received;
  56.  
  57. and if the network can determine that access to the  requested  services  and
  58. supplementary service is authorized and available, the network shall: send  a
  59. CALL PROCEEDING message to the user; stop timer T302; and enter the Outgoing Call 
  60. Proceeding state. Similarly if the network determines that a requested service 
  61. or supplementary service is not authorized or is not available,  the  network
  62. shall initiate call clearing in accordance with  5.3 with one of the following 
  63. causes:
  64.  
  65.        a)   #57 "bearer capability not authorized",
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.        b)   #58 "bearer capability not presently available",
  79.  
  80.        c)   #63 "service or option not available, unspecified", or
  81.  
  82.        d)   #65 "bearer service not implemented".
  83.  
  84. Note 1 - The CALL PROCEEDING message is sent to indicate that the  requested  call
  85. establishment has been initiated, and no more call establishment information  will
  86. be accepted.
  87.  
  88. Note 2 - If a supplementary service is not authorized or  is  not  available,  the
  89. procedure to be used is defined in the supplementary service control procedures.
  90.  
  91.        When the user receives the CALL PROCEEDING message, the  user  shall  enter
  92. the Outgoing Call Proceeding state. If, for symmetry purposes,  the  calling  user
  93. employs timer T304, the user shall stop timer T304 when the CALL PROCEEDING message is 
  94. received. If, for symmetry purposes, the calling user employs timer T304 then,  on
  95. expiry of T304,the user shall initiate call clearing in accordance with  5.3 with 
  96. cause 102 "recovery on time expiry".
  97.  
  98.        An alerting or connect indication received from the called party will  stop
  99. timer T302 and cause and ALERTING or CONNECT message respectively to be sent to the 
  100. calling user. No CALL PROCEEDING message shall be sent by  the  network.  If,  for
  101. symmetry purposes, the calling user employs timer T304, the user shall stop timer T304 
  102. on receiving the ALERTING or CONNECT message.
  103.  
  104.        At the expiration of timer T302, the network shall:
  105.  
  106.        a)   initiate call clearing  in  accordance  with    5.3  with  cause  #28
  107.             "invalid number format" (incomplete number) sent to the calling user and with 
  108.             cause #102 "recovery on timer expiry" is sent towards the called user, 
  109.             if the network determines that  the  call  information  is  definitely
  110.             incomplete; otherwise,
  111.  
  112.        b)   send a CALL PROCEEDING message and enter the Outgoing Call  Proceeding
  113.             state.  
  114. 5.2.5.3     Called user clearing during incoming call establishment
  115.  
  116.        If the SETUP message has been delivered on a point-to-point data link and a 
  117. RELEASE COMPLETE or DISCONNECT message is received before a  CONNECT  message  has
  118. been received, the network shall: stop timer T303, T304, T310 or T301 (if running); 
  119. continue to clear the user as described in  5.3.3, and clear the call to the calling 
  120. user with the cause received in the RELEASE COMPLETE or DISCONNECT message.
  121.  
  122.  
  123.        If timer T312 has expired and the network  receives  a  DISCONNECT  message
  124. from the called user after having received a SETUP ACKNOWLEDGE, CALL PROCEEDING or 
  125. ALERTING message (but before receiving a CONNECT message), the network shall continue 
  126. to clear the user as described in  5.3.3. The network shall stop timer  T304  (if
  127. running) for this user.
  128.  
  129. SETUP ACKNOWLEDGE or PROCEEDING messages have been received, the cause sent to the 
  130. calling user shall be a cause received from the called user, giving preference  to
  131. (in order of priority): #17 "user busy"; #21 "call rejected"; any other appropriate 
  132. cause sent by a called user.
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142. SETUP ACKNOWLEDGE or CALL PROCEEDING messages have been received, the  cause  sent
  143. to the calling user shall be  a  cause  received  from  the  called  user,  giving
  144. preference to (in order of priority): #17 "user busy"; #21 "call rejected"; any other 
  145. appropriate cause sent by a called user.
  146.  
  147. xxxxx
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.        On receipt of a RESUME message,  the  network  enters  the  Resume  Request
  179. state. After a positive validation of the call identity that relates to the suspended 
  180. call containing a valid identity that relates to a currently suspended  call,  the
  181. network shall: send a RESUME ACKNOWLEDGE message to the  user;  release  the  call
  182. identity; stop timer T307 and enter the Active state. The RESUME ACKNOWLEDGE message shall 
  183. specify the B-channel reserved to the call by the network by means of the  Channel
  184. identification  element,  coded  "B-channel  is  indicated,  no   alternative   is
  185. acceptable".
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198. 5.8.5  General information element errors
  199.  
  200.        The  general  information  element  error  procedures  may  also  apply  to
  201. information elements in codesets other than 0. In that case, the diagnostics in the cause 
  202. information element may indicate information elements other than those in codeset 0 
  203. by applying the locking or non-locking shift procedures as described in  4.5.
  204.  
  205. 5.8.5.1     Information element out of sequence
  206.  
  207.        A variable length information element which has a code value lower than the 
  208. code value of the variable  length  information  element  preceding  it  shall  be
  209. considered as an out of sequence information element.
  210.  
  211.        If the network or user receives a message containing  an  out  of  sequence
  212. information element, it may ignore this information element and continue to process 
  213. the message. If this information is mandatory, and the network or user  choses  to
  214. ignore this out of sequence information element, then the error handling procedure for 
  215. missing mandatory information elements as described in
  216.  5.8.6.1 shall be followed. If the ignored information element is
  217. non-mandatory, the receiver continues to process the message.
  218.  
  219. Note - Some implementations may choose to process  all  the  information  elements
  220. received in a message regardless of the order in which they are placed.
  221.  
  222. 5.8.5.2     Duplicated information elements
  223.  
  224.        If an information element is repeated in a message in which  repetition  of
  225. the information element is not permitted, only the contents of information element 
  226. appearing first shall be handled and all subsequent repetitions of the information 
  227. element shall be ignored. When repetition of information elements is permitted, only 
  228. the contents of permitted information elements shall be handled.  If the limit  on
  229. repetition of information elements is exceeded, the contents of information elements 
  230. appearing first up to the limit of repetitions shall be handled and all subsequent 
  231. repetitions of the information element shall be ignored.
  232.  
  233. 5.8.6  Mandatory information element errors 
  234.  
  235. 5.8.6.1     Mandatory information element missing
  236.  
  237.        When a message other than SETUP, DISCONNECT, RELEASE or RELEASE COMPLETE is 
  238. received which has one or more mandatory information elements missing,  no  action
  239. should be taken on the message and no state change should occur. A STATUS message is 
  240. then returned with cause #96 "mandatory information element is missing".
  241.  
  242.        When a SETUP or RELEASE message is received which has one or more mandatory 
  243. information elements missing, a RELEASE COMPLETE message with
  244. cause #96 "mandatory information element is missing" shall be returned.
  245.  
  246.        When a DISCONNECT message is received with the  cause  information  element
  247. missing, the actions taken shall be the same as if a DISCONNECT message with cause 
  248. #31 "normal, unspecified" was received (see  5.3), with the  exception  that  the
  249. RELEASE message sent on the local interface contains cause  #96 "mandatory information 
  250. element is missing".
  251.  
  252.        When a RELEASE COMPLETE  message  is  received  with  a  cause  information
  253. element missing, it will be assumed that a RELEASE COMPLETE message was received with 
  254. cause #31 "normal, unspecified".
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.        The sending or receipt of the STATUS message in such a situation  will  not
  277. directly affect the call state of either the sender or receiver. The  side  having
  278. received the STATUS message shall inspect the Cause information element. If the STATUS 
  279. message contains cause #97 "message type non-existent or not  implemented",  timer
  280. T322 shall continue to time for an explicit response to the STATUS ENQUIRY message. 
  281. If a STATUS message is received  that  contains  cause  #30  "response  to  status
  282. enquiry", timer T322 shall be stopped and the appropriate action taken, based on the 
  283. information in that STATUS message, relative to the current state of the receiver. If 
  284. timer T322 expires and a STATUS message with cause #97 "message type non-existent or 
  285. not implemented" was received, the appropriate action shall be taken, based on the 
  286. information in that STATUS message, relative to the  current  call  state  of  the
  287. receiver.
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.              When in the Null state, the receiver of a STATUS  message  indicating
  306.           the  Null  state  shall  take  no  action  other  than  to  discard  the
  307.  message and shall remain in the Null state.
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.        In semi-permanent connection type 1), the procedures  of  Section  6.3  are
  315. followed for call establishment and release.
  316.  
  317.        In semi-permanent connection type 2), only the procedures of
  318. Section 6.3.2 are followed for call establishment and release.
  319.  
  320.        When semi-permanent connection type 2),  is  used  for  PVCs  none  of  the
  321. following procedures apply.
  322.  
  323.        Semi-permanent connections  are  established  via  a  provisioning  process
  324. without Q.931 procedures.
  325.  
  326. ─────────────────────────── 
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344. Note - Some networks may not support every type of access. In the case of
  345. B-channel access, the network will clear a request  for  unsupported  services  by
  346. sending a RELEASE COMPLETE message with cause #65, "bearer service not implemented". 
  347. In the case of a request for D-channel access (an SABME with SAPI=61), on a network 
  348. port which does not support the service, no response is required of the network.
  349.  
  350. 6.1.1  Circuit-switched access to PSPDN services (Case A)
  351.  
  352.        The B-channel connection between the user and the AU  shall  be  controlled
  353. using the D-channel signalling procedures for call establishment described in Section 
  354. 5.1. The specific B-channel to be used as a switched connection is selected  using
  355. the channel selection procedures described in Section 5.1.2 and summarized in Table 
  356. 6-1/Q.931.
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369. 6.1.2  Access to the ISDN virtual circuit service (Case B)
  370.  
  371. 6.1.2.1     B-channel
  372.  
  373.        Demand access B-channel connections  are  controlled  using  the  D-channel
  374. signalling procedures for call establishment described in Section  5.1  using  the
  375. messages defined in Section 3.2 with the following exceptions:
  376.  
  377.        -    The procedures for overlap sending specified in Section 5.1.3  do  not
  378.             apply.  
  379.        -    The procedures for call proceeding and overlap  sending  specified
  380.             in Section 5.1.5.2 do not apply.
  381.  
  382.        -    The procedures for notification of interworking  at  the
  383.             origination interface  specified  in  Section  5.1.6  do
  384.             not apply.
  385.  
  386.        -    The procedures for call confirmation indication  specified  in
  387.             Section 5.1.7 do not apply.
  388.  
  389.        -    The procedures for call connected specified in  Section  5.1.8
  390.             apply as follows:
  391.  
  392.             -    Upon accepting the access connection, the  network  shall
  393.                  send a CONNECT message across the user-network interface to 
  394.                  the calling user and enter the Active state.
  395.  
  396.             -    This message indicates to the calling user that an access 
  397.                  connection to the packet handler has been established.
  398.  
  399.             -    On receipt of the CONNECT message, the calling  user  may
  400.                  optionally send a CONNECT ACKNOWLEDGE message, and  shall
  401.                  enter the Active state.
  402.  
  403.        -    The procedures for call rejection specified in  Section  5.1.9
  404.             apply as follows:
  405.  
  406.             -    When unable to accept the access connection, the  network
  407.                  shall initiate call clearing at the originating
  408.                  user-network interface as described in Section 5.3.
  409.  
  410.        -    The procedures for transit network selection  specified  in
  411.             Section 5.1.10 do not apply.
  412.  
  413.        The specific B-channel to be used as a demand connection  is  selected
  414. using the channel negotiation  procedures  described  in  Section  5.1.2  and
  415. summarized in Table 6-1/Q.931.
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.        The bearer capability information element included  in  SETUP  message
  424. shall be coded with:
  425.  
  426.        -    Information transfer capability set to either:
  427.  
  428.             a)   "unrestricted digital information"; or
  429.  
  430.             b)   "restricted digital information";
  431.  
  432.        -    transfer mode set to "circuit mode";
  433.  
  434.        -    information rate set to "64 kbit/s".
  435.  
  436. Note - Bearer capability information element octets 4a and 4b  shall  not  be
  437. included.
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.        When the Channel  indication  information  element  indicates  Channel
  462. indication = No channel, Exclusive, and D-channel indication = Yes, then  the
  463. Bearer capability information element should be encoded as follows:
  464.  
  465.        -    Information  transfer  capability  set  to  either:  Unrestricted
  466.             digital information or restricted digital information;
  467.  
  468.        -    Transfer mode set to: packet mode;
  469.  
  470.        -    Information rate set to: packet mode (00000);
  471.  
  472.        -    Layer 2 protocol set to: Recommendation 0.921;
  473.  
  474.        -    Layer 3 protocol set to: Recommendation X.25, packet layer.
  475.  
  476.        In all other cases, the Bearer capability information element  should  be
  477. encoded as follows:
  478.  
  479.        -    Information transfer capability set to either: Unrestricted  digital
  480.             information or restricted digital information;
  481.  
  482.        -    Transfer mode set to: packet mode;
  483.  
  484.        -    Information rate set to: packet mode (00000);
  485.  
  486.        -    Layer 2 protocol set to: Recommendation X.25[5], link layer;
  487.  
  488.        -    Layer 3 protocol set to: Recommendation X.25, packet layer.
  489.  
  490.        There exists an understanding that  if  the  terminal  responds  with  D-
  491. channel indication set (see Table 6-3/Q.931), the Layer 2 protocol to be used is 
  492. Recommendation Q.921 (LAPD)[3].
  493.  
  494.  
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.        The clearing of the switched connection shall be effected by using the D-channel signalling procedures for call clearing as specified in Section 5.3. For 
  541. access to PSPDN services, no exceptions apply.  For  the  ISDN  virtual  circuit
  542. service, the messages of Section 3.2 are used, and the following exceptions apply:
  543.  
  544.        -    The terms defined in Section 5.3.1 "Terminology" apply by  replacing
  545.             "circuit-switched ISDN connection" with "demand packet  mode  access
  546.             connection".
  547.  
  548.        -    The exception condition (f) specified  in  Section  5.3.2  does  not
  549.             apply.  
  550.        -    The procedures for clearing with tones and announcements provided in 
  551.             Section 5.3.4.1 do not apply.
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.        The B-channel may be cleared at any time by the user though, in  general,
  565. it will be cleared following the clearing of the last virtual call over that B-channel. In the ISDN virtual circuit service, if the user clears the
  566. B-channel access connection using a Q.931 clearing message while X.25[5] virtual 
  567. calls still exist on the B-channel, the network shall  clear  the  X.25  virtual
  568. call(s) with cause #17, "remote procedure error", and diagnostic #64, "call
  569. set-up, call clearing, or registration problem".
  570.  
  571.        In case B, if a Q.931 RESTART message is received by the  PH  during  the
  572. X.25 data transfer phase, the X.25 virtual calls shall be treated as follows:
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.        At the expiration of timer T320, the network may disconnect the X.25 link 
  583. layer and the access connection. B-channel clearing is as described  in  Section
  584. 5.3 with the exceptions above, with cause #102, "recovery on timer expiry".
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.        When failure occurs, or the X.25 virtual call is cleared prematurely, the 
  596. rules of  Section  5.8  shall  apply.  In  addition,  the  following  rules  for
  597. determining the appropriate cause to be used shall apply in order of decreasing priority.
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.        4.    If  the  Q.931  SETUP  message  is  sent  across  the  user-network
  620.             interface, but no response is received to the second expiry of timer T303, 
  621.             rule #3 applies.
  622.  
  623.        5.    If  the  Q.931  SETUP  message  is  sent  across  the  user-network
  624.             interface, and a response is received from a user which results in the 
  625.             clearing of the call at the user-network interface, the X.25 virtual call 
  626.             shall be cleared using a  clear  indication  packet  containing  the
  627.             appropriate cause from Table 6-5/Q.931 relative to the cause received/sent 
  628.             in the Q.931 clearing message.
  629.  
  630.        6.   If an X.25 clear request packet is  received  from  the  originating
  631.             user prior to the delivery of the X.25 incoming call packet  to  the
  632.             called user (premature clearing), the PH shall send a clear confirmation 
  633.             packet to the calling user and the access connection shall be treated 
  634.             as follows:
  635.  
  636.             -     If  the  Q.931  SETUP  message   was   associated   with   the
  637.                  Unconditional notification class of service (see Section 3.2.3 of 
  638.                  Recommendation X.31)[14], the access connection,  when  and  if
  639.                  established, shall be cleared. The Q.931 clearing message shall contain 
  640.                  the appropriate cause as described in Table 6-6/Q.931.
  641.  
  642.             -    If the Q.931 SETUP message was associated with the  Conditional
  643.                  notification  class  of   service   (see   Section   3.2.3   of
  644.                  Recommendation X.31) and there exists at least one terminal which responds 
  645.                  positively to the Q.931 SETUP message,  then  two  options  are
  646.                  allowed:
  647.  
  648.                  a) the access  connection  is  cleared  as  described  for  the
  649.                     Unconditional class of service; or
  650.  
  651.                  b) the access connection  is  established  and  timer  T320  is
  652.                     started. Upon expiry of timer T320, the access connection is 
  653.                     cleared with cause #102, "recovery on timer expiry" and diagnostic 
  654.                     indicating timer T320.
  655.  
  656. 6.4.4  Cause mappings
  657.  
  658. 6.4.4.1     Access to/from PSPDN services (Case A)
  659.  
  660.        The AU may choose to  follow  the  procedures  in  Section  6.4.4.2  when
  661. mapping between causes delivered by the ISDN or the PSPDN.
  662.  
  663. 6.4.4.2     Access to/from the ISDN virtual circuit service (Case B)
  664.  
  665.        There are several cases where it is necessary to map causes between Q.931 
  666. and X.25[5]. Networks shall use Table 6-5/Q.931 and Table 6-6/Q.931 to  map  the
  667. causes between Q.931 and X.25 messages. The figures in Appendix II describe some 
  668. example situations.
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.