ApplyCharging

Overview

The ApplyCharging operation represents the receipt of an INAP ApplyCharging. The test instance will abort if any other inbound message is received.

This message is received by the IN Tester when it is simulating the role of a Service Switching Platform (SSP).

Attributes

The operation attributes are as follows.

Attribute Type Description
type String inap.ssp_from_scp.ApplyCharging
label String An optional label for this node if it is to be the target of a branch operation.
last_component 1 / 0 If 1 performs a test that this is the last component of a TCAP_END message.
If 0 performs a test that this is not the last component of a TCAP_END message.
(Default = do not perform any test).
tcap_ac null / TCAP alias / Hex String Tests the received TCAP Application Context from the first inbound TCAP_CONTINUE / TCAP_END dialogue portion.
If null tests that we did not receive a dialogue portion.
(Default = do not perform any test).
tcap_result Integer Tests the received result value from the first inbound TCAP_CONTINUE / TCAP_END dialogue portion.
If null tests that we did not receive a dialogue portion.
(Default = do not perform any test).
tcap_result_diagnostic_user Integer Tests the received dialogue-service-user value from the first inbound TCAP_CONTINUE / TCAP_END dialogue portion.
If null tests that we did not receive a dialogue portion, or that it did not contain a user result diagnostic.
(Default = do not perform any test).
tcap_result_diagnostic_provider Integer Tests the received dialogue-service-provider value from the first inbound TCAP_CONTINUE / TCAP_END dialogue portion.
If null tests that we did not receive a dialogue portion, or that it did not contain a provider result diagnostic.
(Default = do not perform any test).
variant String Variant key as described in N2::INAP::Codec ApplyCharging.
arguments Object [Required] The structure of the INAP ApplyChargingArg we expect to receive.
The received argument will be decoded, the elements tested, and PASS/FAIL match entries will be generated in the match log.
To check that an inbound value is NOT present, specify the argument as null.
.* Fields as described in N2::INAP::Codec ApplyCharging.

Example

This is an example genband variant entry within the operations array:

{
    "type": "inap.ssp_from_scp.ApplyCharging",
    "variant": "genband",
    "arguments" : {
        "aChBillingChargingCharacteristics": {
            "AChBillingChargingCharacteristics1": {
                "maxConversationTime": 40,
                "treatmentForFirstWarning": {
                    "warningTimeBeforeExpiry": 30,
                    "informationToSend": {
                        "inbandInfo": {
                            "messageID": {
                                "elementaryMessageID": 500
                            },
                            "numberOfRepetitions": 1,
                            "duration": 0,
                            "interval": 0
                        }
                    }
                }
            }
        }
    }
}

This is an example camel variant entry within the operations array:

    {
      "type": "inap.scp_to_ssp.ApplyCharging",
      "variant": "camel",
      "arguments": {
            "aChBillingChargingCharacteristics": {
                "timeDurationCharging": {
                    "releaseIfdurationExceeded": "1",
                    "maxCallPeriodDuration": "600"
                }
            }
        }
    }

This is an example generic entry (no variant specified) within the operations array:

    {
        "type": "inap.scp_to_ssp.ApplyCharging",
        "arguments" : {
            "partyToCharge": {
                "sendingSideID_hex": "02"
            },
            "achBillingChargingCharacteristics_hex": "00421A0099"
        }
    }