sigscale/ocs

By sigscale

Updated 16 days ago

Online Charging System (OCS)

Image
Networking
1

10K+

sigscale/ocs repository overview

SigScale OCS

An Online Charging System (OCS) is a core network element of a communications service provider (CSP) which performs real-time charging and policy control. An OCS authorizes subscriber sessions subject to available credit and decrements account balances as services are consumed. When a subscriber's account balance is depleted authorization may be withdrawn and ongoing session(s) terminated. Network Access Servers (NAS) communicate with OCS using DIAMETER or RADIUS protocol.

A 3GPP AAA Server function is also included which authenticates and authorizes non-3GPP access (e.g. Wi-Fi). Supports credentials stored on USIM cards for transparent roaming of mobile devices either standalone or by proxy to mobile operators' HSS.

Get the latest image

$ docker pull sigscale/ocs

Initialize a volume for persistent storage of tables:

$ docker run -ti --rm --entrypoint bash -h `hostname --fqdn` -v db:/home/otp/db sigscale/ocs
[email protected]:~$ bin/initialize
[email protected]:~$ exit

Start SigScale OCS listening for REST, SNMP, RADIUS and DIAMETER:

$ docker run -dti -h `hostname --fqdn` -v db:/home/otp/db -p 8080:8080/tcp \
         -p 1812:1812/udp -p 1813:1813/udp -p 3868:3868/tcp \
         -p 4161:4161/udp sigscale/ocs

Be sure to use an FQDN (-h host.example.com) or you shall get the error: Can't set long nodename!

Kubernetes

Use our Helm chart for deploying a scaling StatefulSet:

helm install ocs-1 oci://asia-east1-docker.pkg.dev/sigscale-ocs/charts/sigscale-ocs

Get Support

Feel free to contact us at [email protected] with any questions. Commercial subscription support is also available.

Tag summary

Content type

Image

Digest

sha256:265d20471

Size

133.6 MB

Last updated

16 days ago

docker pull sigscale/ocs