INAP Op - ApplyCharging
INAP Operation - ApplyCharging
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).
- Direction: INBOUND
- From: SCP (Application Under Test)
- To: SSP (IN Tester)
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.
variant
String
camel
, genband
(or unspecified for generic default).
arguments
Object
[Required] The structure of the INAP ApplyChargingArg we expect to receive.
Expressions may be supplied within this structure.
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"
}
}
Arguments (All Variants)
The following inbound arguments are supported for all variants. Unless specifically indicated
otherwise, the actual received inbound arguments will be checked for each supplied “expected”
value, and Pass/Fail entries will be generated in the test instance check_log
.
To check that an inbound value is NOT present, specify the argument as null
.
Argument
Type
Notes
sendCalculationToSCPIndication
Integer
Specify the expected integer value.
partyToCharge
Object
May contain sendingSideID and/or receivingSideID as appropriate.
.
sendingSideID
Binary String
Specify this parameter as a single byte binary value.
.
sendingSideID_hex
Hex String
Alternatively specify a two-character hex encoding.
(Ignored if sendingSideID
is defined).
.
receivingSideID
Binary String
Specify this parameter as a single byte binary value.
.
receivingSideID_hex
Hex String
Alternatively specify a two-character hex encoding.
(Ignored if receivingSideID
is defined).
Arguments (CAMEL)
The following additional inbound arguments are supported. Unless specifically indicated
otherwise, the actual received inbound arguments will be checked for each supplied “expected”
value, and Pass/Fail entries will be generated in the test instance check_log
.
To check that an inbound value is NOT present, specify the argument as null
.
Argument
Type
Notes
achBillingChargingCharacteristics
Object
Container for inner values.
.
timeDurationCharging
Object
Container for inner values.
.
maxCallPeriodDuration
Integer
Specify the expected integer content.
.
releaseIfdurationExceeded
Boolean
Specify “1” if the value is expected to be present.
.
tariffSwitchInterval
Integer
Specify the expected integer content.
.
tone
Boolean
Specify “1” if the value is expected to be present.
.
tone_hex
Hex String
Alternatively specify the expected value in hex.
Arguments (Genband)
The following additional inbound arguments are supported. Unless specifically indicated
otherwise, the actual received inbound arguments will be checked for each supplied “expected”
value, and Pass/Fail entries will be generated in the test instance check_log
.
To check that an inbound value is NOT present, specify the argument as null
.
Argument
Type
Notes
achBillingChargingCharacteristics
Object
Container for inner parameters.
.
AChBillingChargingCharacteristics1
Object
Container for Genband R1.
.
maxConversationTime
Integer
Expected numeric value.
.
treatmentForFirstWarning
Object
Container for first warning treatment.
.
warningTimeBeforeExpiry
Integer
Expected numeric value.
.
informationToSend
Object
Container for audio parameters.
.
inBandInfo
Object
Container for audio message parameters.
.
messageID
Object
Container for audio message ID.
.
elementaryMessageID
Integer
Expected numeric value.
.
numberOfRepetitions
Integer
Expected numeric value.
.
duration
Integer
Expected numeric value.
.
interval
Integer
Expected numeric value.
.
tone
Object
Container for audio tone parameters.
.
toneID
Integer
Expected numeric value.
.
duration
Integer
Expected numeric value.
.
treatmentForFinalWarning
Object
Container for first warning treatment.
Structure is identical to treatmentForFirstWarning
.
Arguments (Generic)
The following additional inbound arguments are supported. Unless specifically indicated
otherwise, the actual received inbound arguments will be checked for each supplied “expected”
value, and Pass/Fail entries will be generated in the test instance check_log
.
To check that an inbound value is NOT present, specify the argument as null
.
Argument
Type
Notes
aChBillingChargingCharacteristics
Binary String
Specify the expected binary content.
aChBillingChargingCharacteristics_hex
Hex String
Alternatively specify the expected tag in hex.