A composition service is invoked using an <invoke>
element.
Below are possible attributes and child elements for an <invoke>
element, plus an example script and diagram:
Example
The following script invokes composition services using the <invoke>
element with different options. The first service (VPN) will use a timeout value of 1500 ms; the second service (HomeZone) will use all the defaults; and the last service (PrePay) is so important that if it times out, the processing of the service composition will be terminated.
Attributes and child elements
Below are possible attributes and child elements for an <invoke>
element
Attributes
Name | Description | Optional? | ||
---|---|---|---|---|
service |
The service to be invoked. Must refer to a service defined in the SIS (using a service reference). |
✘ |
||
timeout |
Specifies the timeout period, measured in milliseconds, that the SIS will wait for a response from the service when required. If present, this timeout overrides the default timeout configured for the service. |
✔ |
||
on-timeout |
Specifies the behaviour the SIS will take if a service response timeout (or other service failure) occurs at any time for the invoked service. The supported values for this attribute are:
The default value if this attribute is not specified is |
✔ |
Child elements
Name | Description | Optional? |
---|---|---|
service-input-interceptor |
A service input interceptor. The SIS evaluates this input interceptor before it delivers any event to the service. |
✔ |
service-output-interceptor |
A service output interceptor. The SIS evaluates this output interceptor whenever the service generates output intended for the network. |
✔ |
terminate |
This element can only be specified if the |
✔ |
message-handling-options |
This element specifies configurable options for how the SIS manages specific messages received from the service. |
✔ |
extension-options |
Specifies arbitrary extension options supported by the SIS for service invocation. This is a collection of |
✔ |
Extension options supported by <invoke> elements
Option | Description | Required Value |
---|---|---|
SIP:traffic-reduce |
This option can be used if you want to invoke a SIP service, but want to reduce the amount of SIP traffic to that service by only passing it the initial request, then excluding it from the call. When this option is present, the SIS invokes the service by sending it the initial request. When the service forwards the request, the SIS sends an error response (default: The
|
n/a |
IN:accept-non-continuing-close |
Typically, if the SIS is expecting a response from an IN service and that service just closes the dialog to the SIS without first providing a response, the SIS will regard this as an error condition. However if this extension option is specified, the SIS will instead behave as if the service provided a |
n/a |
IN:proxied-invoke-timer-long |
When an operation invoke is sent by an external IN service to the SIS, the timeout period specified for the invoke is not included in the wire protocol message that the SIS receives. When the SIS forwards an operation invoke from an external service to the network, it needs to specify its own invoke timeout period for that operation. The default invoke timeout configured for the SIS or service is adequate for most operations; however operations with "long" timers (Play Announcement, Prompt and Collect User Information) may need longer timeout periods for correct operation. This extension option allows a longer default timeout period to be specified for the service for these long timer operations. |
A long integer value greater than or equal to zero specified in millisecond units. |
ECS1:allow-camel-style-apply-charging |
The Ericsson INAP CS1 specification states that an Apply Charging request may only be sent by a service if the BCSM is suspended at a detection point. However an operator customisation exists that allows Apply Charging requests to be sent while the BCSM is in any valid state, the same as in CAMEL protocols. This extension option allows the CAMEL behaviour for Apply Charging to be supported for Ericsson INAP protocol dialogs (both CS1 and CS1+). |
n/a |