# Global System Statistics

Global statistics aggregate call metrics across your entire TMedia system, regardless of NAP or protocol. These provide a system-wide view of traffic, licensing, and configuration status.

***

## Real-Time Call Metrics

These metrics show the current state of calls on the system:

| Statistic                | Units     | Description                              |
| ------------------------ | --------- | ---------------------------------------- |
| **Active Calls**         | Calls     | Currently connected/active call count    |
| **Call Legs**            | Call Legs | Total call legs (typically 2 per call)   |
| **Non-Active Call Legs** | Call Legs | Call legs in setup/teardown (calculated) |
| **Incoming Call Legs**   | Call Legs | Current inbound call legs                |
| **Outgoing Call Legs**   | Call Legs | Current outbound call legs               |

***

## Call License Usage

| Statistic              | Units     | Description                                      |
| ---------------------- | --------- | ------------------------------------------------ |
| **Call License Usage** | Call Legs | Current call legs measured against license limit |

{% hint style="info" %}
Call License Usage tracks your active call legs relative to your licensed session capacity. Alerts trigger when usage approaches or exceeds the limit.
{% endhint %}

***

## Call Counters

Cumulative counters that increment with each call. MaaS calculates the delta between polling intervals to show calls per interval.

### Total Call Counters

| Statistic           | Direction | Description                      |
| ------------------- | --------- | -------------------------------- |
| Call Count          | All       | Total calls since system restart |
| Incoming Call Count | Incoming  | Inbound calls since restart      |
| Outgoing Call Count | Outgoing  | Outbound calls since restart     |

### Accepted Call Counters

Calls that were successfully accepted by the system:

| Statistic           | Direction | Description                 |
| ------------------- | --------- | --------------------------- |
| Accepted Call Count | All       | Successfully accepted calls |
| Incoming Accepted   | Incoming  | Inbound accepted calls      |
| Outgoing Accepted   | Outgoing  | Outbound accepted calls     |

### Answered Call Counters

Calls that reached the answered/connected state:

| Statistic           | Direction | Description              |
| ------------------- | --------- | ------------------------ |
| Answered Call Count | All       | Connected/answered calls |
| Incoming Answered   | Incoming  | Inbound answered calls   |
| Outgoing Answered   | Outgoing  | Outbound answered calls  |

***

## Calls Per Second (CPS)

CPS metrics are calculated from the cumulative counters, showing the rate of calls over time.

### Overall CPS

| Statistic    | Direction | Description               |
| ------------ | --------- | ------------------------- |
| **CPS**      | All       | Overall call attempt rate |
| Incoming CPS | Incoming  | Inbound call rate         |
| Outgoing CPS | Outgoing  | Outbound call rate        |

### Accepted CPS

| Statistic             | Direction | Description            |
| --------------------- | --------- | ---------------------- |
| Accepted CPS          | All       | Rate of accepted calls |
| Incoming Accepted CPS | Incoming  | Inbound accepted rate  |
| Outgoing Accepted CPS | Outgoing  | Outbound accepted rate |

### Answered CPS

| Statistic             | Direction | Description            |
| --------------------- | --------- | ---------------------- |
| Answered CPS          | All       | Rate of answered calls |
| Incoming Answered CPS | Incoming  | Inbound answered rate  |
| Outgoing Answered CPS | Outgoing  | Outbound answered rate |

{% hint style="info" %}
CPS metrics help identify peak traffic periods, sudden spikes, and trends over time — useful for capacity planning and spotting issues.
{% endhint %}

***

## Configuration Backup

MaaS monitors the active configuration backup status on your system and alerts on changes or failures.

| Statistic                       | Type   | Description                                              |
| ------------------------------- | ------ | -------------------------------------------------------- |
| **Active Configuration Backup** | Status | Current state of the active configuration backup process |

***

## Alerts

### High Severity

| Alert                    | Condition                                  | Description                                                  |
| ------------------------ | ------------------------------------------ | ------------------------------------------------------------ |
| MaaS Call Limit Exceeded | Active call legs exceed MaaS service limit | Call volume has surpassed the MaaS monitoring service limit  |
| License Limit in Danger  | Call legs approaching licensed capacity    | Active call legs are critically close to the license maximum |

### Warning Severity

| Alert                       | Condition                               | Description                                              |
| --------------------------- | --------------------------------------- | -------------------------------------------------------- |
| Nearing Call License Limit  | Call legs over 80% of licensed capacity | Active call legs are approaching the license maximum     |
| Backup Configuration Failed | Configuration backup process failed     | The system was unable to complete a configuration backup |

### Information Severity

| Alert                               | Condition                               | Description                                                                                                                              |
| ----------------------------------- | --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| MaaS Call Limit over 90%            | Active call legs over 90% of MaaS limit | Call volume is approaching the MaaS monitoring service limit                                                                             |
| Active Configuration Changed        | Active configuration hash changed       | A change to the active configuration was detected. **Fires only on an actual config change** — previously could false-fire on heartbeat. |
| Configuration Successfully Received | Configuration backup completed          | A configuration backup was successfully received (nightly)                                                                               |

***

## Understanding the Metrics

<details>

<summary>Active Calls vs Call Legs</summary>

* **Active Calls**: The number of currently connected conversations
* **Call Legs**: Each call typically has 2 legs (inbound + outbound), so Call Legs ≈ Active Calls × 2
* **Non-Active Call Legs**: Calls in setup, alerting, or teardown phases

</details>

<details>

<summary>Accepted vs Answered</summary>

* **Accepted**: The system accepted the call attempt (passed initial validation)
* **Answered**: The call reached a connected state (far end picked up)

The ratio of Answered to Accepted can indicate network quality issues or routing problems.

</details>

<details>

<summary>Using CPS for Capacity Planning</summary>

CPS metrics help identify:

* Peak traffic periods for capacity planning
* Sudden traffic spikes that may indicate issues
* Traffic trends over time when viewed historically

</details>

<details>

<summary>MaaS Call Limit vs License Limit</summary>

* **MaaS Call Limit**: The maximum number of call legs the MaaS monitoring service is configured to track. This is a service-level limit, not a hardware limit.
* **License Limit**: The maximum number of concurrent call legs your TMedia system is licensed to handle.

These are independent limits — you may hit one before the other depending on your deployment size and service plan.

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://prosbcdocs.telcobridges.com/maas-documentation/monitored-statistics/global-system-statistics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
