2.2 Application Chaining
Application Chaining is a method for invoking multiple DSR applications in sequence on the same DSR.
- When the Request enters the system at the Application Routing Table (ART).
- When DSR Application 1 sends the Request back to the Diameter Routing Function at the Application Routing Table (ART).
- When DSR Application 2 sends the Request back to the Diameter Routing Function at the Application Routing Table (ART).
At the Application Routing Table (ART) if there is no matching Application Routing Rule for the Request, the Request routes to Peer Route Table for processing.
- Application Route Table (ART)
Application Route Tables are used for routing Request messages to DSR applications. An ART contains a prioritized list of user-configurable Application Routing Rules. Each Application Routing Rule associates Request message content with a DSR application.
An ART is searched, when a received Request message from a Peer Node or a DSR application. Searching an ART when a Request message is received from a DSR application allows the operator to route the ingress Diameter transaction to multiple DSR applications in sequence. The operator can create multiple ARTs to assign an ART to a Request message based upon a set of user-defined criteria.
- Application Routing Rules
An ART consists of a set of prioritized Application Routing Rules that the Diameter Routing Function searches with the content of a Request message, to determine whether to forward the message to a DSR application for processing.
One ART is searched each time a Request message received from a Peer Node or a DSR application. This method allows forwarding a Diameter transaction to one or more DSR applications for processing.
However, the Diameter Routing Function does not allow a DSR application to process a Diameter transaction more than once. The Diameter Routing Function internally keeps track of which DSR applications have already processed the message. When the Diameter Routing Function searches an ART and encounters an Application Routing Rule associated with a DSR application that processed the transaction, the Diameter Routing Function bypasses the Application Routing Rule.
The system default ART is not removable using the configuration GUI. The user can create additional ARTs and then define, through configuration, which ART is searched based on ART precedence selection rules.
- The ART provided by the DSR application if it exists (applies only when the Request message was received from a DSR application)
- The ART assigned to the ingress Peer Node from which the Request message was received if it exists
- The ART assigned to the Diameter Application ID in the Request message header if it exists
- The default ART
- Each time the Diameter Routing Function receives a Request message from a Peer Node or DSR application, it searches the Application Route Tables to determine where to forward the message.
- The highest priority Application Routing Rule matched defines where to forward the message.
- If no Application Routing Rule match is found, the Diameter Routing Function begins Relay Agent routing to an upstream Peer Node.
When FABR or RBAR and the Diameter-MAP InterWorking Function (DM-IWF) applications run in the same DA-MP, the same Diameter Request message can be processed by both applications.
- After the Request is received from the Peer, the Diameter Routing Function searches the Application Routing Rules for the highest priority-matching rule. If this rule contains the FABR application name, the results route the Request to FABR.
- The FABR processes the message and returns it to the Diameter Routing Function.
- The Diameter Routing Function searches the Application Routing Rules for the highest priority matching rule (excluding all rules that would result in routing of the Request to FABR again).This rule contains the DM-IWF application name and the results route the Request to DM-IWF.
- DM-IWF processes the message and sends it to an MD-IWF application (SS7-MP).
- DM-IWF processes the message and sends it to the Diameter Routing Function.
- The Diameter Routing Function searches the Application Routing Rule for the highest priority matching rule (excluding all rules that would cause routing of the Request to DM-IWF again). This rule contains the FABR application name and results in the Request being routed to FABR for processing.
- FABR returns the message to the Diameter Routing Function to complete the routing process.