-- =============================================================================
--               GDMO definitions extracted from ITU-T Rec. Q.825 (1998)
-- =============================================================================

blockGeneratingLog MANAGED OBJECT CLASS
  DERIVED FROM       "ITU-T Rec. X.721 | ISO/IEC 10165-2 : 1992":log;
  CHARACTERIZED BY
    blockGeneratingLogPkg PACKAGE
      BEHAVIOUR
        blockGeneratingLogBhv BEHAVIOUR
          DEFINED AS
            "This log is considered to be infinite and therefore it does not
            have to instantiate the finite-log size package from its superclass
            log. The blocking-log stores all records that satisfy its
            discriminator construct. The log provides the value (sequence
            number) for the 'recordId' (field of CDR). An instance of this log
            emits the block record notification when any of the following events occurs:

            -  the number of records in the log becomes equal to the maximum block size,

            -  the time interval elapsed since the first record currently

              contained in the log exceeds the value maxTimeInterval attribute,

            -  an internal system limitation has been exceeded, including the

              blocking log itself overflowing.

            Upon emitting the block record notification all records stored in
            the blocking log are deleted and the log is ready to store new
            records. Because of the self-emptying nature of this log, any
            log-full action may be selected and the behavior of the log will not
            change.";;
      ATTRIBUTES
        maxBlockSize GET-REPLACE,
        maxTimeInterval GET-REPLACE;
      NOTIFICATIONS
        blockRecordNotification;;;
REGISTERED AS {q825ObjectClass 1};


callDetailData MANAGED OBJECT CLASS
  DERIVED FROM       "ITU-T Rec. X.721 | ISO/IEC 10165-2 : 1992":top;
  CHARACTERIZED BY
    callDetailDataPackage PACKAGE
      BEHAVIOUR
        callDetailDataBehaviour BEHAVIOUR
          DEFINED AS
            "This managed object class emits the CDR notification for
            telecommunication events selected by the control object. (The
            selection is made based on either one or the combination of the
            simpleUsageMeteringControl object and
            configurableSimpleUsageMeteringControl object. No management
            operations are permitted on this object class. A CDR notification is
            sent out if one of the following events occurs:

            -  termination of a service;

            -  change of service e.g. due to change of charging conditions;

            -  reaching a volume threshold;

            -  at regular intervals during a practical service transaction;

            -  supplementary service input.

            Additional conditions that cause call detail record notification for
            analysis purposes such as quality of service measurement, fraud
            detection or traffic management are:

            -  denial of a service;

            -  change of observed service quality;

            -  reaching a quality threshold;

            -  call failures ";;
      ATTRIBUTES
        callDetailDataId GET;
      NOTIFICATIONS
        callDetailRecordNotification;;;
REGISTERED AS {q825ObjectClass 2};


callDetailLogRecord MANAGED OBJECT CLASS
  DERIVED FROM       "ITU-T Rec. X.721 : 1992":eventLogRecord;
  CHARACTERIZED BY
    callDetailLogRecordPackage PACKAGE
      BEHAVIOUR
        callDetailLogRecordBehaviour BEHAVIOUR
          DEFINED AS
            "This object class describes the layout of a log record created for
            each single call detail record notification";;
      ATTRIBUTES
        recordType GET,
        startTimeStamp GET,
        serviceUser GET,
        callIdentificationNumber GET;;;
  CONDITIONAL PACKAGES
    accessDeliveryPackage  PRESENT IF  "this parameter was present in the
      received notification",
    accountCodeInputPackage  PRESENT IF  "this parameter was present in the
      received notification",
    bearerServicePackage  PRESENT IF  "this parameter was present in the
      received notification",
    b-PartyCategoryPackage  PRESENT IF  "this parameter was present in the
      received notification",
    calledPartyNumberPackage  PRESENT IF  "this parameter was present in the
      received notification",
    callingPartyCategoryPackage  PRESENT IF  "this parameter was present in the
      received notification",
    callingPartyNumberPackage  PRESENT IF  "this parameter was present in the
      received notification",
    callingPartyNumberNotScreenedPackage  PRESENT IF  "this parameter was
      present in the received notification",
    callingPartyTypePackage  PRESENT IF  "this parameter was present in the
      received notification",
    callStatusPackage  PRESENT IF  "this parameter was present in the received
      notification",
    carrierIdPackage  PRESENT IF  "this parameter was present in the received
      notification",
    causePackage  PRESENT IF  "this parameter was present in the received notification",
    cDRPurposePackage  PRESENT IF  "this parameter was present in the received
      notification",
    chargedDirectoryNumberPackage  PRESENT IF  "this parameter was present in
      the received notification",
    chargedParticipantPackage  PRESENT IF  "this parameter was present in the
      received notification",
    chargingInformationPackage  PRESENT IF  "this parameter was present in the
      received notification",
    conversationTimePackage  PRESENT IF  "this parameter was present in the
      received notification",
    dataValidityPackage  PRESENT IF  "this parameter was present in the received
      notification",
    dPCPackage  PRESENT IF  "this parameter was present in the received notification",
    durationTimeACMPackage  PRESENT IF  "this parameter was present in the
      received notification",
    durationTimeB-AnswerPackage  PRESENT IF  "this parameter was present in the
      received notification",
    durationTimeNoB-AnswerPackage  PRESENT IF  "this parameter was present in
      the received notification",
    exchangeInfoPackage  PRESENT IF  "this parameter was present in the received
      notification",
    fallbackBearerServicePackage  PRESENT IF  "this parameter was present in the
      received notification",
    glarePackage  PRESENT IF  "this parameter was present in the received notification",
    immediateNotificationForUsageMeteringPackage  PRESENT IF  "this parameter
      was present in the received notification",
    iNPackage  PRESENT IF  "this parameter was present in the received notification",
    iSUPPreferredPackage  PRESENT IF  "this parameter was present in the
      received notification",
    networkManagementControlsPackage  PRESENT IF  "this parameter was present in
      the received notification",
    networkProviderIdPackage  PRESENT IF  "this parameter was present in the
      received notification",
    oPCPackage  PRESENT IF  "this parameter was present in the received notification",
    operatorSpecific1AdditionalNumberPackage  PRESENT IF  "this parameter was
      present in the received notification",
    operatorSpecific1NumberPackage  PRESENT IF  "this parameter was present in
      the received notification",
    operatorSpecific2AdditionalNumberPackage  PRESENT IF  "this parameter was
      present in the received notification",
    operatorSpecific2NumberPackage  PRESENT IF  "this parameter was present in
      the received notification",
    operatorSpecific3AdditionalNumberPackage  PRESENT IF  "this parameter was
      present in the received notification",
    operatorSpecific3NumberPackage  PRESENT IF  "this parameter was present in
      the received notification",
    originalCalledNumberPackage  PRESENT IF  "this parameter was present in the
      received notification",
    partialGenerationPackage  PRESENT IF  "this parameter was present in the
      received notification",
    percentageToBeBilledPackage  PRESENT IF  "this parameter was present in the
      received notification",
    personalUserIdPackage  PRESENT IF  "this parameter was present in the
      received notification",
    physicalLineCodePackage  PRESENT IF  "this parameter was present in the
      received notification",
    progressPackage  PRESENT IF  "this parameter was present in the received
      notification",
    queueInfoPackage  PRESENT IF  "this parameter was present in the received
      notification",
    receivedDigitsPackage  PRESENT IF  "this parameter was present in the
      received notification",
    recordIdPackage  PRESENT IF  "this parameter was present in the received
      notification",
    recordExtensionsPackage  PRESENT IF  "this parameter was present in the
      received notification",
    redirectingNumberPackage  PRESENT IF  "this parameter was present in the
      received notification",
    redirectionNumberPackage  PRESENT IF  "this parameter was present in the
      received notification",
    relatedCallNumberPackage  PRESENT IF  "this parameter was present in the
      received notification",
    serviceSpecificINInformationPackage  PRESENT IF  "this parameter was present
      in the received notification",
    standardExtensionsPackage  PRESENT IF  "this parameter was present in the
      received notification",
    supplementaryServicePackage  PRESENT IF  "this parameter was present in the
      received notification",
    teleservicePackage  PRESENT IF  "this parameter was present in the received
      notification",
    trunkGroupIncomingPackage  PRESENT IF  "this parameter was present in the
      received notification",
    trunkGroupOutgoingPackage  PRESENT IF  "this parameter was present in the
      received notification",
    uUInfoPackage  PRESENT IF  "this parameter was present in the received
      notification";
REGISTERED AS {q825ObjectClass 3};


configurableSimpleUsageMeteringControl MANAGED OBJECT CLASS
  DERIVED FROM       simpleUsageMeteringControl;
  CHARACTERIZED BY
    configurableSimpleUsageMeteringControlPackage PACKAGE
      BEHAVIOUR
        configurableSimpleUsageMeteringControlBehaviour BEHAVIOUR
          DEFINED AS
            "This object class is used if Analysis function is required.
            configurableSimpleUsageMeteringControl object allows sampling rate
            and allows configuration of all the optional parameters, as defined
            by configurationMask, to be included in the Call Detail
            Notification. The object class controls the creation of call Detail
            Data objects based on the creationTriggerList, and the samplingRate.

            The configurationMask together will control the additional data to
            be included in the CDR notification emitted by the CDR object for QoS,
            Fraud and Traffic Network Management purpose. The characteristic
            additional is with reference to the data already included in the
            notification for the purpose of usage metering";;
      ATTRIBUTES
        samplingRate GET-REPLACE,
        configurationMask GET-REPLACE;;;
REGISTERED AS {q825ObjectClass 4};


fileGeneratingLog MANAGED OBJECT CLASS
  DERIVED FROM       "ITU-T Rec. X.721 | ISO/IEC 10165-2 : 1992":log;
  CHARACTERIZED BY
    fileGeneratingLogPkg PACKAGE
      BEHAVIOUR
        fileGeneratingLogBhv BEHAVIOUR
          DEFINED AS
            "This log is used to create files that can be exchanged using an
            appropriate file transfer protocol. The log provides the value
            (sequence number) for the 'recordId' (field of the CDR). The action
            create file is used to generate the file to be exchanged. The file
            created consists of a concatenation of the content of the call
            detail records; i.e. the call detail records without the record
            overhead (Record Id, Managed Object Class and Instance and Logging
            Time). To avoid duplication of CDRs, logging of blockedRecord
            notifications emitted by the blocking log should be excluded by
            configuration of the file generating log's discriminator construct.
            Files may also be created due to internal trigger events. One such
            internal trigger is based on time of day. The records are deleted
            after successful copying of the records to the file.";;
      ACTIONS
        createFile;;;
  CONDITIONAL PACKAGES
    dailyTriggeringPackage  PRESENT IF  "if the file creation is to be triggered
      on a daily basis [time(s) of day]",
    periodicTriggeringPackage  PRESENT IF  "if the file creation is to be
      triggered on a periodic basis",
    fileCreationNotificationPackage  PRESENT IF  "if the file creation is
      triggered using any one of the scheduling mechanisms in the daily, weekly
      and monthly triggering methods or an internal mechanism.";
REGISTERED AS {q825ObjectClass 5};


simpleUsageMeteringControl MANAGED OBJECT CLASS
  DERIVED FROM
    "ITU-T Rec. X.742 | ISO/IEC 10164-10 : 1995":usageMeteringControlObject;
  CHARACTERIZED BY
    simpleUsageMeteringControlObjectPackage PACKAGE
      BEHAVIOUR
        usageMeteringControlBehaviour BEHAVIOUR
          DEFINED AS
            "simpleUsageMeteringControl object class allows the definition of
            different types of triggers for usage metering recording. One of the
            defined reporting triggers requires periodic reporting and can be
            used to transfer partial service usage data to a log or remote OS
            for long duration service usage. Another type of trigger is
            determined by the occurrence of a particular event during usage of
            the service, e.g. completion of usage. This object class fully
            supports the requirements for usage metering. If only Usage Metering
            application is required, then simpleUsageMeteringControl object
            class shall be used. This object class controls the generation of
            CDRs in the NE. CDRs are actually produced if the transaction
            fulfils the conditions defined in the creationTriggerList attribute.
            If the creationTriggerList is empty, no CDR will be generated. The
            value of the time period in reportingTriggers defines the time
            interval between partial records. No attribute value change
            notification is sent by this object when data object reference list
            is changed and no attribute change value reflects this data object
            reference list.";;
      ATTRIBUTES
        creationTriggerList
          DEFAULT VALUE Q825-CDR-ASN1Module.defaultCreationTrigger GET-REPLACE,
        "ITU-T Rec. X.742 | ISO/IEC 10164-10 : 1995":reportingTriggers
          REPLACE-WITH-DEFAULT
          DEFAULT VALUE Q825-CDR-ASN1Module.reportingTriggersDefault
          PERMITTED VALUES Q825-CDR-ASN1Module.PermittedReportingTriggers
          GET-REPLACE ADD-REMOVE;;;
REGISTERED AS {q825ObjectClass 6};


accessDeliveryPackage PACKAGE
  ATTRIBUTES
    accessDelivery GET;
REGISTERED AS {q825Package 1};


accountCodeInputPackage PACKAGE
  ATTRIBUTES
    accountCodeInput GET;
REGISTERED AS {q825Package 2};


b-PartyCategoryPackage PACKAGE
  ATTRIBUTES
    b-PartyCategory GET;
REGISTERED AS {q825Package 3};


bearerServicePackage PACKAGE
  ATTRIBUTES
    bearerService GET;
REGISTERED AS {q825Package 58};


cDRPurposePackage PACKAGE
  ATTRIBUTES
    cDRPurpose GET;
REGISTERED AS {q825Package 10};


callStatusPackage PACKAGE
  ATTRIBUTES
    callStatus GET;
REGISTERED AS {q825Package 59};


calledPartyNumberPackage PACKAGE
  ATTRIBUTES
    calledPartyNumber GET;
REGISTERED AS {q825Package 4};


callingPartyCategoryPackage PACKAGE
  ATTRIBUTES
    callingPartyCategory GET;
REGISTERED AS {q825Package 5};


callingPartyNumberNotScreenedPackage PACKAGE
  ATTRIBUTES
    callingPartyNumberNotScreened GET;
REGISTERED AS {q825Package 7};


callingPartyNumberPackage PACKAGE
  ATTRIBUTES
    callingPartyNumber GET;
REGISTERED AS {q825Package 6};


callingPartyTypePackage PACKAGE
  ATTRIBUTES
    callingPartyType GET;
REGISTERED AS {q825Package 8};


carrierIdPackage PACKAGE
  ATTRIBUTES
    carrierId GET;
REGISTERED AS {q825Package 60};


causePackage PACKAGE
  ATTRIBUTES
    cause GET;
REGISTERED AS {q825Package 9};


chargedDirectoryNumberPackage PACKAGE
  ATTRIBUTES
    chargedDirectoryNumber GET;
REGISTERED AS {q825Package 11};


chargedParticipantPackage PACKAGE
  ATTRIBUTES
    chargedParticipant GET;
REGISTERED AS {q825Package 13};


chargingInformationPackage PACKAGE
  ATTRIBUTES
    chargingInformation GET;
REGISTERED AS {q825Package 12};


conversationTimePackage PACKAGE
  ATTRIBUTES
    conversationTime GET;
REGISTERED AS {q825Package 14};


dPCPackage PACKAGE
  ATTRIBUTES
    dPC GET;
REGISTERED AS {q825Package 61};


dailyTriggeringPackage PACKAGE
  ATTRIBUTES
    timesOfDay GET-REPLACE;
REGISTERED AS {q825Package 15};


dataValidityPackage PACKAGE
  ATTRIBUTES
    dataValidity GET;
REGISTERED AS {q825Package 16};


durationTimeACMPackage PACKAGE
  ATTRIBUTES
    durationTimeACM GET;
REGISTERED AS {q825Package 17};


durationTimeB-AnswerPackage PACKAGE
  ATTRIBUTES
    durationTimeB-Answer GET;
REGISTERED AS {q825Package 19};


durationTimeNoB-AnswerPackage PACKAGE
  ATTRIBUTES
    durationTimeNoB-Answer GET;
REGISTERED AS {q825Package 20};


exchangeInfoPackage PACKAGE
  ATTRIBUTES
    exchangeInfo GET;
REGISTERED AS {q825Package 21};


fallbackBearerServicePackage PACKAGE
  ATTRIBUTES
    fallbackBearerService GET;
REGISTERED AS {q825Package 22};


fileCreationNotificationPackage PACKAGE
  NOTIFICATIONS
    fileCreationNotification;
REGISTERED AS {q825Package 23};


glarePackage PACKAGE
  ATTRIBUTES
    glare GET;
REGISTERED AS {q825Package 24};


iNPackage PACKAGE
  ATTRIBUTES
    iNServiceInformationList GET,
    iNSpecificInformation GET;
REGISTERED AS {q825Package 27};


iSUPPreferredPackage PACKAGE
  ATTRIBUTES
    iSUPPreferred GET;
REGISTERED AS {q825Package 28};


immediateNotificationForUsageMeteringPackage PACKAGE
  ATTRIBUTES
    immediateNotificationForUsageMetering GET;
REGISTERED AS {q825Package 25};


networkManagementControlsPackage  PACKAGE
  ATTRIBUTES
    networkManagementControls GET;
REGISTERED AS {q825Package 29};


networkProviderIdPackage PACKAGE
  ATTRIBUTES
    networkProviderId GET;
REGISTERED AS {q825Package 30};


oPCPackage PACKAGE
  ATTRIBUTES
    oPC GET;
REGISTERED AS {q825Package 62};


operatorSpecific1AdditionalNumberPackage PACKAGE
  ATTRIBUTES
    operatorSpecific1AdditionalNumber GET;
REGISTERED AS {q825Package 31};


operatorSpecific1NumberPackage PACKAGE
  ATTRIBUTES
    operatorSpecific1Number   GET;
REGISTERED AS {q825Package 32};


operatorSpecific2AdditionalNumberPackage PACKAGE
  ATTRIBUTES
    operatorSpecific2AdditionalNumber   GET;
REGISTERED AS {q825Package 33};


operatorSpecific2NumberPackage PACKAGE
  ATTRIBUTES
    operatorSpecific2Number   GET;
REGISTERED AS {q825Package 34};


operatorSpecific3AdditionalNumberPackage    PACKAGE
  ATTRIBUTES
    operatorSpecific3AdditionalNumber GET;
REGISTERED AS {q825Package 35};


operatorSpecific3NumberPackage PACKAGE
  ATTRIBUTES
    operatorSpecific3Number GET;
REGISTERED AS {q825Package 36};


originalCalledNumberPackage PACKAGE
  ATTRIBUTES
    originalCalledNumber GET;
REGISTERED AS {q825Package 37};


partialGenerationPackage PACKAGE
  ATTRIBUTES
    partialGeneration GET;
REGISTERED AS {q825Package 38};


percentageToBeBilledPackage PACKAGE
  ATTRIBUTES
    percentageToBeBilled GET;
REGISTERED AS {q825Package 39};


periodicTriggeringPackage PACKAGE
  ATTRIBUTES
    periodicTrigger GET-REPLACE;
REGISTERED AS {q825Package 40};


personalUserIdPackage PACKAGE
  ATTRIBUTES
    personalUserId GET;
REGISTERED AS {q825Package 41};


physicalLineCodePackage PACKAGE
  ATTRIBUTES
    physicalLineCode GET;
REGISTERED AS {q825Package 42};


progressPackage PACKAGE
  ATTRIBUTES
    progress GET;
REGISTERED AS {q825Package 43};


queueInfoPackage PACKAGE
  ATTRIBUTES
    queueInfo GET;
REGISTERED AS {q825Package 44};


receivedDigitsPackage PACKAGE
  ATTRIBUTES
    receivedDigits GET;
REGISTERED AS {q825Package 45};


recordExtensionsPackage PACKAGE
  ATTRIBUTES
    recordExtensions GET;
REGISTERED AS {q825Package 46};


recordIdPackage PACKAGE
  ATTRIBUTES
    recordId GET;
REGISTERED AS {q825Package 63};


redirectingNumberPackage  PACKAGE
  ATTRIBUTES
    redirectingNumber GET;
REGISTERED AS {q825Package 48};


redirectionNumberPackage PACKAGE
  ATTRIBUTES
    redirectionNumber GET;
REGISTERED AS {q825Package 49};


relatedCallNumberPackage PACKAGE
  ATTRIBUTES
    relatedCallNumber GET;
REGISTERED AS {q825Package 47};


serviceSpecificINInformationPackage PACKAGE
  ATTRIBUTES
    serviceSpecificINInformation GET;
REGISTERED AS {q825Package 50};


standardExtensionsPackage PACKAGE
  ATTRIBUTES
    standardExtensions GET;
REGISTERED AS {q825Package 51};


supplementaryServicePackage PACKAGE
  ATTRIBUTES
    supplementaryServices GET;
REGISTERED AS {q825Package 52};


teleservicePackage PACKAGE
  ATTRIBUTES
    teleservice GET;
REGISTERED AS {q825Package 54};


trunkGroupIncomingPackage PACKAGE
  ATTRIBUTES
    trunkGroupIncoming GET;
REGISTERED AS {q825Package 55};


trunkGroupOutgoingPackage PACKAGE
  ATTRIBUTES
    trunkGroupOutgoing GET;
REGISTERED AS {q825Package 56};


uUInfoPackage PACKAGE
  ATTRIBUTES
    uUInfo GET;
REGISTERED AS {q825Package 57};


accessDelivery  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.AccessDelivery;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    accessDeliveryBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the Access delivery information which indicates
        if the call has been delivered to the called subscriber. Normally the
        value is derived from the ISUP signalling. In the case of local calls,
        where no ISUP signalling is used, a similar value shall be adopted.
        Access delivery can be used for statistical purposes or to determine
        whether the charged subscriber should be charged with call attempt
        charge or not.";;
REGISTERED AS {q825Attribute 1};


accountCodeInput ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.AccountCodeInput;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    accountCodeInputBehaviour BEHAVIOUR
      DEFINED AS
        "This information element shall contain the code to which accounting is
        to be referred and input by the subscriber. Examples of use are
        authorisation code, PI, bank account, PV code or credit card number to
        be used for billing.";;
REGISTERED AS {q825Attribute  2};


additionalParticipantInfo ATTRIBUTE
  WITH ATTRIBUTE SYNTAX    Q825-CDR-ASN1Module.AdditionalParticipantInfo;
  MATCHES FOR EQUALITY;
REGISTERED AS {q825Attribute 78};


b-PartyCategory ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.B-PartyCategory;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    b-PartyCategoryBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the called subscriber category.";;
REGISTERED AS {q825Attribute 5};


bearerService  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module. BearerService;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    bearerServiceBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the bearer capability information for a call or
        an event concerning a supplementary service. This attribute exists only
        for ISDN calls.";;
REGISTERED AS {q825Attribute  4};


cDRPurpose  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.CDRPurpose;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    cDRPurposeBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute provides information to the OS on the reason for
        triggering of the record. In most networks the OS will be aware of the
        triggering conditions of the network and hence this information will not
        be required.";;
REGISTERED AS {q825Attribute 13};


callDetailDataId  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.CallDetailDataId;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    callDetailDataIdBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute uniquely identifies the callDetailData object.";;
REGISTERED AS {q825Attribute 70};


callDuration ATTRIBUTE
  WITH ATTRIBUTE SYNTAX    Q825-CDR-ASN1Module.CallDuration;
  MATCHES FOR EQUALITY;
REGISTERED AS {q825Attribute 79};


callIdentificationNumber  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.CallIdentificationNumber;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    callIdentificationNumberBehaviour BEHAVIOUR
      DEFINED AS
        "An identification number that identifies the call. All records produced
        for the same call have the same call identification number.

        With the call identification number it is possible to link partial
        outputs, outputs due to supplementary services during the call and to
        discriminate between simultaneous call establishments. If a global call
        reference is received through signalling, this can be used as call
        identification number thus allowing the correlation of CDRs generated
        for the same call in different NEs. If no global call reference is
        signalled in the network, the call identification will only have local
        significance.";;
REGISTERED AS {q825Attribute 6};


callStatus  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.CallStatus;
  BEHAVIOUR
    callStatusBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute identifies whether the call is answered or not. A call
        is  considered answered if ANM or its equivalent has been received.";;
REGISTERED AS {q825Attribute 73};


calledPartyNumber  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.CalledPartyNumber;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    calledPartyNumberBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the telephone number of the called subscriber
        if the CDR is generated due to a call.

        If the CDR is generated due to activation or invocation of the diversion
        supplementary service, then attribute contains the telephone number of
        the diverted-to number. In special cases this attribute may contain the
        translated number. This would be the case when abbreviated dialling is
        used. As an option, this information element may also include
        information to indicate the Numbering Plan Identification (NPI) and the
        Type Of Number (TON) of the called party number.";;
REGISTERED AS {q825Attribute 9};


callingPartyCategory  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.CallingPartyCategory;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    callingPartyCategoryBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the calling subscriber category. This
        information may also be related to the redirecting party for a forwarded
        call.";;
REGISTERED AS {q825Attribute 7};


callingPartyNumber  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.CallingPartyNumber;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    callingPartyNumberBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the telephone number of the calling party.

        The calling party will, for non-UPT calls, be identical to the calling
        party user. For call type calls and when subscribing to either MSN or
        DDI the information element indicates the screened and verified number
        for transfer towards the called subscriber. This attribute contains the
        default number if the exchange is requested to use that number for
        transfer towards the called subscriber. If the CDR is generated due to
        an event concerning a supplementary service then this attribute contains
        the telephone number of the subscriber that caused the event.

        It should be noted that in the case of an exchange with a diverted call,
        the subscriber for which the CDR is generated is indicated by the
        redirecting number.";;
REGISTERED AS {q825Attribute 8};


callingPartyNumberNotScreened  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.CallingPartyNumberNotScreened;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    callingPartyNumberNotScreenedBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains an additional user-provided, not screened
        telephone number of the calling party if the CDR is generated due to a call.

        This attribute is relevant in connection with users subscribing to the
        special arrangement according to e.g. the CLIP supplementary service.";;
REGISTERED AS {q825Attribute  10};


callingPartyType ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.CallingPartyType;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    callingPartyTypeBehaviour BEHAVIOUR
      DEFINED AS
        "This information element shall contain the calling subscriber type.
        This information may also be related to the redirecting party for a
        forwarded call.

        The Calling party Type is defined as:

          -  Analogue;

          -  Customer link (2 Mbit/s PSTN digital access);

          -  Basic Access;

          -  Primary Rate Access;";;
REGISTERED AS {q825Attribute  11};


carrierId  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.CarrierId;
  BEHAVIOUR
    carrierIdBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the carrier Id to which the call is sent.";;
REGISTERED AS {q825Attribute 74};


cause  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.Cause;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    causeBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute indicates the cause and location value for the
        termination of the call. For ISDN/ISUP, it will contain ITU-T
        Recommendation Q.850 cause values (sent or received). For analogue call,
        or intra-switch call, the agent will provide the best mapping
        corresponding to the cause value of Q.850.";;
REGISTERED AS {q825Attribute 12};


chargedDirectoryNumber  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.ChargedDirectoryNumber;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    chargedDirectoryNumberBehaviour BEHAVIOUR
      DEFINED AS
        "This information element shall contain the charged directory number in
        the case where the number cannot be indicated by the charged participant
        element.";;
REGISTERED AS {q825Attribute 14};


chargedParticipant  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.ChargedParticipant;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    chargedParticipantBehaviour BEHAVIOUR
      DEFINED AS
        "This information element shall contain the participant, i.e. calling,
        called, redirecting, redirection or original called party, to be charged
        for the usage.";;
REGISTERED AS {q825Attribute 16};


chargingInformation  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.ChargingInformation;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    chargingInformationBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the charging information generated by an NE
        which is capable of charging. This information can either be passed on
        to the billing application or in the case where the NE calculates
        charging information for presentation to the user, this information can
        be used to compare the values generated by the off-line charging
        application. The attribute contains the charged amount either in
        recorded currency or call charge units.";;
REGISTERED AS {q825Attribute 15};


configurationMask ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.ConfigurationMask;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    configurationMaskBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute is only valid for answered calls. If no partial records
        are generated this attribute contains the time consumption from B-answer
        to termination time. For partial call records the first record contains
        the time consumption from B-answer until reporting time. The
        intermediate partial records contain the time consumption since the
        previous reporting. The final partial record contains the time
        consumption from the previous reporting until termination time. The call
        is considered terminated when communication between the parties is no
        longer possible.";;
REGISTERED AS {q825Attribute 17};


conversationTime  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.ConversationTime;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    conversationTimeBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the time consumption from B-answer or
        equivalent. The call is considered terminated when communication between
        the parties is no longer possible.";;
REGISTERED AS {q825Attribute 18};


creationTriggerList  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX  Q825-CDR-ASN1Module.CreationTriggerList;
  MATCHES FOR EQUALITY, SET-INTERSECTION;
  BEHAVIOUR
    creationTriggerListBehaviour  BEHAVIOUR
      DEFINED AS
        "This attribute consists of a list of values that specify the conditions
        that will lead to the creation of  Call Detail data objects. Triggers
        can be call related (Seizure or first digit or ACM received or ANM
        received) and non-call related (supplementary service invocation and/or
        input). When multiple triggers are present, the recording process is
        activated by the first recordable event";;
REGISTERED AS {q825Attribute  19};


dPC ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.PointCode;
  BEHAVIOUR
    dPCBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute is used for analysis purpose. It contains the
        destination point code.";;
REGISTERED AS {q825Attribute  75};


dataValidity  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.DataValidity;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    dataValidityBehaviour  BEHAVIOUR
      DEFINED AS
        "This attribute indicates that the NE is having problems and that the
        content of the generated CDR is not reliable. This indication enables
        the OS to take the necessary actions on the collected CDRs.";;
REGISTERED AS {q825Attribute 20};


durationTimeACM  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.DurationTimeACM;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    durationTimeACMBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the time consumption from seizure time until
        received ACM. This attribute is only included if ACM is received.";;
REGISTERED AS {q825Attribute  23};


durationTimeB-Answer  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.DurationTimeANM;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    durationTimeB-AnswerBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the time consumption from the seizure time
        until received B-Answer. This attribute is included if B-Answer is received.";;
REGISTERED AS {q825Attribute 21};


durationTimeNoB-Answer  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.DurationTimeNoANM;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    durationTimeNoB-AnswerBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the time consumption from the seizure time to
        termination time when no B-Answer is received.";;
REGISTERED AS {q825Attribute  22};


exchangeInfo ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.ExchangeInfo;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    exchangeInfoBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the exchange identity. By means of the exchange
        identity it is always possible to identify the exchange where a specific
        CDR was generated. In addition to the identity of the exchange,
        additional information can be added to indicate the program version of
        the originator. This information is provided to assist in interpreting
        the CDR when new software releases, that affect the CDR format, are
        introduced in the network. When all records to be transferred originate
        from the same exchange, this information can optionally be provided in
        the file header.";;
REGISTERED AS {q825Attribute 25};


fallbackBearerService  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.FallbackBearerService;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    fallbackbearerServiceBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the fallback bearer capability information for
        a call or an event concerning a supplementary service. This indicator is
        only provided when, in the case of fallback, the bearer service is not
        identical to the initial requested service.";;
REGISTERED AS {q825Attribute 26};


glare ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.Glare;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    glareBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute indicates if a glare condition was encountered even if
        it does not cause the call to fail.";;
REGISTERED AS {q825Attribute 27};


iNServiceInformationList  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.INServiceInformationList;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    iNSpecificInformationListBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains information about the use of one or more IN
        service. Information about the use of more than one supplementary
        service is only possible in connection with a call record type. For each
        service, this attribute contains the IN service code, possible queue
        information and additional information (OCTET STRING).";;
REGISTERED AS {q825Attribute 31};


iNSpecificInformation  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.INSpecificInfo;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    iNSpecificInformationBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains information about the use of one IN service.";;
REGISTERED AS {q825Attribute 32};


iSUPPreferred ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.ISUPPreferred;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    iSUPPreferredBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute indicates if an ISUP preference was requested. For ISUP,
        this attribute contains the ISUP Preference Indicator field of
        Forwarding Call Call Indicator parameter defined in ITU-T Recommendation
        Q.763. If  ISUP is not used this attribute is set not applicable.";;
REGISTERED AS {q825Attribute 33};


immediateNotificationForUsageMetering ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.ImmediateNotification;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    immediateNotificationForUsageMeteringBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute shall contain an indication that the record requires
        immediate data transfer to the OS. This standard does not specify if
        this indication is due to a subscriber action or contained in the user
        data. This attribute may be used to define the filter of an event
        forwarding discriminator.";;
REGISTERED AS {q825Attribute 28};


maxBlockSize ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.MaxBlockSize;
  MATCHES FOR EQUALITY, ORDERING;
  BEHAVIOUR
    maxBlockSizeBehaviour BEHAVIOUR
      DEFINED AS
        "The value of this attribute specifies the maximum number of CDRs that
        may be contained in the blockRecordNotification emitted by the
        blockGeneratingLog. If the value '0' is entered, it means that this
        output trigger is not used.";;
REGISTERED AS {q825Attribute 34};


maxTimeInterval  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.MaxTimeInterval;
  MATCHES FOR EQUALITY, ORDERING;
  BEHAVIOUR
    maxTimeIntervalBehaviour BEHAVIOUR
      DEFINED AS
        "The value of this attribute specifies the maximum time interval that
        may elapse from receipt of the first record currently in the log to the
        time at which a blockRecordNotification must be emitted. This value,
        therefore, specifies the maximum latency with which near-real-time CDR
        data will be transmitted to the upstream system. If the value '0' is
        entered, it means that this output trigger is not used.";;
REGISTERED AS {q825Attribute 35};


networkManagementControls ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.NetworkManagementControls;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    networkManagementControlsBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute indicates which Traffic Network Management control has
        affected the call.  This means that calls which are blocked by a traffic
        control will be taken into account. A call is affected by a Traffic
        Network Management control if the normal call routing process has been
        altered by a Traffic Network Management control.";;
REGISTERED AS {q825Attribute 36};


networkProviderId ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.NetworkProviderId;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    networkProviderIdBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute indicates the network provider for whom the CDR is
        generated. This information is only necessary in the case of multiple
        providers.";;
REGISTERED AS {q825Attribute 37};


oPC ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.PointCode;
  BEHAVIOUR
    oPCBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute is used for analysis purpose. It contains the
        originating point code of the failed call.";;
REGISTERED AS {q825Attribute 76};


operatorSpecific1AdditionalNumber  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.OperatorSpecific1AdditionalNumber;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    operatorSpecific1AdditionalNumberBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains operator defined additional participant
        information and is used when the elements defined elsewhere are not adequate.";;
REGISTERED AS {q825Attribute 38};


operatorSpecific1Number  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.OperatorSpecific1Number;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    operatorSpecific1NumberBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains operator defined participant information and is
        used when the elements defined elsewhere are not adequate.";;
REGISTERED AS {q825Attribute 39};


operatorSpecific2AdditionalNumber  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.OperatorSpecific2AdditionalNumber;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    operatorSpecific2AdditionalNumberBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains operator defined additional participant
        information and is used when the elements defined elsewhere are not adequate.";;
REGISTERED AS {q825Attribute 40};


operatorSpecific2Number  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.OperatorSpecific1Number;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    operatorSpecific2NumberBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains operator defined participant information and is
        used when the elements defined elsewhere are not adequate.";;
REGISTERED AS {q825Attribute  41};


operatorSpecific3AdditionalNumber  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.OperatorSpecific3AdditionalNumber;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    operatorSpecific3AdditionalNumberBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains operator defined additional participant
        information and is used when the elements defined elsewhere are not adequate.";;
REGISTERED AS {q825Attribute 42};


operatorSpecific3Number  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.OperatorSpecific3Number;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    operatorSpecific3NumberBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains operator defined participant information and is
        used when the elements defined elsewhere are not adequate.";;
REGISTERED AS {q825Attribute 43};


originalCalledNumber  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.OriginalCalledNumber;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    originalCalledNumberBehaviour BEHAVIOUR
      DEFINED AS
        "This information element shall contain the telephone number of the
        original called party. This is the information, when using ISUP, that is
        sent in the forward direction when a call is redirected and identifies
        the original called party.";;
REGISTERED AS {q825Attribute 44};


partialGeneration  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.PartialGeneration;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    partialGenerationBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute is included if the CDR output is partial. Included in
        the element is a field indicating the partial record number and the
        reason for partial output.

        The partial record number, is a sequential number which consecutively
        numbers the partial records in a specific call.";;
REGISTERED AS {q825Attribute  45};


participantInfo ATTRIBUTE
  WITH ATTRIBUTE SYNTAX    Q825-CDR-ASN1Module.ParticipantInfo;
  MATCHES FOR EQUALITY, SET-COMPARISON, SET-INTERSECTION;
REGISTERED AS {q825Attribute 77};


percentageToBeBilled  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.PercentageToBeBilled;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    percentageToBeBilledBehaviour BEHAVIOUR
      DEFINED AS
        "This information element shall contain the percentage to be billed in
        the case where normal billing rules are not followed.";;
REGISTERED AS {q825Attribute 46};


periodicTrigger  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.Period;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    periodicTriggerBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute defines the periodic interval at which the file should
        be created.";;
REGISTERED AS {q825Attribute 47};


personalUserId   ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.PersonalUserId;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    personalUserIdBehaviour BEHAVIOUR
      DEFINED AS
        "This element has only relevance when UPT calls are made. It is a
        network requirement that the provided international personal User
        Identity is unique and verified by the network.";;
REGISTERED AS {q825Attribute 48};


physicalLineCode  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.PhysicalLineCode;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    physicalLineCodeBehaviour BEHAVIOUR
      DEFINED AS
        "This information element shall be used to identify the physical line
        used by the calling subscriber. This element is used for customer care
        purposes and is only relevant in the case where multiple lines are used
        by a common directory number.";;
REGISTERED AS {q825Attribute 49};


progress  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.Progress;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    progressBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute describes an event which has occurred during the life of
        a call. The attribute contains a location value as well as the progress
        description. Progress information can be used e.g. for determining
        whether the subscriber shall be charged for the use of a supplementary
        service towards a non-ISDN user. Only the Progress indicator received
        from the far end is of relevance and should be used. In the case where
        more than one value is received only the last Progress indicator is used.";;
REGISTERED AS {q825Attribute  50};


queueInfo ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.QueueInfo;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    queueInfoBehaviour BEHAVIOUR
      DEFINED AS
        "Queue information is stored in connection with IN calls to record usage
        of queueing resources. This information element is present only if the
        call was queued during its treatment by the IN and contains the time
        when the call was queued and the duration of the queueing.";;
REGISTERED AS {q825Attribute  51};


receivedDigits  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.ReceivedDigits;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    receivedDigitsBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the digits dialled by the subscriber or sent by
        the subscriber terminal. Normally this information is only included for
        customer care purposes. It should however be noted that the use of
        functional signalling in ISDN as well as requirements to restrict this
        information will require operator or manufacturer specific coding of
        this element. Alternatively functional information should be included in
        the supplementary service field.";;
REGISTERED AS {q825Attribute 52};


recordExtensions  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.RecordExtensions;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    recordExtensionBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute shall contain information elements that network
        operators and/or manufacturers have added to the standard usage metering
        record. This information element contains a set of  'management
        extensions' as defined in ITU-T Recommendation  X.721.";;
REGISTERED AS {q825Attribute 53};


recordId ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.RecordId;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    recordIdBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute is used for audit trail purposes to check if all logged
        CDRs are transferred to the OS. It is a sequential number.";;
REGISTERED AS {q825Attribute 80};


recordType  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.RecordType;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    recordTypeBehaviour BEHAVIOUR
      DEFINED AS
        "This information element indicates the type of the CDR and it also
        indicates the way some of the CDR elements are used.";;
REGISTERED AS {q825Attribute 54};


redirectingNumber  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.RedirectingNumber;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    redirectingNumberBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the telephone number of the party who has
        redirected the call. This is the information, when using ISUP, that is
        sent in the forward direction when a call is redirected, indicating the
        number from which the call was diverted. This number is identical to the
        original called number for a single diversion. In the case of a diverted
        call the Service User will be indicated by the redirecting number.";;
REGISTERED AS {q825Attribute 82};


redirectionNumber  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.RedirectionNumber;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    redirectionNumberBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the telephone number of the party that the call
        must be forwarded to. This is the information, when using ISUP, that is
        sent in the backward direction indicating the number towards which the
        call must be re-routed or has been forwarded. The redirection number is
        identical to the diverted-to number which can be either a forwarded to
        number or a deflected to number.";;
REGISTERED AS {q825Attribute 56};


relatedCallNumber  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.RedirectionNumber;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    relatedCallNumberBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the Call identification number of an associated
        call record. This number is used for associating different call records
        generated in the same exchange.";;
REGISTERED AS {q825Attribute 57};


samplingRate ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.Integer;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    samplingRateBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute indicates that every n-th callDetailData will be flagged
        for analysis purpose and all subsequent CDRs emitted will indicate
        Analysis in the cDRPurpose.";;
REGISTERED AS {q825Attribute 58};


serviceSpecificINInformation ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.ServiceSpecificINInformation;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    serviceSpecificINInformationBehaviour BEHAVIOUR
      DEFINED AS
        "This information element shall contain the information provided by the
        IN-service-script to enable the billing of new services. This field
        contains a set of 'management extensions' as defined in ITU-T
        Recommendation  X.721.";;
REGISTERED AS {q825Attribute 59};


serviceUser  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.ServiceUser;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    serviceUserBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute provides information of the party whose use of resources
        has been accounted for. The information provided in this element is a
        pointer to the party number provided elsewhere in the record. In the
        case where e.g. the CDR is generated on a transit exchange and no
        calling party number is available, this element will indicate that the
        service user is unknown.";;
REGISTERED AS {q825Attribute 60};


standardExtensions  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.StandardExtensions;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    standardExtensionBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute shall contain standardized extensions that are added to
        the standard usage metering record. This field contains a set of
        'management extensions' as defined in ITU-T Recommendation  X.721.";;
REGISTERED AS {q825Attribute 61};


startTimeStamp  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.StartTimeStamp;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    startTimeStampBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains a time stamp either the seizure time for an
        un-answered call (when the exchange is ready to receive digit) or the
        answer time for an answered call. For transit calls the start time stamp
        (seizure) will relate to the first message received e.g. IAM.

        If the CDR is generated by an event concerning a supplementary service
        not related to a call, then this information element contains the time
        stamp for that event.

        Date and time values shall be derived from the exchange clock. This
        attribute includes year, month, day, hour, minute and second and
        centisecond. For partial outputs the start date time is the end time
        when the previous output was made.";;
REGISTERED AS {q825Attribute  62};


supplementaryServices  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.SupplementaryServices;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    supplementaryServicesBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains information about the use of one or more
        supplementary services. Information about the use of one or more
        supplementary service is only possible in connection with a call record
        type. Each supplementary service is included as a SEQUENCE OF
        SupplementaryService.

        Each SupplementaryService construct contains relevant information about
        the use of a supplementary service. The attribute contains a service
        code identifying the supplementary service and an addition information
        about the action taken. An optional time stamp is provided for time
        dependent charging of supplementary services. The time stamp is a
        duration time relative to the startTimeStamp and is recorded in centisecond.

          For each service code information is provided indicating the action
          taken. The following actions are defined:

          *  Provision of supplementary service;

          *  Withdrawal of supplementary service;

          *  Registration of supplementary service;

          *  Erasure of supplementary service;

          *  Activation of supplementary service;

          *  Deactivation of supplementary service;

          *  Invocation of supplementary service;

          *  Disabling of supplementary service;

          *  Interrogation of supplementary service;

          If provided by the network, actions can be made on supplementary
          service by the operator. In such a case the service user element in
          the CDR will indicate the operator as the initiator of the action.

        In the case of functional signalling on ISDN further information of the
        supplementary service usage is provided by the optional functional
        information field. This field contains a set of 'management extensions'
        as defined by ITU-T Recommendation X.721.";;
REGISTERED AS {q825Attribute 63};


teleservice  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.Teleservice;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    teleserviceBehaviour BEHAVIOUR
      DEFINED AS
        "This information element shall contain the high layer compatibility
        information for a call or an event concerning a supplementary service.
        This information element is only relevant in connection with ISDN.";;
REGISTERED AS {q825Attribute 66};


timesOfDay  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.TimesOfDay;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    timesOfDayBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute specifies the times at which the log will automatically
        generate a file.";;
REGISTERED AS {q825Attribute 67};


trunkGroupIncoming  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.TrunkGroupIncoming;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    trunkGroupIncomingBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the symbolic name of the trunk that is used by
        the incoming call as seen by the NE. If the calling subscriber is a
        local subscriber then this information element is not relevant.";;
REGISTERED AS {q825Attribute  68};


trunkGroupOutgoing  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.TrunkGroupOutgoing;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    trunkGroupOutgoingBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute contains the symbolic name of the trunk that is used by
        the outgoing call as seen from the NE. If the called subscriber is a
        local subscriber then this information is not relevant.";;
REGISTERED AS {q825Attribute  69};


uUInfo  ATTRIBUTE
  WITH ATTRIBUTE SYNTAX Q825-CDR-ASN1Module.UUInfo;
  MATCHES FOR EQUALITY;
  BEHAVIOUR
    uUInfoBehaviour BEHAVIOUR
      DEFINED AS
        "This attribute shall contain the User-to-User info data counter. The
        counter shall indicate the total number of octets or elements
        transmitted or received by the subscriber using the User-to-user
        signalling supplementary service. Separate counters can be assigned to
        the 3 different User-to-user signalling services.";;
REGISTERED AS {q825Attribute  81};


createFile        ACTION
  BEHAVIOUR
    createFileBhv  BEHAVIOUR
      DEFINED AS
        "Receipt of this action causes the creation of a file containing the
        concatenated content of the specified event records. If no parameters
        are specified in the action then the file is created from all the
        records currently contained in the log. For logs where the record number
        has wrapped, the record time is used to determine that this has occurred
        and the 'wrapped' records shall be included  in the created file.

        The action response contains the name and size of the created file.";;
  MODE CONFIRMED;
  WITH REPLY SYNTAX  Q825-CDR-ASN1Module.CreateFileResponse;
REGISTERED AS {q825Action 1};


blockRecordNotification  NOTIFICATION
  BEHAVIOUR
    blockRecordNotificationBhv  BEHAVIOUR
      DEFINED AS
        "This notification is emitted whenever one of the triggering events
        described in the object class template occurs. The notification consists
        of a concatenation of the content of the call detail records currently
        contained in the blockingLog; i.e. the call detail records without the
        record overhead (Log Record Id, Managed Object Class and Instance and
        Logging Time).";;
  WITH INFORMATION SYNTAX   Q825-CDR-ASN1Module.BlockRecordInfo;
REGISTERED AS {q825Notification 1};


callDetailRecordNotification NOTIFICATION
  BEHAVIOUR
    callDetailRecordReportBehaviour BEHAVIOUR
      DEFINED AS
        "This notification is issued to transmit a call detail record. The
        immediate notification may be used by the Event Forwarding Discriminator
        to select records requiring real time handling by the OS. Remaining
        attributes can be used to further filter the information in the record
        content.";;
  WITH INFORMATION SYNTAX Q825-CDR-ASN1Module.RecordContent
    AND ATTRIBUTE IDS
      recordType                              recordType,
      startTimeStamp                          startTimeStamp,
      participantInfo                         participantInfo,
      bearerService                           bearerService,
      serviceUser                             serviceUser,
      callIdentificationNumber                callIdentificationNumber,
      supplementaryServices                   supplementaryServices,
      immediateNotificationForUsageMetering   immediateNotificationForUsageMetering,
      cause                                   cause,
      iNSpecificInfo                          iNSpecificInformation,
      partialGeneration                       partialGeneration,
      exchangeInfo                            exchangeInfo,
      relatedCallNumber                       relatedCallNumber,
      cDRPurpose                              cDRPurpose,
      additionalParticipantInfo               additionalParticipantInfo,
      callingPartyCategory                    callingPartyCategory,
      callingPartyType                        callingPartyType,
      chargingInformation                     chargingInformation,
      progress                                progress,
      accessDelivery                          accessDelivery,
      trunkGroupOutgoing                      trunkGroupOutgoing,
      trunkGroupIncoming                      trunkGroupIncoming,
      fallbackBearerService                   fallbackBearerService,
      teleservice                             teleservice,
      callDuration                            callDuration,
      uUInfo                                  uUInfo,
      standardExtensions                      standardExtensions,
      recordExtensions                        recordExtensions,
      b-PartyCategory                         b-PartyCategory,
      iSUPPreferred                           iSUPPreferred,
      networkManagementControls               networkManagementControls,
      glare                                   glare,
      recordId                                recordId,
      dataValidity                            dataValidity,
      callStatus                              callStatus,
      carrierId                               carrierId,
      dPC                                     dPC,
      oPC                                     oPC;
REGISTERED AS {q825Notification 2};


fileCreationNotification    NOTIFICATION
  BEHAVIOUR
    fileCreationNotificationBhv    BEHAVIOUR
      DEFINED AS
        "This notification is emitted whenever the fileGenerating Log creates a
        new file in order to let the managing system know that the file is
        available for retrieval.";;
  WITH INFORMATION SYNTAX  Q825-CDR-ASN1Module.FileCreationInfo;
REGISTERED AS {q825Notification 3};


blockGeneratingLog-managedElement NAME BINDING
  SUBORDINATE OBJECT CLASS blockGeneratingLog AND SUBCLASSES;
  NAMED BY SUPERIOR OBJECT CLASS "ITU-T Rec. M.3100: 1995":managedElement AND
    SUBCLASSES;
  WITH ATTRIBUTE "ITU-T Rec. X.721 | ISO/IEC 10165-2 : 1992":logId;
  CREATE WITH-AUTOMATIC-INSTANCE-NAMING;
  DELETE DELETES-CONTAINED-OBJECTS;
REGISTERED AS {q825NameBinding 3};


callDetailData-managedElement NAME BINDING
  SUBORDINATE OBJECT CLASS callDetailData AND SUBCLASSES;
  NAMED BY SUPERIOR OBJECT CLASS "ITU-T Rec. M.3100: 1995":managedElement AND
    SUBCLASSES;
  WITH ATTRIBUTE callDetailDataId;
  BEHAVIOUR
    callDetaildata BEHAVIOUR
      DEFINED AS
        "callDetailData objects are created and deleted implicitly, that is,
        they are created and deleted upon the occurrence of defined trigger
        events and are not explicitly manipulated by a managing system; i.e. a
        manager cannot perform any operations on instances of this object class.
        To support recording data in a callDetailData object two sets of
        triggers coming from the control objects are defined:

        -  Creation Triggers: events that cause creation of a callDetailData
           object,  these triggers are defined as part of the control object.

        -  Termination Triggers: events that cause deletion of a callDetailData
           object. Currently the termination is implicit as part of the data
           object behaviour. Deletion occurs upon completion of usage data
           collection for that instance of service.

        CDR notifications are emitted in response to reporting triggers (ITU-T
        Recommendation X.742) that are also defined as part of the control objects.";;
REGISTERED AS {q825NameBinding 5};


callDetailLogRecord-blockGeneratingLog NAME BINDING
  SUBORDINATE OBJECT CLASS callDetailLogRecord AND SUBCLASSES;
  NAMED BY SUPERIOR OBJECT CLASS blockGeneratingLog AND SUBCLASSES;
  WITH ATTRIBUTE "ITU-T Rec. X.721 | ISO/IEC 10165-2 : 1992":logRecordId;
  BEHAVIOUR
    callDetailLogRecordToblockGenerationLog BEHAVIOUR
      DEFINED AS
        "instance of this managed class will be created automatically when the
        blockGeneratingLog receives a callDetailNotification matching the
        discriminating construct. The records are automatically deleted after
        the notification is emitted.";;
REGISTERED AS {q825NameBinding 1};


callDetailLogRecord-fileGeneratingLog NAME BINDING
  SUBORDINATE OBJECT CLASS callDetailLogRecord AND SUBCLASSES;
  NAMED BY SUPERIOR OBJECT CLASS fileGeneratingLog AND SUBCLASSES;
  WITH ATTRIBUTE "ITU-T Rec. X.721 | ISO/IEC 10165-2 : 1992":logRecordId;
  BEHAVIOUR
    callDetailLogRecordToFileGenerationLog BEHAVIOUR
      DEFINED AS
        "instance of this managed class will be created automatically when the
        fileGeneratingLog receives a callDetailNotification matching the
        discriminating construct. The records are automatically deleted after
        the records are copied to the file.";;
REGISTERED AS {q825NameBinding 2};


fileGeneratingLog-managedElement NAME BINDING
  SUBORDINATE OBJECT CLASS fileGeneratingLog AND SUBCLASSES;
  NAMED BY SUPERIOR OBJECT CLASS "ITU-T Rec. M.3100: 1995":managedElement AND
    SUBCLASSES;
  WITH ATTRIBUTE "ITU-T Rec. X.721 | ISO/IEC 10165-2 : 1992":logId;
  CREATE WITH-AUTOMATIC-INSTANCE-NAMING;
  DELETE DELETES-CONTAINED-OBJECTS;
REGISTERED AS {q825NameBinding 4};

-- =============================================================================
--  Formatted by OpenT2 Version 5.5.6.34 on Fri Aug 20 11:20:49 2004