Skip to main content
Skip table of contents

SIM & SIM Pool Rules (FT-1013.031)

About this document

Scope

This document provides background information as well as a functional description of the FT-1013.031 SIM & SIM Pool Rules standard feature. The described feature is supported from the release version 4.0 onwards.

Note

SIM & SIM Pool Rules is a standard feature and does not require a special license.

This feature is part of the Automation functionality with number FN-1013.

Feature Availability

Feature Version

Available from

Summary of changes

 v1

CMP Release 4.0

Initial release


Feature overview

Goals

The aim of the SIM & SIM Pool Rules feature is to allow to create and manage SIM and SIM Pool-related Rules (i.e., events that - when the event condition is fulfilled - automatically trigger one or many Actions) as a part of the CMP's extensive automation framework.

Functionality of the feature

Basic Concepts of Automation Rules

CMP provides an extensive automation framework that is based on three basic elements: Triggers, Rule Filters, and Actions.

Triggers/Rules

Note: The terms Rules, Triggers, and Trigger Events, respectively the corresponding type definitions (Rule Types and Trigger Types) are used synonymously.

Rules define events that - when the event condition is fulfilled - automatically trigger one or many Actions. Event conditions can be related to the following two CMP objects and the Rule Type explicitly determines the object that is linked to the related event condition:

SIM Cards (~ SIM Rules)

  • Rule Triggers related to SIM Cards are called ‘SIM Rules'. Currently, the majority of CMP Rules are related to SIM Cards (Rule Triggers related to SIM Care are displayed on the of the diagram overview diagram below, indicated by Monitoring Target 'SIM’)

Examples

  1. Trigger Condition 1: The Billing Status of a SIM Card has changed. (Rule Type: “SIM Billing Status Changed“)

  2. Trigger Condition 2: The SIM Card’s data consumption - during the current 24 hour period - exceeds a given threshold. (Rule Type: “Data Usage - 24hrs“)

SIM Pools (~ Pool Rules)

  • Correspondingly Rule Triggers validating Trigger conditions on Pool level are called 'Pool Rules' (see Rules at the bottom of the diagram)

Example

  1. Trigger Condition: The aggregated number of SMS messages - in the current Billing Cycle - of all SIM Cards in the Pool exceeds a given threshold. (Rule Type: “Pool SMS MO Usage - Billing Cycle“)

CMP Rule Triggers Overview

Rule Filters

Rule Filters represent specific filter criteria that allow to limit the set of CMP objects that the event condition shall be evaluated on.

Note that Rule Filters are currently only applicable for SIM Card related Rules Triggers and not for ‘Pool Rules’.

Example

  • Filter Criteria 1: Apply the given trigger condition only for SIM Cards with a given Billing Status, e.g. ‘In Billing’. (Filter Type: “Subscriber Status“)

  • Filter Criteria 2: Apply the given trigger condition only for SIM Cards that have a specific Active Price Plan assigned. (Filter Type: “IMSI Active Price Plan“)

Each Rule definition can have an arbitrary number of Filters defined, and in case more than one Filter has been defined the corresponding filter criteria will be linked according to the following logical rules:

  • filter criteria from different type will be linked by AND, and

  • filter criteria from the same type will be linked by OR.

Example

Apply the trigger condition only for SIM Cards which have a given Billing Status AND which have Price Plan A OR Price Plan B assigned.

In order to make the trigger condition and the defined Rule Filters effective the Rule needs to be activated since all Rules are initially created in INACTIVE status. However, activated Rules can no longer be changed nor are any changes to Filters or additional Filter definitions allowed. To modify a Rule it must be deactivated first.

Actions

Actions represent CMP operations that can be triggered once a Rule condition is met. A Rule can have one or many Actions assigned, and if a Trigger condition is met, all of the assigned Actions will be executed in the order given by the sequence numbers (in ascending order) set during the assignment process.

For more details on Actions, please see the following feature description: FT-1013.004 Actions

Basic Flow for defining Automation Rules

The following diagram displays the basic sequence of steps to define an Automation Rule.

Basic Flow of Automation Rules_3.png

SIM Rules

This section describes details applicable to SIM Rules and lists all available related Trigger Types.

Scope of the Rule

The scope of each SIM Rule is defined as All SIM Cards in Context.

Note:

The concept of scope replaces former Global Rules and Individual Rules. The mapping of the old to new terms is as follows:

New Term

Old Term

Remark

Scope value: 'All SIM Cards in Context'

Global Rule

Depending on the context of the User the value has the following meaning:

  1. User on Account Level: The SIM Rule applies to all*1 SIMs assigned to the Account (in Context)

  2. User on CSP Level (= Root Context): The given SIM Rule applies to all*1 SIMs assigned to all Accounts

*1: The number of SIM Cards validated for the Rule can be further limited dynamically by specifying a Rule Filter (see below).

*2: As the set of related SIM Cards is explicitly defined during the Rule setup, Rule Filters do not apply for Rules of Scope 'Individual SIM Cards'.

Scope All SIM Cards in Context

The scope of Rules with scope value ‘All SIM Cards in Context’ comprises by default the greatest possible number of SIM Cards in the given context.

The following diagram illustrates the Rule scope for each SIM Rule with scope value All SIM Cards in Context defined in the following contexts:

  • Rules defined on the Root level comprise all possible 13 SIM Cards (A.1-C.3) accessible by the CSP User.

  • Rules defined for example in the context of Account B apply per default to all 6 SIM Cards (B.1-B.6) of Account B.

scope of SIM Rule_2.png

SIM Rule Types

The following table explains the scope of each available SIM Rule Type.

Condition

Explanation

Data Session Started

The device has successfully started a data connectivity session with a cellular network.

Data Session Stopped

The data connectivity session between the device and cellular network has ended.

Data Sessions Count - 24hrs

User-defined parameter for the total number of data sessions within 24 hours.

Data Usage - 24hrs

Data usage of the SIM within the current 24 hours exceeds the customer set limit.

Data Usage - Billing Cycle

Data usage of the SIM within the Billing Cycle has exceeded the user-set limit.

Data Usage in Country - Billing Cycle

Data usage of the SIM in a Country has exceeded the user-set limit within the Billing Cycle.

Data Usage in Zone - Billing Cycle

Data usage of the SIM in a Location Zone has exceeded the user-set limit within the Billing Cycle.

Data blocked due to Security Profile violation

Data services of the SIM are blocked due to a Security Profile violation.

No Data Sessions - 24hrs

No data connectivity session has been established with a cellular network within the last 24 hr period.

No SMS Sessions - 24hrs

No SMS session has been established within the last 24 hr period.

No Voice Sessions - 24 hrs

No Voice session has been established within the last 24 hr period.

No Voice Sessions - Billing Cycle

No Voice session has been established within the last Billing Cycle.

Not Connected - 24hrs

SIM card has not established a connection to a mobile network within 24 hours.

Not Connected - Billing Cycle

SIM card has not established a connection to a mobile network within the past Billing Cycle

SIM Billing Status Changed

Billing Status of the SIM has changed. Source- and Target Status are user-defined.

SIM Custom Attribute Changed

Value of a particular Custom Field associated with the SIM has changed.

SIM Data Allowance in Home Zone

SIM Card has nearly or completely consumed the included data during the current Billing Cycle.

SIM IMEI changed

IMEI of a Device with a MAVOCloud-managed SIM assigned has changed.

SIM Location Change

Cell ID of the SIM Card changed during or across data sessions.

SIM MSISDN Changed

MSISDN associated with the SIM has changed.

SIM Price Plan Changed

Price Plan associated with the SIM has changed.

SIM Price Plan Expiration

Prepaid Price Plan of a SIM has expired, either data or time limit has been reached.

SMS Count - 24 hrs

SMS usage of the SIM within the current 24 hours has exceeded the customer set limit.

SMS Count - Billing Cycle

SMS usage of the SIM within the Billing Cycle has exceeded the user-set limit.

SMS Count in Country - Billing Cycle

SMS usage of the SIM in a Country within the Billing Cycle has exceeded the user-set limit.

SMS Count in Zone - Billing Cycle

SMS usage of the SIM in Location Zone within the Billing Cycle has exceeded the user-set limit.

SMS blocked due to Security Profile violation

SMS services of the SIM are blocked due to a Security Profile violation.

Voice Duration - 24 hrs

Voice usage of the SIM within the current 24 hours exceeds the customer set limit.

Voice Duration - Billing Cycle

Voice usage of the SIM within the Billing Cycle has exceeded the user-set limit.

Voice Duration in Country - Billing Cycle

Voice usage of the SIM in a Country has exceeded the user-set limit within the Billing Cycle.

Voice Duration in Zone - Billing Cycle

Voice usage of the SIM in a Location Zone has exceeded the user-set limit within the Billing Cycle.

Voice blocked due to Security Profile violation

Voice services of the SIM are blocked due to a Security Profile violation.

Note: 

  • All SMS Count Rules (Count - 24 hrs, Count - Billing Cycle, Count in Country - Billing Cycle, Count in Zone - Billing Cycle) are available either for MO or MT SMS. The Rules can be configured in the same way for both types of SMS.

  • All Voice Duration Rules (Duration - 24 hrs, Duration Billing Cycle, Duration in Country - Billing Cycle, Duration in Zone - Billing Cycle) are available either for MO or MT Voice. The Rules can be configured in the same way for both types of Voice.

Pool Rules

As described above this section describes details related to Pool Rules (event conditions are related to SIM Pools).

Pool Rule Types

The following table explains the scope of each available Pool Rule Type.

Condition

Explanation

Pool Data Usage - Billing Cycle

User-defined parameter for a specific volume of data usage within a Pool Price Plan in Home Zone.

Pool SMS MO Usage - Billing Cycle

User-defined parameter for a specific amount of SMS MO within a Pool Price Plan in Home Zone.

Pool SMS MT Usage - Billing Cycle

User-defined parameter for a specific amount of SMS MT within a Pool Price Plan in Home Zone.

Pool Voice MO Usage - Billing Cycle

User-defined parameter for a specific volume of Voice MO usage within a Pool Price Plan in Home Zone.

Pool Voice MT Usage - Billing Cycle

User-defined parameter for a specific volume of Voice MT usage within a Pool Price Plan in Home Zone.

Percentage based Pool Triggers

In the case of Pool Rules, CMP allows to specify absolute or percentage values as trigger thresholds. The use of percentage values as a threshold enables monitoring of the overage use case for both dynamic and static SIM Pools. The current Pool size (i.e. 100 percent) in the Home Zone for the particular service (i.e. Data, SMS MO, SMS MT, Voice MO, Voice MT) serves as the basis for the percentage thresholds.

Note:

Percentage based Pool Triggers are only applicable for threshold Pool Rules. Currently, all available Pool Rules define threshold trigger conditions (see table above), when adding new Pool rules this definition has to be taken into account.

Assigning Actions to Pool related Triggers

Unlike for SIM related Triggers, in the case of a Pool related Trigger the Action target is not implicitly given by the SIM that triggered the Action. Currently, the following principles apply.

The Action target of any Pool related Trigger is the SIM Card in the Pool that caused the Trigger condition to become true.

Example

  • Action from Type “Change SIM Billing Status” with Action Repetition Type: ONCE is assigned to a Pool related threshold Trigger (e.g. “Pool Data Usage - Billing Cycle”)

  • Once the aggregated data usage of the Pool exceeds the given threshold the “Change SIM Billing Status” Action will be applied to the SIM Card that contributed the usage greater than the threshold.

As the Action Repetition Type is recorded on SIM level the Action assigned to the Pool related Trigger will still be triggered after the first occurrence even if the Action Repetition Type has been set to ONCE, as long as another SIM Card causes the Trigger condition (e.g. Pool size >= threshold) to become true. This means that not only one (the first) SIM Card in a Pool will be suspended by this mechanism, but every SIM Card that attempts to consume data after the threshold has been exceeded.

Example

The following diagram shows an example scenario for a Pool (Pool C) with 3 SIM Cards:

Assign Action to Pool Rule_2.png

Remark: The described scenario assumes (for SIM C.1 and C.2) that the CMP Suspend-operation via Suspend Service Profile has been successfully completed before the related SIM Card requests the next data grant. This might not be the case for high-volume SIM Cards consuming data in a short time span, thus contributing more than one grant size to Pooled data usage (see SIM C.3).

Context of Automation Rules

Automation Rules follow the context concept applicable to all objects managed in the Enterprise Portal, therefore each Rule Trigger and each Action is created either in the context of

  • the Root context (in case the Portal User has CSP Admin credentials),

  • an Account (if the Portal User owns Account login credentials).

As usual, the context defines the owner of the object, but in relation to Automation Rules, it specifically defines the initial scope of a Rule Trigger (i.e. which SIM Cards are monitored for the events defined).

  • Rule Triggers defined on the Root level are correspondingly applicable to all the SIM Cards accessible by the CSP in the Enterprise Portal. Practically this means ALL SIM Cards that have been assigned to any Account are visible in the Enterprise Portal.

  • Rule Triggers defined on Account level are applicable for all the SIM Cards assigned to the corresponding Account (and therefore visible to an Account User).

Rule Context and Filters

The context of a given SIM Rule with scope value ‘All SIM Cards in Context’ defines the default scope as the starting point for defining Rule Filters, however, not all available Filter Types are applicable for all contexts.

Example

  • Filter Type “Account Status“ (apply the Rule Trigger only to SIMs in an Account with a given Account Status) is only applicable for CSP-wide Rules.

  • Filter Type “IMSI Active Price Plan“ (consider only SIMs with a specific Price Plan assigned) only makes sense in the context of a given Account.

The following table describes which Filter Types are available on Root and/or Account level.

Filter Name

CSP Context

Account Context

Account

x

 

Account-Status

x

 

Account-Tag

x

 

Sub-Account

 

x

Sub-Account Status

 

x

Subscriber Tag

x

x

Subscriber Status

x

x

IMSI Active Price Plan

 

x

IMSI Active Price Plan Type

 

x

Radio Access Type

x

x

Custom Attribute

 

x

Zone

 

x

In conclusion, the application of Rule Filters depends on three factors:

  1. Rule Filters can only be defined for SIM Rules with scope value All SIM Cards in Context, but not for SIM Rules with scope value Individual SIM Cards.

  2. Rule Filters can only be defined for SIM-related Trigger/Rule Types (i.e. SIM Rules), Pool-related Rule Types (i.e. Pool Rules) are currently excluded from the Filter definition.

  3. The Filter Types applicable for a SIM Rule with scope value ‘All SIM Cards in Context’ are dependent on the context of the Rule.

The following diagram shows the basic Rule definition workflow enriched by the three factors of Filter definition described above:

Rule Filters_2.png

Detailed Flow for defining Automation Rules

The following diagram summarizes the steps of Automation Rules setup that have been described throughout this document.

detailed Flow of Automation Rules_2.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.