Diameter settings
To receive incoming Diameter requests from SMF/TDF, specify a Diameter listener along with other Diameter options. Use these configuration options to enable the Diameter listener:
The listener address is specified in the aaa://address:port format. The scg.diameter.pool_size option controls the number of listener processes TPOSS starts to accept connections from the external Diameter agents.
To identify TPOSS as a Diameter agent, specify its Origin-RealmOpens in a new tab:
Configure timeouts for outgoing Diameter requests
In addition to the incoming Diameter messages, TPOSS sends outgoing Diameter requests. To control the time TPOSS waits for responses, use the following configuration options:
For more information about the outgoing Diameter requests, read the Diameter message flow document.
Configure session creation using Diameter NASREQ
TPOSS allows you to create sessions in different modes using Diameter requests. The following options control this behaviour:
If the scg.diameter.userdata_on_nasreq configuration option is set to true, TPOSS returns the following user data in the Diameter NASREQ AAR response:
- IMSI
- IMEISV
- Calling-Station-Id
Note
Not all data might be returned. For example, if TPOSS does not know the IMEISV for the given session, this AVP is omitted in the Diameter NASREQ AAR response.
To make both configuration options scg.diameter.creation_on_nasreq and scg.diameter.userdata_on_nasreq work, TPOSS must handle Diameter NASREQ requests. For this case, enable the following configuration option:
Prometheus buckets configuration
TPOSS provides the following metrics to measure the time that TPOSS needs to handle Diameter requests:
- diameter_requests_rtt_milliseconds
- diameter_if_requests_rtt_milliseconds
Both of these metrics are Prometheus histogramsOpens in a new tab for which you can configure buckets using these configuration options:
Additional Diameter settings
Here are the additional Diameter configuration options that you can use to control the size of buffers for the underlying sockets of the Diameter connections: