TCAP dialog section structure

Holds the optional dialog information that can be contained in a TCAP message. The dialog section is used only for ITU-T-92 or later and ANSI-96 or later protocols.

typedef struct Tcap_Dlg_Sect
{
  U8           dlgType;    /* type of message this dialog is for       */
  U8           resPres;    /* result field present?                    */
  U8           result;     /* dialog result: accepted/rejected perm    */
  U8           resSrc;     /* result source: user or provider (TCAP)   */
  U8           resDiag;    /* result diagnostic                        */
  U8           abrtSrc;    /* source of abort                          */
  U8           fill;       /* fill for alignment                       */
  U8           fill2;      /* fill for alignment                       */
  TcapOctetStr apConName;  /* application context name                 */
  TcapOctetStr secConInfo; /* security context name                    */
  TcapOctetStr confAlgId;  /* confidentiality algorithm ID             */
  TcapOctetStr confValue;  /* confidentiality value                    */
  U8       apConNameType;  /* security context information type        */
  U8       secConInfoType; /* confidentiality algorithm ID type        */
  U8       confAlgIdType;  /* confidentiality value type               */
  U8       confValueId;    /* confidentiality value identifier         */
} TcapDlgSect;

 

The fields in the TcapDlgSect structure are encoded as follows:

Field

Value

dlgType
(ITU9x)

The dialog type identifies the dialog application PDU type. The value TCAP_DLGP_NONE indicates that the dialog portion was not present in an incoming message or should not be included in an outgoing message.

0 = TCAP_DLGP_UNK   Unknown dialog portion type

1 = TCAP_DLGP_UNI   Unidir. dialog portion type

2 = TCAP_DLGP_REQ   Request dialog portion type

3 = TCAP_DLGP_RSP   Response dialog portion type

4 = TCAP_DLGP_ABT   Abort dialog portion type

1 = TCAP_DLGP_ANSI   ANSI96 dialog portion type

0xFF = TCAP_DLGP_NONE   Dialog portion not present

resPres
(ITU9x)

Indicates whether the result, resSrc, and resDiag fields are present or not. It is coded to either PRESENT or NOT_PRESENT.

apConName
(ITU9x and ANSI96)

Application context name used in a structured dialog. This field is passed through transparently by the TCAP layer and must be ASN.1 encoded/decoded by the application if the application protocol in use specifies ASN.1 encoding of this field.

result
(ITU9x)

Result of a dialog section exchange. It is only present if the resPres field is set to PRESENT.

0 = TCAP_DLG_ACCEPTED   Dialog has been accepted

1 = TCAP_DLG_REJ_PERM   Dialog rejected permanently

resSrc
(ITU9x)

Source of the result of a dialog section exchange. It is only present if the resPres field is set to PRESENT.

0x21 = TCAP_DLG_SU_TAG   Dialog service user tag

0x22 = TCAP_DLG_SP_TAG   Dialog service provider tag

resDiag
(ITU9x)

Diagnostic value associated with the dialog result. It is only present if the resPres field is set to PRESENT.

0 = TCAP_DLG_RSD_NULL   Result diagnostic null

1 = TCAP_DLG_RSD_NORSN   No reason

2 = TCAP_DLG_RSD_NOACN   User: no application context name

2 = TCAP_DLG_RSD_NCDLG 2   Provider: no common dialog portion

abortSrc
(ITU9x)

Source of an aborted dialog.

0 = TCAP_DLG_USR_ABRT   Service user

1 = TCAP_DLG_PRV_ABRT   Service provider

If a dialog is aborted by the application, this field is set to TCAP_DLG_USR_ABRT. If a dialog is aborted by the TCAP layer, this field is set to TCAP_DLG_PRV_ABRT.

secConInfo
(ANSI96)

Reserved for future use.

secConInfoType
(ANSI96)

Reserved for future use.

confAlgId
(ANSI96)

Reserved for future use.

confAlgIdType
(ANSI96)

Reserved for future use.

confValue
(ANSI96)

Reserved for future use.

confValueId
(ANSI96)

Reserved for future use.

apConNameType
(ANSI96 only)

Specifies whether apConName is encoded as an integer or object ID. For ITU, apConName is always an object ID type.