INAP Op - ApplyChargingReport
INAP Operation - ApplyChargingReport
The ApplyChargingReport operation represents the sending of an INAP ApplyChargingReport.
This message is sent by the IN Tester when it is simulating the role of a Service Switching Platform (SSP).
- Direction: OUTBOUND
- From: SSP (IN Tester)
- To: SCP (Application Under Test)
Attributes
The operation attributes are as follows.
Attribute
Type
Description
type
String
inap.ssp_to_scp.ApplyChargingReport
label
String
An optional label for this node if it is to be the target of a
branch
operation.
variant
String
camel
or genband
(or unspecified for generic default).
send_with_next
Boolean
Request that this INAP operation should be bundled with the next outbound TCAP.
(Default = false).
send_and_close
Boolean
Request that this INAP operation should be sent as TCAP END.
(Default = false).
arguments
Object
[Required] The structure of the INAP ApplyChargingReportArg to construct and send.
Expressions may be supplied within this structure.
Example
This is an example genband
variant entry within the operations
array:
{
"type": "inap.ssp_to_scp.ApplyChargingReport",
"variant": "genband",
"arguments" : {
"callResultRefinement1": {
"usedTime": 200,
"cause_cause": 31
}
},
"send_with_next": true
}
This is an example camel
variant entry within the operations
array:
{
"type": "inap.scp_from_ssp.ApplyChargingReport",
"variant": "camel",
"arguments": {
"CAMEL-CallResult": {
"timeDurationChargingResult": {
"callActive": 0,
"callReleasedAtTcpExpiry": 1,
"timeInformation": {
"timeIfNoTariffSwitch": 600
},
"partyToCharge": {
"receivingSideID_hex": "01"
}
}
}
}
}
This is an example generic entry (no variant specified) within the operations
array:
{
"type": "inap.scp_from_ssp.ApplyChargingReport",
"variant": "camel",
"arguments": {
"CallResult_hex": "01000944A1"
}
}
Arguments (Genband)
The following outbound arguments are supported.
Argument
Type
Notes
callResultRefinement1
Object
[Required] Outer container for all parameters.
.
usedTime
Integer
[Required] Mandatory parameter.
.
cause
Binary String
This attribute can be specified as binary data. Alternatively, specify
the individual components below.
.
cause_cause
.cause_standard
.cause_location
Integer
Integer
Integer
Range 0..127, default = 31
Range 0..3, default = 0
Range 0..15, default = 0
(All ignored if cause
is defined).
Arguments (Camel)
The following outbound arguments are supported.
Argument
Type
Notes
CAMEL-CallResult
Object
[Required] Outer container for all parameters.
timeDurationChargingResult
Object
[Required] Inner container for all parameters.
.
partyToCharge
Object
.
receivingLegID
Binary String
Specify this parameter as a single byte binary value.
.
receivingLegID_hex
Hex String
Alternatively specify a two-character hex encoding.
(Ignored if receivingLegID
is defined).
.
timeInformation
Object
.
timeIfNoTariffSwitch
Integer
Unit = 100ms.
.
timeIfTariffSwitch
Object
.
timeSinceTariffSwitch
Integer
.
tariffSwitchInterval
Integer
.
callActive
Boolean
(Default = 1)
.
callReleasedAtTcpExpiry
NULL
(Default = Not Present)
.
extensions
Array of
Object
Specify extension parameters as an array of Objects.
.
type
Integer
Must match an
inap
.extensions
number from the ExecuteTest
request.
.
criticality
Integer
Integer
(Default = 0).
.
value
Binary String
This attribute can be specified as binary data.
.
value_inner
Integer/String
Used as INTEGER or OCTET STRING as per extension encoding.
(Ignored if value
is defined).
Arguments (Generic)
The following outbound arguments are supported.
Argument
Type
Notes
CallResult
Binary String
This attribute can be specified as binary data.
CallResult_hex
Hex String
Alternatively, provide a string in hex format.
(All ignored if CallResult
is defined).