PlayAnnouncement
Overview
The PlayAnnouncement operation represents the receipt of an INAP PlayAnnouncement. 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) or a Specialized Resource Platform (SRP).
- Direction: INBOUND
- From: SCP (Application Under Test)
- To: SSP (IN Tester) or SRP (IN Tester)
Attributes
The operation attributes are as follows.
Attribute | Type | Description |
---|---|---|
type
|
String |
inap.ssp_from_scp.PlayAnnouncement or inap.srp_from_scp.PlayAnnouncement
|
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 PlayAnnouncementArg 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_srp.PlayAnnouncement",
"arguments" : {
"informationToSend": {
"inbandInfo": {
"messageID": {
"variableMessage": {
"elementaryMessageID": "3",
"variableParts": [
{ "number": "4500" }
]
}
}
}
}
}
}
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
.
To check that an inbound value is NOT present, specify the argument as null
.
Argument | Type | Notes |
---|---|---|
informationToSend
|
Object | Container for inner elements. |
.inbandinfo
|
Object | Container for announcement parameters. |
.messageID
|
Object | Container for announcement message parameters. |
.elementaryMessageID
|
Integer | Specify the expected value for a single message ID. |
.text
|
Object | Container for text message parameters. |
.messageContent
|
IA5 String | Specify the expected 7-bit IA5 string value. |
.attributes
|
Binary String | Specify the expected binary value. |
.elementaryMessageIDs
|
Array of Integer | Expected array of Integer message IDs. |
.variableMessage
|
Object | Container for expected variable message parameters. |
.elementaryMessageID
|
Integer | Specify the expected value for a single variable part message ID. |
.variableParts
|
Array of Object | Array of anonymous objects representing the expected variable parts. |
.integer . number . date . time . price
|
Integer Binary String Binary String Binary String Binary String |
Each expected variable part is an object defining exactly one of these parameters. |
.numberOfRepetitions
|
Integer | Specify the expected numeric value. |
.duration
|
Integer | Specify the expected numeric value (in seconds). |
.interval
|
Integer | Specify the expected numeric value (in seconds). |
.tone
|
Object | Container for audio tone parameters. |
.toneID
|
Integer | Specify the expected numeric value. |
.duration
|
Integer | Specify the expected numeric value (in seconds). |
.displayInformation
|
IA5 String | Specify the expected 7-bit IA5 string value. |
disconnectFromIPForbidden
|
Boolean | Specify "1" if the value is expected to be present. |
requestAnnouncementComplete
|
Boolean | Specify "1" if the value is expected to be present. |