2.6.2 Application Routing Table
An application route table contains one or more application routing rules that can be used for routing request messages to DSR applications. Up to 1500 application routing rules can be configured per application route table. Up to 1500 application route tables can be configured per DSR network element. Which means, if one ART has 1500 rules then DSR can have maximum 33 such ARTs, so that the total number of rules will remain within 50,000.
An application routing rule defines message routing to a DSR application based on message content matching the application routing rule's conditions. There are six application routing rule parameters:
- Destination-Realm
- Destination-Host
- Application-Id
- Command-Code
- Origin-Realm-
- Origin-Host
When a diameter message matches the conditions of an application routing rule the message is routed to the DSR application specified in the rule.
Rule Action defines the action to perform when a routing rule is invoked. Actions supported are:
- Route to Application - route the message to the local Application associated with this Rule.
- Forward to Egress Routing - ART search stops and moves on to PRT.
- Send Answer Response – ART generates an Answer. This Answer unwinds any previously encountered DSR Applications that want to process the Answer. Normal controls for Answer are given (Result-Code vs Experimental Result Code, Result-Code value, Vendor-ID, and ErrorMessage string).
- Forward to Application Route Table - ART forwards the request message to the specified Application Route Table.
- Forward to Peer Route Table - ART will forward the request message to the specified Peer Route Table.
Abandon With No Answer - discard the message and no Answer is sent to the originating Peer NodeApplication routing rules are assigned a priority in relation to other application routing rules. A message is handled based on the highest priority routing rule that it matches. The lower the number an application routing rule is assigned the higher priority it has. (1 is highest priority and 1000 is lowest priority.)
One or more DSR applications must be activated before application routing rules can be configured.