Selective Updates
Selective updates are commands that enable the system to selectively update a MATRIXX Data Container (MDC) as it is processed. They perform basic transformations on the MDCs.
Selective Update Locations
Location | String | Service Name / Task Name | Description |
---|---|---|---|
Charging Server input interface | ChargingServer:Input | charging_server / normalization_task | Operates on an MDC received from a gateway before the Charging Server processes the MDC. |
Charging Server to Transaction Server interface | ChargingServer:ToTransactionServer | charging_server / enrichment_task | Operates on an MDC that has been processed by the Charging Server before it is sent to the Transaction Server. See the discussion below about enrichment tasks for more information. |
Charging Server pricing to outbound TCAP interface | ChargingServer:ToTcapOutbound | charging_server / enrichment_task | Operates on an MtxTcapMsg MDC after attributes have been added, but before the outbound TCAP messages are constructed. See the discussion below about enrichment tasks for more information. |
Charging Server output interface | ChargingServer:Output | charging_server / response_task | Operates on an MDC that is being sent to a gateway. |
Charging Server Camel to rating interface | ChargingServer:CamelToRating | charging_server / charging_task | Operates on an MDC sent from the FromTcapTask to the ChargingTask. |
Diameter Gateway input interface | DiameterGateway:Input | diameter_gateway / from_diameter_task | Operates on an MDC created from a Diameter packet received from the network. |
Diameter Gateway output interface | DiameterGateway:Output | diameter_gateway / to_diameter_task | Operates on an MDC just before it is converted to a Diameter packet and then sent to the network. |
MDC Gateway input interface | MdcGateway:Input | mdc_gateway / from_network_task | Operates on an MDC created from a packet received from the network. |
MDC Gateway output interface | MdcGateway:Output | mdc_gateway / to_network_task | Operates on an MDC just before it is converted to a packet and then sent to the network. |
CDR Converter input interface | CdrConverter:Output | cdr_converter / cdr_converter_driver_task | Operates on an MDC that has been received by the CDR Converter. |
CDR Converter dispatcher output interface | CdrConverter:Input | cdr_converter / cdr_dispatcher_sender_task | Operates on an MDC after it has been processed by the CDR Converter. |
CDR Converter Diameter input interface | CdrConverter:Diameter:Input | cdr_converter / from_diameter_task | Operates on an MDC from a Diameter socket to the CDR Converter. |
CDR Converter Diameter output interface | CdrConverter:Diameter:Output | cdr_converter / to_diameter_task | Operates on an MDC from the CDR Converter to a Diameter socket. |
ActiveMQ ActiveMQ Gateway Diameter input interface | ActiveMQGateway:Input | mdc_gateway / from_activemq_task | Operates on an MDC from an ActiveMQ connection to the pod's ActiveMQ Gateway. |
ActiveMQ Gateway Diameter output interface | ActiveMQGateway:Output | mdc_gateway / to_activemq_task | Operates on an MDC from the pod's ActiveMQ Gateway to an ActiveMQ server. |
CAMEL Application Part (CAP) SCCP input interface | CamelGateway:SCCP:Input | camel_gateway / from_sccp_task | Operates on an MDC from an SCCP socket to CAMEL Gateway. |
CAMEL Application Part (CAP) SCCP output interface | CamelGateway:SCCP:Output | camel_gateway / to_sccp_task | Operates on an MDC from the CAMEL Gateway to an SCCP socket. |
Network Enabler sender interface | NetworkEnabler:Sender | network_enabler / sender_task | In case of a domain failure, operates on the decoded M3UA message in a MtxTcapMsg MDC. |
Network Enabler domain lookup interface | NetworkEnabler:Domain:Lookup | network_enabler / domain_lookup_task | In case of a domain failure, operates on the decoded M3UA message in a MtxTcapMsg MDC. |
Network Enabler incoming interface | NetworkEnabler:Incoming | network_enabler / external_network_task | In case of a domain failure, operates on the decoded M3UA message in a MtxTcapMsg MDC. |
Selective updates handle MDCs from Diameter Gateway, MDC Gateway, and CAMEL Gateway. A common
location for a selective update is between Diameter Gateway and the Charging Server. For example, you can define a selective update to add a default value to an optional AVP, such as
3GPP-SGSN-MCC-MNC
. For a complete description of AVP to MDC data mapping, see MATRIXX Diameter Integration.
Selective Update Sequences
- Receive
- Receive a Diameter packet.
- diameter_gateway:from_diameter_task
- charging_server:normalization_task
- charging_server:from_tcap_task
- charging_server:charging_task
- charging_server:enrichment_task
- transaction_server
- Send
- transaction_server
- charging_server:response_task
- diameter_gateway:to_diameter_task
- Send a Diameter packet.
- Receive
- Receive a packet.
- camel_gateway:from_sccp_task
- charging_server:normalization_task
- charging_server:from_tcap_task
- charging_server:charging_task
- charging_server:enrichment_task
- transaction_server
- Send
- transaction_server
- charging_server:response_task
- camel_gateway:to_sccp_task
- Send a packet.
- Receive
- Receive a packet.
- mdc_gateway:from_network_task
- charging_server:normalization_task
- charging_server:from_tcap_task
- charging_server:charging_task
- charging_server:enrichment_task
- transaction_server
- Send
- transaction_server
- charging_server:response_task
- mdc_gateway:to_network_task
- Send a packet.
- Receive
- Receive a packet.
- mdc_gateway:from_activemq_task
- mdc_gateway:from_network_task
- charging_server:normalization_task
- charging_server:from_tcap_task
- charging_server:charging_task
- charging_server:enrichment_task
- transaction_server
- Send
- transaction_server
- charging_server:response_task
- mdc_gateway:to_network_task
- mdc_gateway:to_activemq_task
- Send a packet.
The Network Enabler sequence of execution depends on whether sub-domain routing is enabled. For information, see the discussion about configuring sub-domain routing.
- Receive
- external_network_task
- domain_lookup_task
- Send
- domain_lookup_task
- sender_task
- Receive
- external_network_task
- Send
- internal_network_task
Enrichment Tasks
An enrichment task occurs when a selective update is configured at either the "Charging Server to Transaction Server interface" or "Charging Server pricing to outbound TCAP interface" or both locations.
- Run the Charging Server to Transaction Server selective updates.
- Add the attributes to the message.
- If this is an MtxTcapMsg, run the Charging Server pricing to outbound TCAP selective updates.
- Send the message to the transaction server.
Selective Update Elements
You define selective update elements by running the create_config.py script, which adds each element to the necessary location in the mtx_config.xml file.
Element | Description |
---|---|
Container Name | The name of the MDC containing the targeted data. |
Selection Key | One or more clauses that define the operation to perform. |
Optional Masks | A mask added to a method as an and operation
and the mask result is used in the operation. Methods are
defined in the selection key. |
Operations | Operations are listed after all selection key clauses and determine what to do with the result of the action and method: copy the MDC field value, set it, modify it, or delete it. |
For information about testing selective updates on a stopped engine, see the discussion about testing selective updates.