Diameter message mediation helps to solve interoperability issues by using rules to manipulate header parts and Attribute-Value Pairs (AVPs) in an incoming routable message and peer to peer messages, when data in the message matches some specified conditions at a specified point of message processing. Tasks of the “if condition matches, then do some action” type can be solved in the most efficient way.
The Diameter Mediation feature can make the routable decisions of send reply, drop the message or set the destination-realm.
After a Rule Template definition is complete, a Rule Set can be generated from the Rule Template. The data needed for the Conditions and the Actions is provisioned in the generated Rule Set. A Mediation rule is an instance of the data needed for the execution of Mediation logic. The actual data needed for the Conditions and the Actions is provisioned in one or more rules in the generated Rule Set. All of the rules associated with one Mediation Rule Template are collectively referred to as the Rule Set for the Rule Template.
Rule Sets can be associated with pre-defined Request or Answer Trigger Points in the DSR message processing logic.
The Rule Template state can be changed to Test for testing its Rule Sets or to Active for enabling its Rule Sets for use with live traffic.
When Administrator privileges are deactivated, the state cannot be changed back to Development.
A Diagnostics Tool is available to test Mediation rules before they are subjected to live traffic in the network. The DSR Diagnostics Tool logs the rules applied, Actions taken, and other diagnostics information when a test message is injected into the system. The tool generates traffic and sends Diameter Messages on a test connection. As a test message traverses the system, the DSR application logic generates diagnostics messages at Trigger points. The Diameter > Reports > Diagnostics Tool GUI is used to view the diagnostics log reports. See Reports in the DSR Diameter User’s Guide.
The state of an imported Rule Template is set to Test by default.