For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

You are reading Travelping Open Subscriber Server 6.16, an older release. The newest release is 6.20. Read this page in 6.20

SBI API

Caution

This feature is experimental and can only be used with Session Management Controller (SMC) that supports 5G SBIs. The new behaviour is disabled by default to preserve backward compatibility with the previous versions of TPOSS.

TPOSS supports service-based interfacesOpens in a new tab (SBI) APIs to establish service sessions and execute charging operations. The procedures are similar to Diameter NASREQ, Gx, and Gy requests but instead Nnas, Npcf and Nchf HTTP2 API calls are used.

The following APIs are supported by TPOSS:

To receive the incoming SBI requests from SMF/TDF, enable it using this configuration option:

yaml

Note

If sbi.enabled is set to true, disable scg.diameter.enabled by setting it to false.

The general TPOSS architecture and the flows of requests are represented in the General architecture document. When the sbi.enabled configuration option is set to true, the Diameter requests are not used anymore. Instead, all the operations, such as applying policy rules, NAT binding and charging operations, are executed based on SBI HTTP2 requests. All the flow, including the sessions creation, handling charging procedures, and sessions termination, is still the same. Only protocols and requests are changed.

The following sections represent diagrams for the actions described above. The diagrams represent very high-level architecture and are mostly TPOSS-centric. For more detailed RADIUS and Diameter interaction, see the TISP AAA documentation.

Network session establishment

Packet gateway (PGW) creates a network session through the RADIUS Access-Request for the newly-attached device. TPOSS authenticates the newly-attached device using data from the UDR storage and allocates Framed-IP-Address for the newly-created session. The following diagram represents this flow:

Service session establishment

Traffic Detection Function (TDF) creates a service session through the HTTP Nnas Authorization request. When the initial service session is created, TPOSS allocates PCC rules through the HTTP Npcf Create request and allocates quota through the HTTP Nchf Create request. As the last step, TPOSS handles the HTTP NNas Accounting request to apply NAT binding. The following diagram represents this flow:

Charging procedures

After both network and service sessions are fully established for the newly-attached device, TPOSS awaits for charging reports through the HTTP Nchf Update request. The following diagram represents this flow:

Network and service sessions termination

When the device is detached, TPOSS receives the RADIUS Accounting-Stop request from PGW and notifies TDF through the HTTP Nchf Abort Charging request to trigger a termination of a service session. TPOSS waits for the HTTP Npcf Delete and HTTP Nchf delete requests from TDF to terminate the service session. The following diagram represents this flow: