Description

Component name

Sentinel-XPath

Applicable contexts

  • SS7 service

  • Diameter Mediation Service

Features using component

The Sentinel XPath component supports a subset of the XPath language, which supports Diameter messages in Sentinel.

It supports path expressions for querying Diameter messages. The path elements are Diameter AVPs with ‘-’ removed. For example, Multiple-Services-Credit-Control has path element MultipleServicesCreditControl.

Note The elements are case sensitive.

Examples

Query the Validity-Time AVP from the first Multiple-Services-Credit-Control AVP:

MultipleServicesCreditControl[1]/ValidityTime

Query the command-level Result-Code AVP:

ResultCode

Query the Subscription-Id AVP:

SubscriptionId

XPath predicates can be used to query specific AVPs where multiple AVPs of that type are permitted. For instance, multiple MultipleServicesCreditControl AVPs are permitted in CreditControlRequest and CreditControlAnswer.

To return the Result-Code AVP from the MultipleServiceCreditControl AVP with Rating-Group set to 1, use the following expression:

  • MultipleServicesCreditControl[RatingGroup=1]/ResultCode

Previous page Next page
Sentinel Express Version 4.1