> 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.md).

# Introduction

Travelping Open Subscriber Server (TPOSS) is the platform for building [AAA](https://docs.cennso.com/components/tposs/6.19/glossary.md#telecom-abbreviations) applications. It consists of the following components:

- Policy Control Server (PCS, 3GPP PCRF) implements the Policy and Charging Rules Function (PCRF) following 3GPP standards. PCS is a central service in the TPOSS Control Plane, providing interfaces to the Policy and Charging Enforcement Function (PCEF), such as the Data Plane, which is usually the SCS (Session Control Service). PCS's main role is to manage a user's session and adjust policies based on data from the CCS and UDR services.
- Charging Control Server (CCS, 3GPP OCS) is a service for charging and controlling balances of users.
- User Data Repository (UDR) is a service for controlling user data and profiles.

The policy and charging control servers in TPOSS manage policy and charging rules using one of the following protocols:

- [Diameter](https://docs.cennso.com/components/tposs/6.19/architecture/diameter.md)
- [SBI](https://docs.cennso.com/components/tposs/6.19/architecture/sbi.md)
- [CDMP](https://docs.cennso.com/components/tposs/6.19/architecture/cdmp.md)

The content of the user data repository is managed using the TPOSS REST API. You can use it [directly](https://docs.cennso.com/components/tposs/6.19/api-reference/rest/api.md) or using TPOSS API Gateway.

## TPOSS API Gateway

TPOSS provides a set of HTTP REST APIs to control and fetch data from TPOSS. Usually, the API is not accessed directly but using the TPOSS API Gateway component. TPOSS provides the following APIs:

- [Balance API](https://docs.cennso.com/components/tposs/6.19/api-reference/rpc/balance_api.md) - Fetch and provision subscribers balances.
- [Carriers API](https://docs.cennso.com/components/tposs/6.19/api-reference/rpc/carriers_api.md) - Import carriers and carrier groups.
- [CDR API](https://docs.cennso.com/components/tposs/6.19/api-reference/rpc/cdr_api.md) - Fetch charging data records (CDRs).
- [Charging Account API](https://docs.cennso.com/components/tposs/6.19/api-reference/rpc/charging_account_api.md) - Fetch and provision charging accounts.
- [Events API](https://docs.cennso.com/components/tposs/6.19/api-reference/rpc/events_api.md) - Delete events generated by TPOSS.
- [Session API](https://docs.cennso.com/components/tposs/6.19/api-reference/rpc/session_api.md) - Fetch information about network and service sessions.
- [Subscriber API](https://docs.cennso.com/components/tposs/6.19/api-reference/rpc/subscriber_api.md) - Provision and fetch information about subscribers.
- [Whitelist API](https://docs.cennso.com/components/tposs/6.19/api-reference/rpc/whitelist_api.md) - Provision and deprovision whitelist IMEISV(s) into TPOSS.

For more information, see the [API Reference](https://docs.cennso.com/components/tposs/6.19/api-reference/rpc/overview.md) and [TPOSS API Gateway chart configuration](https://docs.cennso.com/components/tposs/6.19/installation/api-gw-configuration.md) documentation.

## Additional containers and charts

There is an additional Helm chart that comes as a dependency for the TPOSS chart:

- The [NATS](https://github.com/nats-io/k8s) Helm chart provides NATS deployment. The NATS chart is deployed along with TPOSS deployment if the configuration option **nats.enabled** is set to `true`.

These containers come with the NATS chart:

- The `registry.cennso.com/cennso/nats:2.11.6-alpine` NATS container used by TPOSS.
- The `registry.cennso.com/cennso/natsio/prometheus-nats-exporter:0.17.2` Prometheus exporter to expose metrics from the deployed NATS instance.
- The `registry.cennso.com/cennso/natsio/nats-server-config-reloader:0.17.1` sidecar container used to watch the NATS instance to re-deploy NATS in case of configuration updates.

For more information, see the [NATS configuration](https://docs.cennso.com/components/tposs/6.19/installation/nats.md) document.

These are optional containers that come together with the TPOSS chart:

- The `registry.cennso.com/cennso/nettools:v1.16.0` container for additional networking setup. Used when the `debug` container with network utilities is enabled. For more information, read the chart configuration section about [Debug container with network utilities](https://docs.cennso.com/components/tposs/6.19/installation/configuration.md#debug-container-with-network-utilities).
- The `registry.cennso.com/tposs/tposs-cdr-exporter-sftp:v1.2.1` container for SFTP CDRs exporter. Used when the `sftp` container is enabled to allow external billing systems to fetch CDRs. For more information, read the chart configuration section about [SFTP container configuration](https://docs.cennso.com/components/tposs/6.19/installation/configuration.md#sftp-container-configuration).
- The `busybox` as the base for the TPOSS [init containers](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/).
