> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/tposs/6.19/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/tposs/6.19/releases/6.15.0.md).

# Travelping Open Subscriber Server 6.15.0

**Release date:** 2024-06-14

In this release of Travelping Open Subscriber Server (TPOSS), we provide the following features, fixes, and improvements:

- Support for configurable CDR generation based on APN
- Support for the charging rules selectors
- Support for multiple tenants
- New configuration options to configure the idle timer behaviour
- Possibility to configure RADIUS retries number and request timeouts
- New **tposs_cdr_file_handler_errors** metric
- Possibility to provision Prometheus recording rules
- Possibility to provision TPOSS Grafana dashboard
- New network events API
- Initial support for SBIs
- Fix the possibility of creating a subscriber with an unknown charging account 
- Fix network session creation on RADIUS Accounting-Update
- TPOSS API Gateway chart removed from TPOSS chart dependencies
- TPOSS dependency libraries updated
- New logging messages added for file-based CDRs
- Creation of database tables during migration procedure improved
- Possibility to clean up old service sessions
- Isolation of the incoming RADIUS and Diameter requests improved

## Features

### Support for configurable CDR generation based on APN

The new TPOSS release allows you to specify for which [APNs](https://docs.cennso.com/components/tposs/6.19/glossary.md) TPOSS should not create the charging data records (CDRs). For more information, read the [Charging Data Records configuration](https://docs.cennso.com/components/tposs/6.19/configuration/charging.md#charging-data-records-configuration) guide.

### Support for the charging rules selectors

The new TPOSS release allows you to specify selectors for rating groups. The change provides a new configuration option to specify how TPOSS selects and applies rating groups and charging rules. For more information, read the [Charging rules configuration](https://docs.cennso.com/components/tposs/6.19/configuration/charging.md#charging-rules-configuration) documentation.

### Support for multiple tenants

TPOSS in version 6.15.0 allows you to configure multiple tariff tenants:

```yaml
tariff:
  # List of tariff tenants split by comma
  tenant: "tposs.cennso.net, additional.tenant.com"
```

For more information, see the [Tariffs configuration](https://docs.cennso.com/components/tposs/6.19/configuration/charging.md#tariffs-configuration) section.

### New configuration options to configure the idle timer behaviour

TPOSS in version 6.15.0 allows you to customize the behaviour of the [idle timer](https://docs.cennso.com/components/tposs/6.19/configuration/session.md#idle-sessions). The following new configuration options are supported:

```yaml
sessions:
  idle_timer_check_period: 5000
  idle_timers_check_limit: 1
```

### Possibility to configure RADIUS retries number and request timeouts

TPOSS in version 6.15.0 provides new configuration options to control timeout for the outgoing RADIUS requests and the number of retries. The new configuration options are:

```yaml
radius:
  request_retries: 3
  request_timeout: 5000
  disconnect_request_retries: 3
  disconnect_request_timeout: 5000
```

For more information, read the [RADIUS settings](https://docs.cennso.com/components/tposs/6.19/configuration/radius.md) document.

###  New **tposs_cdr_file_handler_errors** metric

TPOSS in version 6.15.0 provides the new **tposs_cdr_file_handler_errors** metric. The metric represents the number of failures from accessing the filesystem for CDR storage operations. For more information, see [metrics documentation](https://docs.cennso.com/components/tposs/6.19/observability/metrics.md#other-metrics).

### Possibility to provision Prometheus recording rules

The new TPOSS release provides support for the [Prometheus recording rules](https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/). The recording rules allow for renaming the metric **sessions_GGSN** to **sessions_network_total** and the metric **sessions_scg** to **sessions_service_total**. This makes session metric names more generic and compliant with the [Prometheus naming rules](https://prometheus.io/docs/practices/naming/). 

You can enable the recording rules using this configuration option:

```yaml
prometheus_recording_rules:
  ## Enables provisioning of the Prometheus recording rules
  enabled: true
```

For more information, see the [Prometheus recording rules](https://docs.cennso.com/components/tposs/6.19/installation/configuration.md#prometheus-recording-rules) paragraph in the TPOSS chart configuration document.

### Possibility to provision TPOSS Grafana dashboard

The new TPOSS release allows you to provision a Grafana dashboard for TPOSS. For more information, read the [configuration guide](https://docs.cennso.com/components/tposs/6.19/installation/configuration.md#grafana-dashboard).

### New network events API

> [!NOTE]
> This feature is experimental. The new behaviour is disabled by default to preserve backward compatibility with the previous versions of TPOSS.

TPOSS in version 6.15.0 provides the new network events API according to [3GPP TS 29.508](https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3351). The following events are exposed:

- Service session created
- Credit exhausted

For more information about the configuration of the new network event API, read the [configuration guide](https://docs.cennso.com/components/tposs/6.19/installation/configuration.md#network-events-api-settings).

### Initial support for SBIs

> [!NOTE]
> This feature is experimental. The new behaviour is disabled by default to preserve backward compatibility with the previous versions of TPOSS.

TPOSS in version 6.15.0 allows you to handle service sessions using 5G service-based interfaces (SBIs). For more information, see the [SBI API](https://docs.cennso.com/components/tposs/6.19/architecture/sbi.md) document.

## Fixes

### Fix the possibility of creating a subscriber with an unknown charging account 

TPOSS in version 6.15.0 fixes the possibility of creating a subscriber with an unknown charging account. In the new version, such API calls are responded with the `-31804` error - `Charging account not found`.

### Fix network session creation on RADIUS Accounting-Update

TPOSS allows you to create network sessions based on RADIUS Accounting-Start and Accounting-Interim-Update requests if the **radius.ggsn_creation_on_accounting** is set to `true`. In previous releases, there was an issue with creating network sessions based on RADIUS Account-Interim-Update requests. TPOSS in version 6.15.0 provides a fix that repairs this.

## Maintenance

### TPOSS API Gateway chart removed from TPOSS chart dependencies

In the TPOSS 6.12.0 [release notes](https://docs.cennso.com/components/tposs/6.19/releases/6.12.0.md#removal-of-tposs-api-gateway-dependency), it was announced that the TPOSS API Gateway dependency chart will be removed. Starting from this release, TPOSS API Gateway is not a dependency of the TPOSS chart anymore and is distributed as a standalone chart instead. For more information, see the [Migration guide](#migration-guide).

## Improvements

### TPOSS dependency libraries updated

TPOSS in release 6.15.0 provides an update of the dependency libraries. The `phoenix_swagger` library that provides [Swagger UI](https://swagger.io/tools/swagger-ui/) was updated to fix the following vulnerabilities:

- [CVE-2021-46708](https://github.com/advisories/GHSA-6c9x-mj3g-h47x)
- [GHSA-qrmm-w75w-3wpx](https://github.com/advisories/GHSA-qrmm-w75w-3wpx)

In addition, the HTTP library that TPOSS uses for sending notifications based on events was upgraded. For more information, see the [hooks configuration](https://docs.cennso.com/components/tposs/6.19/configuration/hooks.md#hooks-configuration) document.

> [!CAUTION]
> Check that all notification types work as expected in the testing environment before using this feature on production.

### New logging messages added for file-based CDRs

TPOSS writes CDRs into files if **cdr.file.enabled** is set to `true`. TPOSS in version 6.15.0 provides more logging messages if any file-based operation fails.

### Creation of database tables during migration procedure improved

TPOSS in version 6.15.0 provides improvements for the creation of the database tables during migration. All the [CREATE TABLE](https://dev.mysql.com/doc/refman/8.4/en/create-table.html) operations are now executed with the `IF NOT EXIST` clause to prevent a try to create the already existing database table.

### Possibility to clean up old service sessions

TPOSS in version 6.15.0 allows you to clean up outdated service sessions. For more information, read the [Service sessions cleanup](https://docs.cennso.com/components/tposs/6.19/configuration/session.md#service-sessions-cleanup) guide.

### Isolation of the incoming RADIUS and Diameter requests improved

> [!NOTE]
> This feature is experimental. The new behaviour is disabled by default to preserve backward compatibility with the previous versions of TPOSS.

TPOSS in version 6.15.0 provides a set of new locking algorithms to isolate the handling of the incoming RADIUS and Diameter requests. For more information, see the [Session handler locking](https://docs.cennso.com/components/tposs/6.19/configuration/session.md#session-handler-locking) document.

## Migration guide

### `6.14.0` -> `6.15.0`

The new release provides a big set of new configuration options. Despite this, all of them are backward compatible and the old configurations work with TPOSS 6.15.0. The default values of all new configuration options introduced in this release do not change the behaviour of TPOSS in comparison to the previous versions. The main reason for this is to preserve backward compatibility. If you want to enable any new configuration option, read the release notes carefully since some of the new options are **experimental** and may lead to unexpected behaviour.

The single incompatible change is the removal of the TPOSS API Gateway chart from the TPOSS chart dependencies. TPOSS API Gateway must now be installed using its standalone chart. For more information, see the [Installation](https://docs.cennso.com/components/tposs/6.19/installation/installation.md#install-tposs-api-gateway) document.

To migrate to the new TPOSS API Gateway, pull the chart as described in the installation document, configure TPOSS API Gateway, and deploy it before the upgrade to TPOSS 6.15.0. All configuration options of TPOSS API Gateway are preserved, so you can move all configuration options from the TPOSS `values.yaml` to the TPOSS API Gateway `values.yaml` as is. The only single change is that the top-level key **tposs-api-gw** is not needed anymore. For more information about the TPOSS API Gateway configuration, see the [TPOSS API Gateway chart configuration](https://docs.cennso.com/components/tposs/6.19/installation/api-gw-configuration.md#TPOSS-API-Gateway-chart-configuration) document.

The new version of TPOSS does not require a database migration.
