Dynamic Blacklist Functionality

From Kolmisoft Wiki
Revision as of 10:16, 26 April 2013 by Mindaugas (talk | contribs)
Jump to navigationJump to search

Description

Blacklist functionality Dynamic Routing based on smart logic which puts a 'score' on the call by its SRC, DST or RTP IP and allows routing call with high score over different route. This functionality gives you an ability to define LCR as Blacklist Providers group. These Providers works like any other Provider in MOR system. MOR reroutes all the calls, that have a score more than a defined threshold, to this Blacklist LCR.

This functionality is useful when system owner wants to route 'suspect' calls through different route than 'normal' calls.



Configuration

You can manage



Monitorings settings.png

Blacklist Feature enabled – enables Blacklists functionality in all system.

Default Blacklist LCRLCR with Balcklist Providers.

Default Routing Threshold – sum of SRC, DST and RTP IP limit. If SRC, DST or RTP IP scores sum, received during the call, is bigger than Defaullt Threshold, call will be routed through selected Blacklist LCR.

Use default blacklisting rules – check this to use Blacklisting Script for SRC, DST or RTP IP scoring.

Default scores – Default scores of SRC, DST or RTP IP. There will be cases where MOR will not find a score for a given SRC, DST or RTP IP. In each of the cases MOR will add the missing values from these settings.

Blacklisting Script

To use default blacklisting rules you have to create your own script. The script to change scores should work like this:

If a destination_number was called more than DST-n1 times within DST-t1 minutes then DST-Score = DST-v1
If a destination_number was called more than DST-n2 times within DST-t2 hours then DST-Score = DST-v2
If a source_number was calling more than SRC-n1 times within SRC-t1 minutes then SRC-Score = SRC-v1
If a source_number was calling more than SRC-n2 times within SRC-t2 hours then SRC-Score = SRC-v2
If a source_IP_number was calling more than SRC-IP-n1 times within SRC-IP-t1 minutes then SRC-IP-Score = SRC-IP-v1
If a source_IP_number was calling more than SRC-IP-n2 times within SRC-IP-t2 hours then SRC-IP-Score = SRC-IP-v2

Variables like DST-n1 to SRC-IP-v2 need to be defined manually.

Example

If a destination_number was called more than 5 times within 60 minutes then DST-Score = 100
or
If a source_IP_number was calling more than 40 times within 5 hours then SRC-IP-Score = 100


See also