home *** CD-ROM | disk | FTP | other *** search
/ Internet Standards / CD2.mdf / ccitt / 1992 / q / q771.asc < prev    next >
Text File  |  1991-12-31  |  76KB  |  1,931 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.           The drawings contained in this Recommendation have been done in Autocad.
  7.                                               SECTION 1
  8.                     TRANSACTION CAPABILITIES APPLICATION PART (TCAP)
  9.           Recommendation Q.771
  10.                               FUNCTIONAL DESCRIPTION OF TRANSACTION CAPABILITIES
  11.           1      Introduction
  12.           1.1    General
  13.                 Transaction Capabilities (TC) provide functions and protocols  to  a  large
  14.           variety of applications distributed over exchanges  and  specialized  centres  in
  15.           telecommunication networks.
  16.                 The support of TC by terminal equipments is for further study.
  17.                 The term "Transaction Capabilities" refers to  Application  layer  services
  18.           and protocols, called Transaction Capabilities Application Part,  or  TCAP,  plus
  19.           any supporting Presentation, Session and Transport layers services and protocols,
  20.           called the Intermediate Service Part, or ISP.
  21.                 To date, only Signalling System No. 7 MTP plus SCCP  have  been  considered
  22.           as network layer service providers. However, any standard OSI Network Layer might
  23.           be used in place of the MTP plus SCCP, provided  that  the  requirements  of  the
  24.           applications supported by TC (e.g. service and performance requirements)  can  be
  25.           met. This area requires further study.
  26.                 Figure 1/Q.771 shows the  general  structure  of  TC.  It  shows  that  the
  27.           Transaction Capabilities Application Part (TCAP) forms a part of layer 7  of  the
  28.           OSI Reference Model. The remainder of layer 7 is referred to as  a  TC-user.  The
  29.           Intermediate Service Part (ISP) covers layers 4 to 6.
  30.                 Figure 2/Q.771 illustrates the situation of TC  in  the  No.  7  Signalling
  31.           System.
  32.           1.2    Contents of the Recommendations Series Q.771-Q.775
  33.                 Recommendation  Q.771  contains  a  general  description  of  the  services
  34.           provided by the Transaction Capabilities, and the service expected from the SCCP.
  35.                 Recommendation  Q.772  defines  the  Transaction  Capabilities  Information
  36.           Elements, and their functions.
  37.                 Recommendation  Q.773  defines  the  formats  and  encoding  used  for  the
  38.           Transaction Capabilities Messages. Annex A  specifies  the  protocol  data  units
  39.           using the ASN.1 formal notation (Recommendations X.208/X.209).
  40.                 Recommendation Q.774 specifies  the  Transaction  Capabilities  procedures.
  41.           Annex A to this Recommendation contains SDL diagrams for TC.
  42.                 Recommendation Q.775 contains guidelines and  examples  on  how  to  define
  43.           applications and their use of TC.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.                                                          Fascicle VI.9 - Rec. Q.771   PAGE3
  72.  
  73.                                      Fig. 1/Q.771 / T1106250-87 = 13 cm
  74.  
  75.                                         Fig. 2/Q771 T1106260-87 = 8cm
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.          PAGE32  Fascicle VI.9 - Rec. Q.771
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.                The  present  Recommendation   contains   both   introductory   information
  150.          (chapters 1 and 2),  and  a  detailed  description  (chapters  3  and  4),  using
  151.          primitives, of the services provided by TC. The reader interested  in  the  first
  152.          aspect only may read the first two chapters only; chapters 3 and on contain  more
  153.          detailed information.
  154.          1.3    Objectives
  155.          1.3.1  Definition of Transaction Capabilities
  156.                The overall objective of Transaction Capabilities is to provide  the  means
  157.          for the transfer of information between nodes, and to provide generic services to
  158.          applications, while being independent of any of these.
  159.          1.3.2  Scope of Transaction Capabilities
  160.                Transaction Capabilities in a Signalling System No.  7  network  should  be
  161.          considered for use between:
  162.                1)  exchanges
  163.                2)  an exchange and a network service centre (e.g. data base,  specialized
  164.                   facility unit, OA&M Centre).
  165.                3)  network service centres.
  166.                The following applications have been recognized as TC-users:
  167.                -   mobile service application (e.g. location of roamers)
  168.                -   registration, activation  and  invocation  of  supplementary  services
  169.                   involving specialized facility units  (e.g.  freephone  service  credit
  170.                   card service)
  171.                -   non circuit control-related exchange of signalling  information  (e.g.
  172.                   closed user group, look-ahead procedure)
  173.                -   operation and maintenance applications (e.g. query/response, bulk data
  174.                   transfer).
  175.                This list is not exhaustive.
  176.                These applications can be classified into two broad categories:
  177.                -   real-time sensitive, with small amounts of data to be transferred
  178.                -   less real-time sensitive, with possibly large amounts of  data  to  be
  179.                   transferred.
  180.                A more precise definition of the  boundary  between  these  two  categories
  181.          requires further study. A given application is not compelled to  belong  to  only
  182.          one of these categories.
  183.                TC services offered to applications in the first category are  based  on  a
  184.          connectionless network service.  They  are  introduced  in  S  2.3,  and  further
  185.          described in chapter 3 of this Recommendation.
  186.                TC services offered to applications in the second category are based  on  a
  187.          connection-oriented network service. They are introduced in S  2.4,  and  further
  188.          described in chapter 4 of this Recommendation.
  189.                The mechanism for selecting a category is for further study.
  190.          2      Overview
  191.          2.1    Terminology
  192.                The  following  terms   are   used   throughout   the   Q.77x   Series   of
  193.          Recommendations and are defined in the Signalling System No. 7 glossary: class of
  194.          operation;  component  correlation;  component  portion;  dialogue;   information
  195.          element; Intermediate Service Part; linked operation; operation;  reply;  result;
  196.          tag; transaction; Transaction Capabilities; Transaction Capabilities  Application
  197.          Part; transaction portion.
  198.          2.2    Structure of TC
  199.          2.2.1  Architectural concepts
  200.                The OSI protocol reference model (Recommendation X.200) is  used  to  model
  201.          TC.
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.                                                         Fascicle VI.9 - Rec. Q.771   PAGE3
  215.  
  216.                From an end-user point of  view,  Transaction  Capabilities  for  initially
  217.          planned services lie within the Network layer of  the  OSI  model.  Provision  of
  218.          network layer services to end-users requires communication  between  TC-users  at
  219.          various network nodes; these intra-network communications may in turn be modelled
  220.          using the 7-layer reference model of OSI.
  221.                TCAP is structured in two sub-layers:
  222.                -   the component sub-layer, which deals with individual actions or  data,
  223.                   called components
  224.                -   the transaction sub-layer, which deals with the exchange  of  messages
  225.                   cotaining components between two TC-users.
  226.                This is illustrated by Figure 3/Q.771.
  227.                                       Fig. 3/Q.771 /T1106271-88 = 8 cm
  228.  
  229.          2.2.2  Addressing issues
  230.                When TC uses the Signalling System No. 7 network  service,  the  addressing
  231.          options supported by the SCCP are used.
  232.                When other  network  layer  service  providers  are  used,  the  addressing
  233.          options supported by these providers will be used; further study on this area  is
  234.          required.
  235.          2.2.3  Management aspects
  236.                For further study.
  237.          2.2.4  Alignment of TCAP with X.219 and X.229 (ROSE)
  238.                The  Component  sub-layer  of  TCAP  is  in  partial  alignment  with   the
  239.          capabilities of the Remote Operation Service Element (ROSE). The  current  status
  240.          of TCAP and ROSE alignment is on the basis  of  protocol  alignment,  namely  the
  241.          X.229 protocol is contained within the TCAP component protocol. In addition,  the
  242.          Component sub-layer includes some extensions to ROSE. Service  alignment  on  the
  243.          primitive interface to TC/ROSE users is for further study.
  244.                The X.219 Remote Operation Service provides  five  classes  of  operations.
  245.          Class 1 is synchronous, reporting both success and failure. Classes 2  to  5  are
  246.          asynchronous and correspond to the TCAP operation classes 1 to 4.  TCAP  has  not
  247.          adopted ROSE class 1 (synchronous), because the full-duplex mode of operation  is
  248.          used in TCAP. TC-users may use the TCAP operation class 1 in a  synchronous  mode
  249.          if appropriate. Further details are given in Recommendation Q.775.
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.          PAGE32  Fascicle VI.9 - Rec. Q.771
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.                2.3    TC Based on a Connectionless Network Service
  293.          2.3.1  Architecture
  294.                This chapter defines a class of  TC  services  based  on  a  connectionless
  295.          network service, in this case, no functionality is provided by the ISP, and  TCAP
  296.          interfaces directly with the SCCP, as represented on Figure 4/Q.771.
  297.                The class of TC services is selected by the  TC-user  on  the  basis  of  a
  298.          Quality of Service parameter.
  299.                                     Fig.  4/Q.771 /T1106300-87 =  7.5 cm
  300.  
  301.          2.3.2  Service Provided by the Component Sub-layer
  302.          2.3.2.1   Component
  303.                A component consists of a request to perform an operation, or a reply.
  304.                An operation is an action to be performed by the remote end.  It  may  have
  305.          associated parameters. An invocation of an operation is identified by a component
  306.          ID; this allows several invocations of the same or  different  operations  to  be
  307.          active simultaneously.
  308.                One or more replies may be sent to an operation.
  309.                The  ability  for  TC-users  to  exchange  components  which  are   neither
  310.          operation invocations, nor replies, is for further study.
  311.                Components are passed individually between  a  TC-user  and  the  Component
  312.          sub-layer. The originating TC-user may send several components to  the  Component
  313.          sub-layer before these are transmitted (in a single message) to the  remote  end.
  314.          Whenever several components are  received  in  a  single  message,  each  one  is
  315.          delivered individually to the destination TC-user.
  316.                Components in a message are delivered to the remote  TC-user  in  the  same
  317.          order as they are provided at the originating interface. The  importance  of  the
  318.          order is by prior agreement between the TC-users involved.
  319.          2.3.2.2   Dialogue
  320.                Successive components exchanged between two TC-users in  order  to  perform
  321.          an application constitute a dialogue. The Component sub-layer  provides  dialogue
  322.          facilities, allowing several dialogues to  run  concurrently  between  two  given
  323.          TC-users.
  324.                Two kinds of facilities are provided: unstructured and structured.
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.                                                         Fascicle VI.9 - Rec. Q.771   PAGE3
  358.  
  359.                2.3.2.2.1     Unstructured dialogue
  360.                TC-users send components that do not  expect  replies  without  forming  an
  361.          explicit association between themselves. This is referred to as the  unstructured
  362.          dialogue case. The implicit association always exists between  the  communicating
  363.          TC-users. When one TC-user sends a  unidirectional  message  to  its  peer,  this
  364.          indicates use of the unstructured dialogue  facility.  A  TC-user  may  have  any
  365.          number of operations active at any given time, the maximum number is dependent on
  366.          the unique invoke IDs available to it at any time.
  367.                When a TC-user is a receiver of a unidirectional  message,  if  a  protocol
  368.          error is to be reported, it is also returned in a unidirectional message.
  369.          2.3.2.2.2     Structured dialogue
  370.                Alternatively, TC-users indicate the beginning,  or  the  formation  of  an
  371.          association, the continuation, and the end of a dialogue; this is referred to  as
  372.          a structured dialogue. Using a structured dialogue allows  two  TC-users  to  run
  373.          several dialogues concurrently, each being identified by  a  particular  dialogue
  374.          ID. Each dialogue  ID  has  a  separate  invoke  ID  name  space,  thus  allowing
  375.          duplication of invoke  IDs  in  different  dialogues.  In  sequence  delivery  of
  376.          messages may be provided by means of application protocols,  or  by  use  of  the
  377.          appropriate class of service.
  378.                When using the structured dialogue service, the  TC-user  has  to  indicate
  379.          one of the following three possibilities when sending a  component  to  its  peer
  380.          entity:
  381.                i)  a dialogue begins;
  382.                ii) a dialogue continues: full-duplex exchange of components is possible;
  383.                iii)   a dialogue ends: the sending side will not  send  more  components,
  384.                   nor will it accept any more components from the remote end.
  385.          2.3.2.3   Component Correlation
  386.                The Component sub-layer provides the following facilities:
  387.                a)  association of operations and replies
  388.                   The value of the invoke ID, which identifies  an  operation  invocation
  389.                   without ambiguity, is returned in a reply to that invocation.
  390.                   Four classes of operations are considered:
  391.                   -   class 1: both success and failure are reported
  392.                   -   class 2: only failure is reported
  393.                   -   class 3: only success is reported
  394.                   -   class 4: neither success, nor failure is reported.
  395.                   The replies to an operation consist of one or  more  components.  Where
  396.                   necessary, the TC-user provides segmentation of a successful result. In
  397.                   addition, any number of linked operations may be sent prior to the last
  398.                   component of the reply.
  399.                   Any kind of component, except a  reject  component,  may  be  rejected.
  400.                   Rejection  of  a  result  causes  termination  of   the   corresponding
  401.                   operation;  rejection  of  a  linked  operation  does  not  affect  the
  402.                   linked-to operation.
  403.                   A TC-user may cancel an operation which it has previously  invoked.  No
  404.                   reply for this invocation will be accepted afterwards.
  405.                   The last component may be:
  406.                   -   a return result indicating success
  407.                   -   a return error indicating operation failure
  408.                   -   a reject indicating a syntax error.
  409.                b)  abnormal situations handling
  410.                   The Component sub-layer covers  a  number  of  abnormal  situations  in
  411.                       relation with a component:
  412.                   -   component reject: when the Component sub-layer receives a malformed
  413.                       component, or a component which violates the rules of  exchange  of
  414.                       operations and replies, it informs the TC-user(s)
  415.                   -   operation expiry: when the Component sub-layer detects that a class
  416.                       1, 2 or 3 operation has not  received  a  final  reply  after  some
  417.                       amount of time (which depends on the operation),  it  releases  the
  418.                       corresponding invoke ID and informs the  TC-user.  Note  that  this
  419.                       situation is abnormal only in the case  of  a  class  1  operation.
  420.                       Application of this to class 4 operations is a local matter.
  421.          2.3.2.4   Error handling
  422.                When the Component sub-layer is informed of a situation which  prevents  it
  423.          from providing the service expected by the TC-users, it will notify the  TC-user,
  424.  
  425.  
  426.  
  427.  
  428.          PAGE32  Fascicle VI.9 - Rec. Q.771
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.          and may terminate the peding operations.
  436.                A TC-user may also decide to abort a dialogue, which puts  an  end  to  any
  437.          pending operation.
  438.          2.3.3  Service provided by the Transaction Sub-layer
  439.                The Transaction sub-layer provides  the  capability  for  the  exchange  of
  440.          components  between  TR-users.  The  transaction  sub-layer  also  provides   the
  441.          capability to send transaction messages between peer TR-layer entities  by  means
  442.          of the services provided by the lower layer network services. The  only  foreseen
  443.          TS-user for the moment is the component  sub-layer.  Two  types  of  service  are
  444.          provided:
  445.          2.3.3.1   Unstructured dialogue
  446.                There  is  no  explicit  initiation,  or  termination  associated  with  an
  447.          unstructured  dialogue.  The  only  facility  provided  to  the  TC-user  is  the
  448.          capability to send  one,  or  several  components  that  do  not  expect  replies
  449.          (invocation of class 4 operations) grouped in a  unidirectional  message  to  the
  450.          remote TR-user.
  451.                At the originating side, the TC-user indicates the components  to  be  sent
  452.          in a unidirectional message by means of primitives of the request type containing
  453.          a unique dialogue ID. When the TC-user issues a TC-UNI request primitive with the
  454.          same dialogue ID, all the components with the same dialogue ID are sent  as  user
  455.          data to the transaction sub-layer  by  means  of  the  TR-UNI  primitive  by  the
  456.          component  sub-layer.  At  the   transaction   sub-layer   message   level,   the
  457.          unidirectional message does not contain any transaction ID thereby  providing  no
  458.          association between messages of this type. The dialogue ID  is  used  to  send  a
  459.          group of components in a UNI message to a particular destination address.
  460.          2.3.3.2   Structured dialogue
  461.                The structured dialogue facility allows a  TC-user  to  start  a  dialogue,
  462.          exchange components within this dialogue, terminate it, or abort it.
  463.                Each TR-user identifies a transaction by a  separate  transaction  ID.  The
  464.          following facilities are provided:
  465.                -   transaction begin: the beginning of a transaction between two TR-users
  466.                   causes a transaction ID  to  be  allocated  to  this  transaction,  and
  467.                   permits sending TR-user information  to  the  destination  TR-user.  In
  468.                   response to transaction begin, the destination TR-user may continue the
  469.                   transaction, or end it.
  470.                -   transaction continuation:  allows  full-duplex  exchange  of  messages
  471.                   between TR-users inside a transaction.
  472.                -   transaction end: release the associated transaction ID, and puts an end 
  473.                   to the exchange of messages inside  this  transaction.  Either  of  the
  474.                   TR-users may decide to end a transaction. There are three ways for  the
  475.                   TR-user to terminate a transaction:
  476.                   1)  prearranged end: a convention exists between the TR-users; each  of
  477.                       them may decide to terminate  the  transaction  without  having  to
  478.                       inform the peer TR-user, which will take a similar decision on  its
  479.                       own
  480.                   2)  basic end: it informs the peer TR-user,  possibly  sending  TR-user
  481.                       information to it.
  482.                   3)  transaction abort: causes the abandonment of  any  message  of  the
  483.                       transaction for which transmission or delivery is pending, and ends
  484.                       the  transaction.  The  reason  for  aborting  the  transaction  is
  485.                       indicated to the remote TR-user.
  486.                -   if, for some reason, no response of any kind is received to transaction 
  487.                   begin, the Transaction sub-layer will eventually abort this transaction
  488.                   and inform the TR-user. This is a local option.
  489.                -   transaction abort  by  TCAP:  whenever  one  of  a  list  of  abnormal
  490.                   situations is detected, the Transaction sub-layer decides to abort  the
  491.                   corresponding transaction and informs the TR-users.
  492.                -   exception reporting: the Transaction sub-layer may report to  TR-users
  493.                   abnormal situations of which it is notified by the underlying layer.
  494.                When the TR-user is the Component sub-layer:
  495.                a)  there is a one-to-one mapping between a dialogue and a transaction,
  496.  
  497.  
  498.  
  499.  
  500.                                                         Fascicle VI.9 - Rec. Q.771   PAGE3
  501.  
  502.                  b)  a message may contain zero, one or more components, within the  limits
  503.                      of the message size supported by the underlying layer.
  504.           2.4    TC Based on a connection-oriented network service
  505.                 For further study.
  506.           3      Service provided by TC based on a connectionless network service
  507.           3.1    Component Sub-layer
  508.           3.1.1  Overview of Component Sub-layer primitives
  509.                 Tables 1/Q.771 and 2/Q.771 give an overview of the primitives  to/from  the
  510.           TC-users, and contain references to the sections  of  this  Recommendation  where
  511.           these primitives are described in detail.
  512.                 Table 1/Q.771 shows the TC-primitives relating to  dialogue  handling.  The
  513.           purpose of  these  primitives  is  to  request  or  indicate  facilities  of  the
  514.           underlying  (sub)-layer,  in  relation  with  message  transmission  or  dialogue
  515.           handling. When the Transaction Sub-layer is used to support the  dialogue,  these
  516.           primitives map onto TR-primitives with the same generic name, as there is  a  one
  517.           to one relationship between a dialogue and a transaction.
  518.                                                  TABLE 1/Q.771
  519.                                        Primitives for dialogue handling
  520.                                       Name                                Type       Section
  521.            TC-UNI                                                       Request      3.1.2.2.1
  522.                                                                   Indication   
  523.            TC-BEGIN                                                     Request      3.1.2.2.2.1
  524.                                                                   Indication   
  525.            TC-CONTINUE                                                  Request      3.1.2.2.2.2
  526.                                                                   Indication   
  527.            TC-END                                                       Request      3.1.2.2.2.3
  528.                                                                   Indication   
  529.            TC-U-ABORT                                                   Request      3.1.2.2.2.3
  530.                                                                   Indication   
  531.            TC-P-ABORT                                                   Indication   3.1.4.2
  532.                 -   TC-UNI: requests/indicates an unstructured dialogue.
  533.                 -   TC-BEGIN: begins a dialogue.
  534.                 -   TC-CONTINUE: continues a dialogue.
  535.                 -   TC-END: ends a dialogue.
  536.                 Each of the previous primitives causes any component(s)  previously  passed
  537.           on the interface for the referenced dialogue to be delivered to  the  remote  end
  538.           (except TC-END with prearranged end).
  539.                  -   TC-U-ABORT: allows a TC-user to terminate a dialogue abruptly, without
  540.                      transmitting any pending components.
  541.                  -   TC-P-ABORT: informs the TC-user that the dialogue has been  terminated
  542.                      by the service provider (i.e. TC Transaction sub-layer) in reaction  to
  543.                      a  transaction  abort  by  the  Transaction  sub-layer.   Any   pending
  544.                      components are not transmitted.
  545.                 Table 2/Q.771 shows the TC-primitives  for  component  handling.  The  main
  546.           purpose of these primitives is to handle operations and replies; these primitives
  547.           do not as such require facilities from the underlying (sub)-layer.
  548.                                                  TABLE 2/Q.771
  549.                                        Primitives for component handling
  550.                                       Name                             
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.           PAGE32  Fascicle VI.9 - Rec. Q.771
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.                                                                           Type         Section
  579.          TC-INVOKE                                                    Request        3.1.3.2
  580.                                                                       Indication    
  581.          TC-RESULT-L                                                  Request        3.1.3.3
  582.                                                                       Indication    
  583.          TC-RESULT-NL                                                 Request        3.1.3.3
  584.                                                                       Indication    
  585.          TC-U-ERROR                                                   Request        3.1.3.4
  586.                                                                       Indication    
  587.          TC-L-CANCEL                                                  Indication     3.1.3.6
  588.          TC-U-CANCEL                                                  Request        3.1.3.6
  589.          TC-L-REJECT                                                  Indication     3.1.4.1
  590.          TC-R-REJECT                                                  Indication     3.1.4.1
  591.          TC-U-REJECT                                                  Request        3.1.3.5
  592.                                                                       Indication    
  593.                   -   TC-INVOKE: invocation of an operation, which may be linked to another 
  594.                   operation invocation
  595.                -   TC-RESULT-L: only result or last part of the  segmented  result  of  a
  596.                   successfully executed operation
  597.                -   TC-RESULT-NL: non-final part of the segmented result of a successfully
  598.                   executed operation
  599.                -   TC-U-ERROR: reply to a previously invoked operation,  indicating  that
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.                                                         Fascicle VI.9 - Rec. Q.771   PAGE3
  644.  
  645.                the operation execution failed
  646.                -   TC-L-CANCEL: informs the TC-user locally that an operation  invocation
  647.                   is terminated due to a timeout condition
  648.                -   TC-U-CANCEL: causes local termination of an operation invocation, as a
  649.                   consequence of a TC-user decision
  650.                -   TC-L-REJECT: (local reject) informs the local TC-user that a Component
  651.                   sub-layer detected invalid component was received
  652.                -   TC-R-REJECT: (remote reject) indicates that TCAP detected  an  invalid
  653.                   component
  654.                -   TC-U-REJECT: rejection of a component by  the  TC-user,  indicating  a
  655.                   malformation which prevents the operation from being executed,  or  the
  656.                   reply from being understood
  657.                The various primitives associated with component and dialogue handling  are
  658.          described with their parameters. The following notation is used:
  659.                (M)     indicates a mandatory parameter
  660.                (O)     indicates an optional parameter
  661.                FS      indicates that further study is required
  662.                A blank indicates that the parameter is not applicable
  663.                (=)     indicates that the parameter must have the same value in a request
  664.                       primitive and in the corresponding indication primitive.
  665.                This notation applies throughout this Recommendation.
  666.          3.1.2  Dialogue Handling
  667.                Dialogue handling  provides  facilities  for  the  exchange  of  components
  668.          within a dialogue.
  669.          3.1.2.1   Definition of Parameters
  670.                This section defines the parameters used  with  the  primitives  associated
  671.          with dialogue handling.
  672.                Address parameters: two  address  parameters  are  used:  the  "Destination
  673.          Address" and the "Originating  Address"  parameters.  These  parameters  identify
  674.          respectively the destination and originating TC-user.
  675.                "Components Present": indicates whether any components  will  be  received;
  676.          when no component is being transmitted, it indicates  that  the  list  is  empty,
  677.          other wise it indicates a sequence  (see  S  3.1.3.8)  of  components  which  are
  678.          associated  with  the  dialogue  handling  primitive.  The  "Components  Present"
  679.          parameter is used in primitives of the indication type only.
  680.                "Dialogue ID": this  parameter  also  appears  in  the  component  handling
  681.          primitives, and is used  to  associate  components  with  a  dialogue.  The  same
  682.          dialogue ID must be used within the same dialogue, or a unidirectional primitive.
  683.          In a unidirectional primitive the same dialogue ID assures  all  components  with
  684.          the identical dialogue ID are blocked together in the same unidirectional message
  685.          destined for the same destination address. For structured dialogues, the dialogue
  686.          ID is used to identify all the components belonging to the same dialogue from the
  687.          beginning of the dialogue to its end. The dialogue ID maps onto the IDs exchanged
  688.          in the messages between a pair of nodes.
  689.                "P-ABORT":  contains  information  indicating  the  cause  for  which  TCAP
  690.          decides to abort a dialogue.
  691.                "Parameters": contains the parameter(s) to be sent to  the  remote  TC-user
  692.          in association with an operation invocation, a reply, or a dialogue  abort.  This
  693.          information is not analysed by TCAP.
  694.                "Quality of Service": the  TC-user  indicates  the  acceptable  quality  of
  695.          service. The default value  of  this  parameter  corresponds  to  the  underlying
  696.          service defined in S 3.4. Other Quality of service is for further study.
  697.                "Termination": indicates which scenario is chosen by the  TC-user  for  the
  698.          end of the dialogue (prearranged or basic).
  699.                "User Abort Information": the TC-user may include information related to  a
  700.          TC-user-initiated abort.
  701.          3.1.2.2   Dialogue facilities
  702.                The dialogue facilities allow a TC-user to exchange components with a  peer
  703.          TC-user to perform a distributed application. The unidirectional message facility
  704.          may be used to send class 4 operation invocations and reports of protocol  errors
  705.          in these invocations from either TC-user  using  an  unstructured  dialogue.  The
  706.          structured dialogue facilities provide the capability to  explicitly  initiate  a
  707.          transaction, exchange components within the dialogue, terminate it, or abort it.
  708.          3.1.2.2.1 Unstructured dialogue
  709.                There is no initiation  or  termination  associated  with  an  unstructured
  710.  
  711.  
  712.  
  713.  
  714.          PAGE32  Fascicle VI.9 - Rec. Q.771
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.           dialogue; the only facility provided is the request for transmission of  one,  or
  722.           several components invoking class 4 operations or reporting  protocol  errors  in
  723.           these invocations, grouped in a message to the remote TC-user.
  724.                 Components to be transmitted have been previously passed to  the  component
  725.           sub-layer by means of component handling primitives of the "request" type.
  726.                 The use of the unstructured dialogue facility is  indicated  by  issuing  a
  727.           TC-UNI primitive, as described in Table 3/Q.771.
  728.                At the originating side, a TC-UNI request primitive is  issued
  729.           to request transmission to the remote TC-user of all the components
  730.           which have been passed to the component  sub-layer  with  the  same
  731.           dialogue ID.
  732.                At the receiving side, the  destination  TC-user  is  informed
  733.           that one or more component(s) have been  received  by  means  of  a
  734.           TC-UNI indication primitive. The parameters in this primitive apply
  735.           to  all  the  components  being  received;  these  components  will
  736.           actually be delivered by means of component handling primitives  of
  737.           the indication type.
  738.                                                  TABLE 3/Q.771
  739.                                                TC-UNI Primitives
  740.  
  741.                                                                    Primitive: TC-UNI
  742.                           Parameter                        Request               Indication
  743.            Quality of service                                  FS            
  744.            Destination address                                 M                     M a)
  745.            Originating address                                M a)                   M (=)
  746.            Dialogue ID                                        M b)           
  747.            Components present                                  M                    M (=)
  748.  
  749.           a)  This parameter may be implicitly associated with the access point at which the 
  750.           primitive is issued.
  751.           b)  This parameter has only local significance.
  752.           3.1.2.2.2     Structured dialogue
  753.                 The structured dialogue facility allows a  TC-user  to  start  a  dialogue,
  754.           exchange components within this dialogue, terminate it, or abort it. It  provides
  755.           for Transaction IDs in the transaction messages that provide a unique association
  756.           among the related transaction messages.
  757.           3.1.2.2.2.1   Beginning of a dialogue
  758.                 A TC-user begins a new dialogue by issuing a  TC-BEGIN  request  primitive.
  759.           The purpose of this primitive is:
  760.                  -   to indicate to the Component sub-layer that  a  new  dialogue  starts,
  761.                      identified by the Dialogue ID parameter of the primitive;
  762.                  -   to request transmission of any component(s) previously passed  to  the
  763.                      Component sub-layer by means of component handling  primitives  of  the
  764.                      "request" type with the same Dialogue ID.
  765.                 A TC-BEGIN request primitive may be issued prior to passing  any  component
  766.           to the Component sub-layer.
  767.                 At the receiving side, the destination  TC-user  is  informed  that  a  new
  768.           dialogue starts by means of a TC-BEGIN  indication  primitive.  The  presence  of
  769.           component(s) is indicated by the Components Present.
  770.                 Table 4/Q.771 describes the TC-BEGIN primitives.
  771.                                                  TABLE 4/Q.771
  772.                                               TC-BEGIN Primitives
  773.                                                               Primitive: TC-BEGIN
  774.                         Parameter               
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.                                                          Fascicle VI.9 - Rec. Q.771   PAGE3
  787.  
  788.                                                         Request                 Indication
  789.            Quality of service                              FS                       FS
  790.            Destination address                              M                       M a)
  791.            Originating address                             M a)                     M (=)
  792.            Dialogue ID                                      M                        M
  793.            Components present                               M              
  794.           a)  This parameter may be implicitly associated with the access point at which the 
  795.           primitive is issued.
  796.           3.1.2.2.2.2   Dialogue continuation
  797.                 A TC-user indicates that it wants to  continue  a  dialogue  by  issuing  a
  798.           TC-CONTINUE request  primitive.  This  primitive  requests  transmission  of  any
  799.           component(s) that have been passed to the Component sub-layer for this  dialogue,
  800.           since the last TC-BEGIN or TC-CONTINUE request  primitive  was  issued  for  this
  801.           dialogue.
  802.                 At the receiving side, the TC-CONTINUE indication primitive indicates:
  803.                  -   that the dialogue may continue
  804.                  -   that  components  are  being  delivered  (if  the  Components  Present
  805.                      parameter does not indicate "empty").
  806.                 Table 5/Q.771 describes the TC-CONTINUE primitives.
  807.                                                  TABLE 5/Q.771
  808.                                             TC-CONTINUE Primitives
  809.  
  810.                                          Primitive: TC-CONTINUE
  811.                     Parameter                       Request                      Indication
  812.           Dialogue ID                                  M                              M
  813.           Components present             
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.           PAGE32  Fascicle VI.9 - Rec. Q.771
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.                                                                                      M
  865.                3.1.2.2.2.3   End of a dialogue
  866.                Three scenarios are provided to TC-users to end a dialogue:
  867.                -   prearranged end
  868.                -   basic end
  869.                -   abort by the TC-user.
  870.                Dialogue  ending  uses  the  TC-END  request  and   indication   primitives
  871.          described in Table 6/Q.771. The TC-END request primitive indicates which scenario
  872.          is being used for the dialogue.
  873.                                                 TABLE 6/Q.771
  874.                                               TC-END Primitives
  875.  
  876.                                                               Primitive: TC-END
  877.                    Parameter                       Request                      Indication
  878.          Dialogue ID                                   M                              M
  879.          Components present                                                           M
  880.          Termination                                   M                
  881.  
  882.                a)  prearranged end
  883.                   In this scenario, TC-users have decided by prior  arrangement  when  to
  884.                   end the dialogue: the effect of the TC-END primitive is  purely  local;
  885.                   no TC-END indication is used.
  886.                   No component can be sent or received for the dialogue once  the  TC-END
  887.                   request primitive has been issued.
  888.                b)  basic end
  889.                   In this  scenario,  the  ending  causes  transmission  of  any  pending
  890.                   components at the side which initiates  it.  Note,  however,  that  any
  891.                   components for which transmission  would  be  pending  in  the  reverse
  892.                   direction will not be delivered.
  893.                   The basic scenario uses the TC-END primitives for two purposes:
  894.                   -    delivery  of  any  component(s)  that  has  been  passed  to   the
  895.                       Transaction sub-layer, and for which transmission is pending
  896.                   -   indication that no more  components  will  be  exchanged  for  this
  897.                   dialogue in either direction.
  898.                c)  abort of a dialogue by a TC-user
  899.                   The TC-user has the ability to request immediate ending of  a  dialogue
  900.                   without taking into account any pending operation  invocation  (abort).
  901.                   When  doing  so,  the  TC-user  may  provide  end  to  end  information
  902.                   indicating the cause of the  abort  and  diagnostic  information;  this
  903.                   information is transported by TCAP without analysis.
  904.                The TC-U-ABORT request and  indication  primitives  are  used  to  indicate
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.                                                         Fascicle VI.9 - Rec. Q.771   PAGE3
  930.  
  931.           abort by the TC-user; Table 7/Q.771 describes these primitives.
  932.                                                  TABLE 7/Q.771
  933.                                              TC-U-ABORT Primitives
  934.  
  935.                                                            Primitive: TC-U-ABORT
  936.                     Parameter                       Request                      Indication
  937.           Dialogue ID                                   M                              M
  938.           User abort information                        O                            O (=)
  939.                  3.1.3  Component Handling
  940.           3.1.3.1   Definition of Parameters
  941.                 This section defines the parameters used  with  the  primitives  associated
  942.           with component handling.
  943.                 "Class": see S 2.3.2.3.
  944.                 "Dialogue ID": relates components to a specific dialogue.
  945.                 "Invoke ID": identifies an operation invocation.
  946.                 "Linked  ID":  links  an  operation  invocation  to  a  previous  operation
  947.           invocation.
  948.                 "Error": contains information provided by the  TC-user  when  an  operation
  949.           returns failure. This information is not analysed by TCAP.
  950.                 "Last Component": is used in primitives of the "indication" type  only,  to
  951.           designate the last component of a message. Note that indication of the last  part
  952.           of the result of an operation is via the name of the primitive.
  953.                 "Operation": identifies the action to be executed by a TC-user  on  request
  954.           of another TC-user.
  955.                 "Parameters":  contains  any  parameters  accompanying  an  operation,   or
  956.           provided in reply to an operation.
  957.                 "Problem Code": identifies the cause for rejecting a component.
  958.                 "Timeout": indicates the maximum lifetime of a component ID. It is used  to
  959.           handle cases where operations do not receive any expected reply.
  960.           3.1.3.2   Operation Invocation
  961.                 An operation invocation is requested to the Component  sub-layer  by  means
  962.           of a TC-INVOKE request primitive. When this invocation is linked  to  a  previous
  963.           operation, the Linked ID parameter is used.
  964.                 A  corresponding  TC-INVOKE  indication  primitive  is  used  to   indicate
  965.           operation activation to the destination TC-user.
  966.                 Table 8/Q.771 shows the primitives associated with operation invocation.
  967.                                                  TABLE 8/Q.771
  968.                                         Operation invocation primitives
  969.  
  970.                                                            Primitive: TC-INVOKE
  971.                     Parameter                       Request                      Indication
  972.           Dialogue ID                                   M                             M a)
  973.           Invoke ID                                     M                            M (=)
  974.           Linked ID                                     O                            O (=)
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.           PAGE32  Fascicle VI.9 - Rec. Q.771
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.           Operation                                     M                            M (=)
  1008.           Parameters                                    O                            O (=)
  1009.           Last component                                M                
  1010.           Timeout                                       M                
  1011.  
  1012.           a)  Mandatory except for invocation of class 4 operation received in a unidirectional 
  1013.           message.
  1014.           3.1.3.3   Report of success
  1015.                 Success is reported to indicate that an operation (of class  1  or  3)  has
  1016.           been executed by the remote TC-user. The operation is identified in the Invoke ID
  1017.           parameter.  Several  replies  may  be  used  to  report  success.  The  following
  1018.           primitives are used:
  1019.                  -   TC-RESULT-L indicates the only or last segment of a result
  1020.                  -   TC-RESULT-NL indicates a segment of a result (with  more  segments  to
  1021.                      follow)
  1022.                 There is no limitation on the number of segments.
  1023.                 The  TC-RESULT-L  and  TC-RESULT-NL  primitives  are  described  in   Table
  1024.           9/Q.771. A primitive of the "request" type is used to  pass  a  result  from  the
  1025.           TC-user to the Component sub-layer; a primitive of the "indication" type is  used
  1026.           to deliver this result to the TC-user.
  1027.                                                  TABLE 9/Q.771
  1028.                                          Report of success primitives
  1029.  
  1030.                                                                  Primitive
  1031.                     Parameter                     TC-RESULT-L                    TC-RESULT-L
  1032.                                                   TC-RESULT-NL                  TC-RESULT-NL
  1033.                                                      Request                      Indication
  1034.           Dialogue ID                                   M                              M
  1035.           Invoke ID                                     M                            M (=)
  1036.           Parameters                                    O                            O (=)
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.                                                          Fascicle VI.9 - Rec. Q.771   PAGE3
  1073.  
  1074.           Last component                                M                
  1075.                  3.1.3.4   Report of failure
  1076.                 A TC-user receiving a (class 1 or 2) operation  which  it  cannot  execute,
  1077.           though it "understands" it, will issue a TC-U-ERROR request primitive, indicating
  1078.           the reason of the failure  (Error  parameter).  The  corresponding  operation  is
  1079.           identified by the Invoke ID parameter.
  1080.                           The TC-user which invoked this operation is informed by a TC-U-ERROR indication primitive.
  1081.                Table 10/Q.771 describes the TC-U-ERROR primitives.
  1082.                                                 TABLE 10/Q.771
  1083.                                          Report of failure primitives
  1084.  
  1085.                                                            Primitive: TC-U-ERROR
  1086.                     Parameter                        Request                      Indication
  1087.           Dialogue ID                                   M                              M
  1088.           Invoke ID                                     M                            M (=)
  1089.           Error                                         M                            M (=)
  1090.           Parameters                                    O                            O (=)
  1091.           Last component                                M                
  1092.           Note - Report of failure is a final reply.
  1093.           3.1.3.5   Reject by the TC-User
  1094.                 A TC-user may reject any component (except a  reject  component)  generated
  1095.           by its peer entity, which it considers incorrect. The cause for the rejection  is
  1096.           indicated in the Problem Code parameter; separate parameters  are  available  for
  1097.           the rejection of individual component types.
  1098.                 Any rejection of an invocation or a result terminates the  operation.  When
  1099.           a linked operation is rejected, the linked-to operation is not affected.
  1100.                 A  TC-user  rejects  a  component  by  means  of  the  TC-U-REJECT  request
  1101.           primitive, and is informed of rejection by the remote TC-user  by  means  of  the
  1102.           TC-U-REJECT  indication  primitive.  These  primitives  are  described  by  Table
  1103.           11/Q.771.
  1104.                                                TABLEAU 11/Q.771
  1105.                                            User rejection primitives
  1106.                                                           Primitive: TC-U-REJECT
  1107.                     Parameter            
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.           PAGE32  Fascicle VI.9 - Rec. Q.771
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.                                                     Request                      Indication
  1150.          Dialogue ID                                   M                             M a)
  1151.          Invoke ID                                     M                            M (=)
  1152.          Problem code                                  M                            M (=)
  1153.          Last component                                M                
  1154.          a)  Mandatory except for rejection of invocation of class 4 operation received in a 
  1155.          unidirectional message.
  1156.          3.1.3.6   Cancel of an Operation
  1157.                The cancel facility terminates the corresponding operation  invocation.  It
  1158.          can be requested either by the TC-user, or by the Component  sub-layer.  In  both
  1159.          cases, it has only local effect: no notification is sent to the remote end.
  1160.                The Component sub-layer uses the cancel  facility  to  inform  the  TC-user
  1161.          that the timer associated with a class 1, 2  or  3  operation  has  expired;  the
  1162.          TC-L-CANCEL indication primitive is used for this purpose. The timer is  run  for
  1163.          all classes, but the reporting for class 4 operations is a local matter.
  1164.                The TC-user uses the TC-U-CANCEL request  primitive  to  inform  the  local
  1165.          Component sub-layer of a cancel decision. No component is sent.
  1166.                Table 12/Q.771 describes the TC-CANCEL primitives.
  1167.                                                TABLE 12/Q.771
  1168.                                             TC-CANCEL Primitives
  1169.                                                                Primitive
  1170.                    Parameter               TC-U-CANCEL indication          TC-L-CANCEL request
  1171.          Dialogue ID                                   M                              M
  1172.          Invoke ID                                     M                              M
  1173.                3.1.3.7   Grouping of Components inside a Message
  1174.                A sequence of components is obtained by passing one or  several  components
  1175.          with a given Dialogue ID  to  the  Component  Sub-layer  between  two  successive
  1176.          requests for transmission (TC-BEGIN, TC-CONTINUE or TC-END  request  primitives),
  1177.          or before the first one (TC-BEGIN request), using the same Dialogue  ID,  or  the
  1178.          only request for transmission (i.e. TC-UNI).
  1179.                At the originating side, a list  of  components  is  delimited  by  TC-UNI,
  1180.          TC-BEGIN, TC-CONTINUE or TC-END request primitives.
  1181.                At the destination side, a sequence of components starts with  a  primitive
  1182.          indicating transmission; its end is indicated by the "Last  Component"  parameter
  1183.          of the primitives which deliver components to a TC-user. The "Components Present"
  1184.          parameter in the transmission primitive indicates whether the sequence is  empty,
  1185.          or not.
  1186.                Note - Components grouped inside a message are delivered to the remote  end
  1187.          in the same order as they are provided by the TC-user at the originating end.
  1188.          3.1.4  Abnormal situations
  1189.          3.1.4.1   Reject of a Component by the Component sub-layer
  1190.                When  detecting  that  a  received  component  is  invalid,  the  Component
  1191.          sub-layer notifies the local TC-user  by  means  of  the  TC-L-REJECT  indication
  1192.          primitive. This primitive  indicates  the  cause  of  the  reject  (Problem  Code
  1193.          parameter) with sufficient information  to  make  the  retention  of  the  failed
  1194.          component superfluous: whenever possible the Component Type and Component ID  are
  1195.          indicated; otherwise a "general problem" cause is indicated. This information  is
  1196.          passed to the TC-user, and also retained in the Component sub-layer which uses it
  1197.          to form a reject component.
  1198.                Any type of component can be rejected. When the component  to  be  rejected
  1199.          is itself identified as a reject component, rejection is purely local;  when  the
  1200.          rejected  component  is  identified  as  an  invoke  or  a  result,   the   whole
  1201.          corresponding operation  is  considered  as  terminated;  when  it  is  a  linked
  1202.          operation, this linked operation is terminated, but the  linked-to  operation  is
  1203.          not affected.
  1204.                When informed of a  Component  sub-layer  reject,  the  local  TC-user  may
  1205.          decide to continue the exchange of components.  If  so,  the  remote  TC-user  is
  1206.          informed through the reject component sent when the local TC-user issues the next
  1207.          dialogue handling primitive.
  1208.                If the Component  sub-layer  generated  reject  combined  with  accumulated
  1209.          components from the TC-user exceeds the  message  length  limitations,  then  the
  1210.  
  1211.  
  1212.  
  1213.  
  1214.                                                         Fascicle VI.9 - Rec. Q.771   PAGE3
  1215.  
  1216.          TC-user, being aware of the reject component, must initiate two dialogue handling
  1217.          primitives. The Component sub-layer, also being aware of the length problem, will
  1218.          send all the components, except the reject, with the first primitive. The  reject
  1219.          will be sent with the next dialogue handling primitive together with any  further
  1220.          components provided by the TC-user.
  1221.                Table  13/Q.771  describes  the  primitives  used  in  relation  with  TCAP
  1222.          component rejection.
  1223.                                                TABLE 13/Q.771
  1224.                                    Component sub-layer rejection primitive
  1225.  
  1226.                                                                Primitive
  1227.                    Parameter               TC-L-REJECT indication        TC-R-REJECT indication
  1228.          Dialogue ID                                   M                             M a)
  1229.          Invoke ID                                     O                              O
  1230.          Problem code                                  M                              M
  1231.          Last component                                M                
  1232.          a)  Mandatory except for rejection of invocation of a class 4 operation received in a 
  1233.          unidirectional message.
  1234.          3.1.4.2   Dialogue abort
  1235.                Due to an abnormal situation,  an  underlying  (sub-)layer  may  decide  to
  1236.          abort the association between users; the dialogue has then  to  be  aborted.  All
  1237.          associated operations are terminated, and the TC-users are notified by  means  of
  1238.          TC-P-ABORT indication primitives. The P-abort parameter contains  the  cause  for
  1239.          which it was decided to abort the dialogue.
  1240.                The Component sub-layer does not decide on dialogue abort.
  1241.                Table 14/Q.771 describes the TC-P-ABORT primitive.
  1242.                                                TABLE 14/Q.771
  1243.                                           Primitive for TCAP Abort
  1244.  
  1245.                                                         Primitive
  1246.                    Parameter                     TC-P-ABORT indication
  1247.          Dialogue ID                                        M
  1248.          P-abort                                            M
  1249.                3.1.5  Component states and state transition diagrams
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.          PAGE32  Fascicle VI.9 - Rec. Q.771
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.                For a given component ID, component correlation takes  place  only  at  the
  1293.          side which originates the operation; for this  ID,  component  states  and  state
  1294.          transition diagrams are defined at this side only. The other side  just  reflects
  1295.          the value of the component ID in an Invoke or a Linked ID.
  1296.                The following states are defined:
  1297.                -   Idle: no activity associated with the component ID
  1298.                -   Operation Pending: an operation  has  been  passed  to  the  Component
  1299.                   sub-layer, but no request for transmission has been issued
  1300.                -   Operation Sent: an operation has been transmitted to the  remote  end,
  1301.                   but no result has been received
  1302.                -   Wait for Reject: the result has been received; TCAP is waiting for its
  1303.                   possible rejection by the TC-user
  1304.                -   Reject pending: reject of the result has been requested by the TC-user, 
  1305.                   but no request for transmission has been issued.
  1306.                State transition diagrams are defined for the four classes of operations.
  1307.                Note 1 - Each of these diagrams corresponds to one component  ID:  the  one
  1308.          indicated in the Invoke ID parameter; linked operations do not  alter  the  state
  1309.          machine of the linked-to operation.
  1310.                Note 2 - TC-END request or indication  primitives,  TC-U-ABORT  request  or
  1311.          indication primitives, or the TC-P-ABORT indication primitive cause return to the
  1312.          "Idle" state of any component ID  associated  with  the  dialogue.  Corresponding
  1313.          transitions are not represented on the diagrams.
  1314.                                      Fig. 5/Q.771 /T113651-88 = 12.5 cm
  1315.  
  1316.  
  1317.                                       Fig. 6/Q.771 /T113661-88= 12.5 cm
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.                                                         Fascicle VI.9 - Rec. Q.771   PAGE3
  1358.  
  1359.  
  1360.                                      Fig. 7/Q.771 /T113671-88 = 12.5 cm
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.          PAGE32  Fascicle VI.9 - Rec. Q.771
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.                                       Fig. 8/Q.771 /T113681-88 = 9.5 cm
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.                                                         Fascicle VI.9 - Rec. Q.771   PAGE3
  1501.  
  1502.                3.1.6  Mapping of Component sub-layer onto Transaction sub-layer
  1503.                When mapping the Component sub-layer onto the Transaction sub-layer, a  one
  1504.          to one mapping exists between a dialogue and a transaction explicity in the  case
  1505.          of a structured dialogue, or implicitly in the case of an unstructured  dialogue.
  1506.          It follows that there is a one to  one  relationship  between  dialogue  handling
  1507.          primitives of the Component sub-layer and transaction handling primitives in  the
  1508.          Transaction sub-layer; similar generic names have been chosen for the  primitives
  1509.          to reflect this. The component handling primitives  of  the  Component  sub-layer
  1510.          have no counterpart in the Transaction sub-layer.
  1511.                The correspondence between the  two  sub-layers  is  further  described  in
  1512.          Recommendation Q.774.
  1513.          3.2    Transaction Sub-layer
  1514.          3.2.1  Overview of Transaction Sub-layer primitives
  1515.                Table 15/Q.771 gives an overview of the primitives  between  the  TR  users
  1516.          and the Transaction sub-layer. A detailed description  of  these  primitives  and
  1517.          their parameters is given  in  the  next  sections.  For  each  primitive,  Table
  1518.          15/Q.771 indicates the relevant section.
  1519.                                                TABLE 15/Q.771
  1520.                                   Primitives for the transaction sub-layer
  1521.  
  1522.                                      Name                                  Type        Section
  1523.          TR-UNI                                                          Request     3.2.2
  1524.                                                                         indication   
  1525.          TR-BEGIN                                                        Request     3.2.3
  1526.                                                                         indication   
  1527.          TR-CONTINUE                                                     Request     3.2.4
  1528.                                                                         indication   
  1529.          TR-END                                                          Request     3.2.5
  1530.                                                                         indication   
  1531.          TR-U-ABORT                                                      Request     3.2.5.3
  1532.                                                                         indication   
  1533.          TR-P-ABORT                                                     Indication   3.2.6.1
  1534.                Definition of the parameters:
  1535.                "Quality of Service":  the  TR-user  indicates  the  preferred  quality  of
  1536.          service. This is for further study.
  1537.                "Destination Address": identifies the destination TR-user.
  1538.                "Originating Address": identifies the originating TR-user.
  1539.                "P-abort": indicates the cause of the abort of a transaction by TCAP.
  1540.                "Reason": indicates the nature of an abnormal situation.
  1541.                "Transaction ID": a transaction is identified by a separate transaction  ID
  1542.          at each end.
  1543.                "Termination":  identifies  the  termination  scenario   chosen   for   the
  1544.          transaction (prearranged or basic).
  1545.                "User Abort Information": information related to a TR-user abort.
  1546.                "User Data": contains the information to be passed between TR-users.
  1547.          3.2.2  Information Transfer In Unstructured Dialogue
  1548.                Information may be  sent  from  one  TR-user  to  another  TR-user  without
  1549.          establishing an explicit association. In this  case,  the  transaction  sub-layer
  1550.          considers that there is no relationship among messages transmitted by this means.
  1551.                The  corresponding  primitives  are  the  TR-UNI  request  and   indication
  1552.          primitives, described in Table 16/Q.771.
  1553.                                                TABLE 16/Q.771
  1554.                                               TR-UNI Primitives
  1555.  
  1556.                                                            Primitive: TR-UNI
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.          PAGE32  Fascicle VI.9 - Rec. Q.771
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.                     Parameter                       Request                      Indication
  1579.           Quality of service                           FS                             -
  1580.           Destination address                           M                             M a)
  1581.           Originating address                          M a)                           M (=)
  1582.           User data                                     M                            M (=)
  1583.  
  1584.           a)  This parameter may be implicitly associated with the access point at which the 
  1585.           primitive is issued.
  1586.           3.2.3  Transaction begin
  1587.                 The transaction begin facility starts a transaction between  two  TR-users.
  1588.           This may be accompanied by the transfer of TR-user information (called user  data
  1589.           in the following).
  1590.                 In order to begin a transaction, a  TR-user  issues  the  TR-BEGIN  request
  1591.           primitive.
  1592.                 At the destination side, the  TR-BEGIN  indication  primitive  is  used  to
  1593.           inform the destination TR-user of the beginning of a transaction, and to  deliver
  1594.           any accompanying user data.
  1595.                 Table 17/Q.771 describes the transaction begin primitives.
  1596.                                                 TABLE 17/Q.771
  1597.                                        Primitives for transaction begin
  1598.  
  1599.                                                             Primitive: TR-BEGIN
  1600.                     Parameter                       Request                      Indication
  1601.           Quality of service                           FS                            FS
  1602.           Destination address                           M                             M a)
  1603.           Originating address                          M a)                           M (=)
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.                                                          Fascicle VI.9 - Rec. Q.771   PAGE3
  1644.  
  1645.           Transaction ID                                M                              M
  1646.           User data                                     O                            O (=)
  1647.  
  1648.           a)  This parameter may be implicitly associated with the access point at which the 
  1649.           primitive is issued.
  1650.                 Figure 9/Q.771 shows the transaction state transitions  during  transaction
  1651.           begin. The following states are introduced:
  1652.                  -   Idle (I): the transaction does not exist
  1653.                  -   Init Sent (IS): the transaction just started at the originating side
  1654.                  -   Init Received (IR): the transaction just started  at  the  destination
  1655.                      side.
  1656.  
  1657.                      TR-BEGIN req                                          TR-BEGIN ind
  1658.                  IS <----------------                 I                ----------------> IR
  1659.                                                                  
  1660.                                                 FIGURE 9/Q.771
  1661.                                     State transitions for transaction begin
  1662.           3.2.4  Transaction continuation
  1663.                 Transaction continuation allows two TR-users to exchange messages  in  both
  1664.           directions inside a transaction. The TR-CONTINUE primitives  are  used  for  this
  1665.           purpose. They are described by Table 18/Q.771.
  1666.                 The Transaction sub-layer does not provide segmentation/reassembly or  flow
  1667.           control.
  1668.                 State transitions associated with the continuation  of  a  transaction  are
  1669.           represented on Figure  10/Q.771,  where  state  A  (Active)  indicates  that  the
  1670.           transaction was accepted by the remote end, and the transaction can  be  used  to
  1671.           exchange messages in both directions.
  1672.                                                 TABLE 18/Q.771
  1673.                                       Transaction Continuation Primitives
  1674.  
  1675.                                                           Primitive: TR-CONTINUE
  1676.           ParameterC                                 Request                      Indication
  1677.           Transaction ID                                M                              M
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.           PAGE32  Fascicle VI.9 - Rec. Q.771
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.           User Data                                     O                            O (=)
  1722.                                        Fig. 10/Q.771 /T1113690-88 = 4 cm
  1723.  
  1724.           3.2.5  Transaction End
  1725.                 Three facilities are provided to a TR-user to end a transaction:
  1726.                  -   prearranged end
  1727.                  -   basic end
  1728.                  -   abort.
  1729.                 The first  two  facilities  use  the  TR-END  primitives;  the  Termination
  1730.           parameter indicates which option is selected. The TR-END primitives are described
  1731.           by Table 19/Q.771.
  1732.                 The last  facility  uses  the  TR-U-ABORT  primitives  described  by  Table
  1733.           20/Q.771.
  1734.                                                 TABLE 19/Q.771
  1735.                                                TR-END primitives
  1736.  
  1737.                                           Primitive: TR-END
  1738.                     Parameter                       Request                      Indication
  1739.           Transaction ID                                M                              M
  1740.           Termination                                   M                
  1741.           User data                                     O                            O (=)
  1742.                  3.2.5.1   Prearranged end
  1743.                 When prearranged end has been selected,  the  procedure  is  purely  local.
  1744.           Each TR-user may decide to end the transaction at any point in  time,  regardless
  1745.           of the current transaction state. The TR-END request primitive only is used:  the
  1746.           remote TR-user is not informed, and should request transaction end on its own.
  1747.                 The User Data parameter should not be present in this case.
  1748.                 Figure 11/Q.771 shows the transaction  state  transitions  for  prearranged
  1749.           end of a transaction. The states are those defined in 3.2.3 and 3.2.4 above.
  1750.                                        Fig. 11/Q.771 /T1113700-88 = 5 cm
  1751.  
  1752.           3.2.5.2   Basic end
  1753.                 When basic termination has been selected, the TR-user requests the  end  of
  1754.           the transaction by issuing the TR-END request primitive indicating  this  option;
  1755.           the primitive may then contain User Data which is sent to the peer entity.
  1756.                 At the destination side, the TR-END indication primitive is used to  inform
  1757.           the TR-user of the end of the transaction,  and  deliver  any  accompanying  User
  1758.           Data.
  1759.                 Figure 12/Q.771 shows the transaction state transitions for the  basic  end
  1760.           of transaction. The states are those defined in SS 3.2.3 and 3.2.4 above.
  1761.                                        Fig. 12/Q.771 /T1113710-88 = 5 cm
  1762.  
  1763.           3.2.5.3   Transaction Abort by the TR-user
  1764.                 A TR-user may request the abort of a transaction at  any  moment;  it  uses
  1765.           for this purpose the TR-U-ABORT request primitive, which may  optionally  contain
  1766.           the  cause  of  the  abort,  and/or  additional  end  to  end  information.  This
  1767.           information  is  contained  in  the  User  Abort  Information  parameter:  it  is
  1768.           transmitted without analysis to the peer entity. Any messages of the  transaction
  1769.           for which transmission is pending are discarded.
  1770.                 A TR-user is informed of the decision of  its  peer  entity  to  abort  the
  1771.           transaction by means of the TR-U-ABORT indication primitive.
  1772.                 TR-U-ABORT primitives are described by Table 20/Q.771.
  1773.                                                 TABLE 20/Q.771
  1774.                                              TR-U-ABORT Primitives
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.                                                          Fascicle VI.9 - Rec. Q.771   PAGE3
  1787.  
  1788.                                           Primitive: TR-U-ABORT
  1789.                     Parameter                       Reques                      Indication
  1790.           Transaction ID                                M                              M
  1791.           User Abort Information                        O                            O (=)
  1792.                  3.2.6  Abnormal situations
  1793.           3.2.6.1   Abort by the Transaction Sub-layer
  1794.                 The abort facility may be invoked by the Transaction sub-layer in  reaction
  1795.           to abnormal situations. The possible reasons for such a decision are indicated in
  1796.           Recommendation Q.774.
  1797.                 Transaction abort causes the abandonment of any message of the  transaction
  1798.           for which transmission is pending.
  1799.                 Transaction abort is made by means of the TR-P-ABORT  indication  primitive
  1800.           described by Table 21/Q.771.
  1801.                                                 TABLE 21/Q.771
  1802.                                      Transaction sub-layer abort primitive
  1803.  
  1804.                                                          Primitive
  1805.                     Parameter                     TR-P-ABORT indication
  1806.           Transaction ID                                     M
  1807.           P-abort                                            M
  1808.                 Figure 13/Q.771 shows the state  transitions  for  transaction  abort.  The
  1809.           states are those defined in SS 3.2.3 and 3.2.4 above.
  1810.  
  1811.                           TR-U req                                          TR-U req
  1812.                            TR-U ind                                          TR-P ind
  1813.           IS -------------------------------->     I       <-----------------------------
  1814.           -----IR
  1815.                              TR-P ind
  1816.                                                      TR-U req
  1817.                                                      TR-U ind
  1818.                                                      TR-P ind
  1819.                                          
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.           PAGE32  Fascicle VI.9 - Rec. Q.771
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.                                                 A          
  1865.          Note - TR-P stands for TR-P-ABORT, TR-U for TR-U-ABORT.
  1866.                                                FIGURE 13/Q.771
  1867.                                    State transitions for transaction abort
  1868.          3.3    Services provided by the ISP
  1869.                No additional service is provided by the ISP when the TC-service  is  based
  1870.          on a connectionless network service.
  1871.          3.4    Services assumed from the connectionless network layer
  1872.                In the Signalling System No. 7 environment, the services assumed  from  the
  1873.          SCCP are those defined  in  Recommendation  Q.711,  S  2.2  (SCCP  Connectionless
  1874.          Services, class 0 or class 1).
  1875.                Relations of TC with the SCCP management require further study.
  1876.          4      Service provided by TC based on a connection-oriented network service
  1877.                For further study.
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929.                                                         Fascicle VI.9 - Rec. Q.771   PAGE3
  1930.  
  1931.