Understanding Call Correlation
Message segments (call legs) of a call event can be distributed and stored on multiple mediation engines. Call correlation is the process of collecting all the distributed message segments of the call event from each mediation engine, merging them in the order of the call, and displaying the call event as a whole.
Note:
If any error is encountered while connecting to any of the Mediation Engine, a warning is displayed besides the Mediation Engine node selector drop-down so that the users can check the connection nodes in the Connection test settings option.About On Demand Correlation
In the Mediation Engine Connection screen, when opening a call from an Mediation Engine node view, the Mediation Engine Connector tries to correlate the call against other calls seen in different Mediation Engines, then it is an On Demand Correlation.
- There is no real time in the inter-Mediation Engine call correlation.
- The Active Calls Mediation Engine Connector KPI is the sum of the active session from all Mediation Engines, there is no correlation behind and thus the value is higher than the real one.
The key for Mediation Engine Connector correlation is having the platform devices well defined across the Mediation Engines, assigning properly their internal/external role in the Platform Devices settings view. The call segment between an internal and an external device must be seen twice, by two Mediation Engines. There can be more than one segment between two Mediation Engines for the same call.
When a call leg happens between an internal and an external platform device, the Mediation Engine builds a hash that identifies that leg.
Call hash = hash ( INVITE message)
The Mediation Engine Connector relies on the call hashes to find the other related calls across different Mediation Engines. There is no hash between internal vs. internal or external vs external devices. Therefore, platform devices must be correctly configured or Mediation Engine Connector inter-node correlation does not occur. If two Mediation Engines don't see the same call segment the correlation is not possible. For correlation to occur, call segment must be seen twice.
- Find the related call's Mediation Engine:
- When opening a call from a node panel this step is not needed, since we already know the Mediation Engine node.
- When searching for calls from a regional panel, the Mediation Engine Connector queries all the Mediation Engines to find the related Mediation Engine(s).
- The ME where the call was found queries the neighboring nodes to check for additional call legs, using the call hashes. Furthermore, those nodes will check in another nodes, avoiding the nodes they already traversed.
Implementing Call Correlation
Mediation Engine Connector will correlate the call event when call events share a common call leg.
For each call leg that is a candidate for being the common call leg, the mediation engine runs a hash function over the INVITE message and stores it in the database together with a pointer to the call event of the call leg. A candidate call leg is a call leg where one of the two endpoints is a neighbor device. A neighbor device is a device configured on one of the other mediation engines, which is not marked as an External device.
When displaying the call event, each mediation engine is checked for an identical hash in their database. If true, the details of their call event are included in the display.
Note:
In Operations Monitor, the Mediation Engine Connector hash on P-Charging-Vector icid-value parameter and the Mediation Engine Connector hash search on all external legs settings affect the generation of hashes.For more information on the Mediation Engine Connector hash on P-Charging-Vector icid-value parameter and the Mediation Engine Connector hash search on all external legs settings, see System Settings Summary in Operations Monitor User's Guide.
For example:
You have a device configuration that contains multiple sites containing one mediation engine for each site. Each site also contains several devices and all of the call's event traffic involved in one of these devices is sent to the site's mediation engine.
- The call event leaves site A and directly enters site B, such as there is a call leg with one device on site A and one device on site B.
- A device is configured as an Internal device on its site's mediation engine.
- If there is direct traffic between a device on site A and a device on site B, the device on site B is configured as an External device on the mediation engine of site A. If there is direct traffic between a device on site B and a device on site A, the device on site A is configured as an External device on the mediation engine of site B.
- Additional devices on a site can be configured as External devices on other sites mediation engines.
Configuration 1
The call event traverses five devices.
Devices DEV1 and DEV 2 are on site A, devices DEV 3, DEV 4, and DEV 5 are on site B. The following Internal assignments satisfy the requirement in point 2.
DEV1 <--leg1--> DEV2 <--leg2--> DEV3 <--leg3--> DEV4 <--leg4--> DEV5
ME1 Internal Internal
ME2 Internal Internal Internal
Configuration 2
DEV1 <--leg1--> DEV2 <--leg2--> DEV3 <--leg3--> DEV4 <--leg4--> DEV5
ME1 Internal Internal External
ME2 External Internal Internal Internal
Because leg2 goes from DEV2 to DEV3 the above configuration satisfies the requirement in point 1 for this call event. This is a functioning configuration.
Configuration 3
This can be extended to the following, which satisfies point 4.
DEV1 <--leg1--> DEV2 <--leg2--> DEV3 <--leg3--> DEV4 <--leg4--> DEV5
ME1 Internal Internal External External External
ME2 External External Internal Internal Internal
Configuring Multiple Mediation Engine Nodes for Call Correlation
- Setting the Authentication of a Mediation Engine
- Setting the Authentication of Mediation Engine Connector
- Adding the Mediation Engines to the Mediation Engine Connector Node List
- Testing the Connection
- Setting the Platform Devices for Each Mediation Engine
- Applying Configuration Changes
- (Optional) Setting the Timeout for Call Searches
- Viewing Correlation Calls
Setting the Authentication of a Mediation Engine
Mediation engines communicate with Mediation Engine Connector using the fully qualified host name or IP address of Mediation Engine Connector and an authentication password, which is used by Mediation Engine Connector to verify the authentication of the mediation engines.
To set the authentication of a mediation engine:
Setting the Authentication of Mediation Engine Connector
Before a connection is made between Mediation Engine Connector and a mediation engine, an authentication token (password) is used to verify the authentication of Mediation Engine Connector.
All mediation engines require their own individual authentication token. Apply the following steps to each mediation engine in your network.
To set the authentication of Mediation Engine Connector:
Adding the Mediation Engines to the Mediation Engine Connector Node List
To add the mediation engines to the Mediation Engine Connector node list:
Setting the Platform Devices for Each Mediation Engine
Applying Configuration Changes
To apply configuration changes:
(Optional) Setting the Timeout for Call Searches
To set the timeout for call searches:
Viewing Correlation Calls
To view correlation calls: