Credit Control Servers
Introduction
The JSLEE Diameter credit control server conforms to RFC 8506, acting as a credit control server.
Basic Server Application Configuration
Configuration for a credit control server is as follows:
{
"applications": {
"diameter-relay": {
"handler": "nz.co.nsquared.slee.diameter.DiameterVerticle",
"configuration": {
"endpoints": [
{
/* endpoint configuration */
"applications": [
{
"class-path": "nz.co.nsquared.slee.diameter.application.credit_control.Server",
"destination": "jslee-address"
}
]
}
]
}
}
}
}
The following configuration options are available for credit control application servers.
Field | Type | Required? | Default | Description |
---|---|---|---|---|
class-path |
String | Yes | - | Must be set to nz.co.nsquared.slee.diameter.application.credit_control.Server to enable the credit control server. |
destination |
String | Yes | - | Must be set to the JSLEE address to send all credit control diameter messages. Normally this would be a Translator service. |
cluster-session-map-name |
String | No | Defaults to serviceName + '/' + endpointName + '-sessions' if not specified. |
|
propagate-mscc-rc-to-root |
Boolean | No | When set to true and when applicable (eg. internal rejections), propagate the multiple services credit control result code into the root result code. | |
include-root-session-validity-time |
Boolean | No | Set true to include the root session validity time in multiple service CCAs. | |
is-re-auth-request-enabled |
Boolean | No | Set true to enable RARs to be sent when requested. | |
sub-session-tcc-extension-ms |
Integer | No | 5000 | Sub-session Tcc timer = [sub-session validity time] + [this value]. |
root-session-validity-time-extension-ms |
Integer | No | 5000 | Root session validity time = [sub-session Tcc timer] + [this value]. |
root-session-tcc-extension-ms |
Integer | No | 10000 | Root session Tcc timer = [root session validity time] + [this value]. |
default-sub-session-validity-time-s |
Integer | No | indefinite | This value is used as the sub-session validity time when validity time would otherwise be undefined. |
default-root-session-validity-time-s |
Integer | No | indefinite | This value is used as the root session validity time when validity time would otherwise be undefined. |
session-cleanup-frequency-ms |
Integer | No | 5000 | How often should the server check for and clean up expired sessions. |