INAP Op - RequestReportBCSMEvent
INAP Operation - RequestReportBCSMEvent
The RequestReportBCSMEvent operation represents the receipt of an INAP RequestReportBCSMEvent. 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.RequestReportBCSMEvent
label
String
An optional label for this node if it is to be the target of a
branch
operation.
arguments
Object
[Required] The structure of the INAP RequestReportBCSMEventArg we expect to receive.
Expressions may be supplied within this structure.
Example
This is an example entry within the operations
array:
{
"type": "inap.scp_to_ssp.RequestReportBCSMEvent",
"send_with_next": true,
"arguments" : {
"oCalledPartyBusy": 1,
"routeSelectFailure": 1,
"oNoAnswer": 1,
"oNoAnswer_timer": 300,
"oDisconnectLeg1": 1,
"oDisconnectLeg2": 1,
"oAbandon": 1,
"routeSelectFailure": 1
}
}
Arguments
The following 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
.
Note that when performing these matches, the order of the received BCSMs does not matter. When checking for the presence/absence of the BCSMs with specified legID, the events will be considered “matched” regardless of the ordering of the events.
The matching will check that all expected event requests are present, and will also check for the presence of any unexpected event requests.
Argument
Type
Notes
bcsmEvents
Array of
Objects
Array of expected anonymous BCSM event objects representing events to be armed.
In most cases you should be able to use the short-hand arguments instead.
.
eventTypeBCSM
Integer
Expected numeric value.
.
monitorMode
Integer
Expected numeric value.
.
legID
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).
.
dPSpecificCriteria
Object
Expected extended information (applicable to some BCSM events).
.
numberOfDigits
Integer
Expected numeric value.
.
applicationTimer
Integer
Expected numeric value.
routeSelectFailure
Flag
Expects [
eventTypeBCSM
= 4, monitorMode
= 1 ]
oCalledPartyBusy
Flag
Expects [
eventTypeBCSM
= 5, legID
.sendingSideID
= 2, monitorMode
= 0 ]
oNoAnswer
Flag
Expects [
eventTypeBCSM
= 6, legID
.sendingSideID
= 2, monitorMode
= 0 ]
oNoAnswer_timer
Integer
Sets the expected numeric value of
dPSpecificCriteria
.applicationTimer
associated with
an expected oNoAnswer
event.
oAnswer
Flag
Expects [
eventTypeBCSM
= 7, legID
.sendingSideID
= 2, monitorMode
= 1 ]
oDisconnectLeg1
Flag
Expects [
eventTypeBCSM
= 9, legID
.sendingSideID
= 1, monitorMode
= 1 ]
oDisconnectLeg2
Flag
Expects [
eventTypeBCSM
= 9, legID
.sendingSideID
= 2, monitorMode
= 0 ]
oAbandon
Flag
Expects [
eventTypeBCSM
= 10, legID
.sendingSideID
= 1, monitorMode
= 1 ]
tCalledPartyBusy
Flag
Expects [
eventTypeBCSM
= 13, legID
.sendingSideID
= 2, monitorMode
= 0 ]
tNoAnswer
Flag
Expects [
eventTypeBCSM
= 14, legID
.sendingSideID
= 2, monitorMode
= 0 ]
tNoAnswer_timer
Integer
Sets the expected numeric value of
dPSpecificCriteria
.applicationTimer
associated with
an expected tNoAnswer
event.
tAnswer
Flag
Expects [
eventTypeBCSM
= 15, legID
.sendingSideID
= 2, monitorMode
= 1 ]
tDisconnectLeg1
Flag
Expects [
eventTypeBCSM
= 17, legID
.sendingSideID
= 1, monitorMode
= 1 ]
tDisconnectLeg2
Flag
Expects [
eventTypeBCSM
= 17, legID
.sendingSideID
= 2, monitorMode
= 0 ]
tAbandon
Flag
Expects [
eventTypeBCSM
= 18, legID
.sendingSideID
= 1, monitorMode
= 1 ]