This feature analyses the contents of an incoming Tcap Message to determine if it contains SRIForSM result SUCCESS or FAILURE (AbsentSubscriber).
Feature cheat sheet
Feature Name | Network Operator Data | Used in PlanId(s) | Stateful or Stateless | POJO Feature or SBB Feature |
---|---|---|---|---|
DetermineSRIForSMFailureResult |
No |
N/A |
Stateless |
POJO |
Session Input variables
The feature reads the following fields in Session State
Session State variable name | Variable type | Comments |
---|---|---|
MTFSMDeliveryOrder |
com.opencloud.sentinel.ipsmgw.shared.config.profile.DeliveryOrder |
In the absentSubscriber case, If CS_ONLY, will set LookupIMSRegistration to false |
Session Output variables
The feature sets the following fields in Session State
Session State variable name | Variable type | Comments |
---|---|---|
LookUpIMSRegistration |
Boolean |
|
SRI4SMResult |
enum |
Indicates if the SendRoutingInfoForSM request has succeeded. Allowed values are |
SRI4SMError |
TcapError |
The TcapError received in response to the SendRoutingInfoForSMRequest |
Behaviour
The feature checks if the trigger message is a TCAP Message, if it is then it analyses the components to determine if the Tcap Message contains a SRIForSM response and sets the following session state fields:
-
SRI4SMResult
SUCCESS
orFAILURE
depending on whether a TCOperationResult or TCError -
LookupIMSRegistration
if a TCErrorAbsentSubscriber
was received.
Both are used subsequently in feature scripts to control behaviour, LookupIMSRegistration
is used to indicate whether subscriber data should be read from Cassandra (IMS Registration).
If the subscriber is IMS registered or the SRIForSM result indicated success then delivery will be attempted.
SRI4SM_SipThirdPartyAccess_PartyResponse:
FeatureScriptSrc: featurescript SipThirdPartyAccessPartyResponse {
run IPSMGWMapProxy
run DetermineSRIForSMFailureResult
if session.LookupIMSRegistration {
run IPSMGWRegistrationLookupFromCassandra
}
if session.isSMSOverIPRegistered or session.SRI4SMResult.SUCCESS {
run IPSMGWModifySRILeg
run IPSMGWGenerateMTCorrelationId
run IPSMGWStoreRoutingInfoCassandra mode "store"
run IPSMGWAdjustRoutingInfoResponse
}
}