- What it does
- Configuration
- What you need
- Setting up CDRs
- I want to…
- Enable session CDR generation
- Disable session CDR generation
- Enable interim CDR generation
- Disable interim CDR generation
- Generate an interim CDR whenever the SDP for a call changes
- Prevent generation of interim CDRs when the SDP for a call changes
- Change the maximum time to wait between generating interim CDRs
- Write copies of interim CDRs to the file system
- Stop writing copies of interim CDRs to the file system
- I want to…
What it does
Call data records (CDR) can be generated by the Rhino VoLTE TAS to record information about each call it processes. There are two types of CDRs: Interim CDRs and Session CDRs.
Interim CDRs
Interim CDRs are generated while a call is in progress, with multiple CDRs being generated during a single call. The Rhino VoLTE TAS can write the CDRs to the file system, send them to a CDF using Diameter Rf offline charging, or both.
There are two ways to control when interim CDRs should be generated:
-
You can change the maximum time to wait between creating each CDR.
-
You can instruct that a new CDR is created whenever the SDP for a call is modified.
In addition, one interim CDR is always generated when the call is answered and another when the call ends.
If you want to use Diameter Rf offline charging, interim CDR generation must be enabled.
Configuration
The example for sentinel-volte-gsm-config.yaml and
example for sentinel-volte-cdma-config.yaml show example configuration
relevant to CDRs in the sentinel-volte/charging/cdr
section.
What you need
-
❏ Whether to generate a session CDR at the end of each call.
-
❏ Whether to generate interim CDRs during a call.
When you are using interim CDRs:
-
❏ Whether an interim CDR should be created any time the SDP in a call changes.
-
❏ The maximum period to wait between creating interim CDRs.
-
❏ Whether the Rhino VoLTE TAS should write copies of each interim CDR to the file system.
Setting up CDRs
I want to…
Enable session CDR generation
In the charging
, cdr
section,
set session-cdrs-enabled
to true
:
session-cdrs-enabled: true
Related section: Session CDRs
Disable session CDR generation
In the charging
, cdr
section,
set session-cdrs-enabled
to false
:
session-cdrs-enabled: false
Related section: Session CDRs
Enable interim CDR generation
In the charging
, cdr
section,
add an interim-cdrs
section:
interim-cdrs:
write-cdrs-in-filesystem: true
write-cdr-on-sdp-change: true
interim-cdrs-period-seconds: 300
Related section: Interim CDRs
Disable interim CDR generation
In the charging
, cdr
section, remove or
comment out the entire interim-cdrs
section:
# interim-cdrs:
# write-cdrs-in-filesystem: true
# write-cdr-on-sdp-change: true
# interim-cdrs-period-seconds: 300
Related section: Interim CDRs
Generate an interim CDR whenever the SDP for a call changes
In the interim-cdrs
section,
set write-cdr-on-sdp-change
to true
:
write-cdr-on-sdp-change: true
Related section: Interim CDRs
Prevent generation of interim CDRs when the SDP for a call changes
In the interim-cdrs
section,
set write-cdr-on-sdp-change
to false
:
write-cdr-on-sdp-change: false
Related section: Interim CDRs
Change the maximum time to wait between generating interim CDRs
In the interim-cdrs
section,
set interim-cdrs-period-seconds
to the desired maximum wait time in seconds:
interim-cdrs-period-seconds: 350
Related section: Interim CDRs
Write copies of interim CDRs to the file system
In the interim-cdrs
section,
set write-cdrs-in-filesystem
to true
:
write-cdrs-in-filesystem: true
Related section: Interim CDRs
Stop writing copies of interim CDRs to the file system
In the interim-cdrs
section,
set write-cdrs-in-filesystem
to false
:
write-cdrs-in-filesystem: false
Related section: Interim CDRs