Skip to main content
Skip table of contents

Configuration: CDRs

CDRs are a licensed feature that requires enabling in the SMPP Router license file.

CDR section

cdr

This optional section of the configuration defines the generation of CDRs by SMPP Router.

The entries in the cdr section are:

Field

Description

Example

mode

none: No CDRs are generated

operation: Separate submission and DLR entries are created

correlate: Combined submission and DLR entries are created

optional Default: none

"operation"

anonymise

Enable or disable anonymisation of sensitive fields in CDR output (source/destination address)

optional Default: false

true

cleanup_interval

Period (in hours) after which uncorrelated submission CDRs are expunged

optional Default: 24

72

backend

Sink to where CDRs are to be written

file: Write CDRs to file

http: Write CDRs to endpoint

optional Default: "file"

"http"

batch_size

Number of CDRs to write at the same time

optional Default: 1000

1000

batch_flush_interval

Maximum interval (in seconds) between CDR writes

optional Default: 30

30

CDR File Sink

This section applies when CDRs are to be written to file.

Field

Description

Example

directory

Directory where CSV files containing CDRs will be written

optional Default: cdrs/

"cdrs/"

rotation_timezone_offset

Timezone offset (in minutes) from UTC used for rotating CDR files at local midnight

optional Default: 0

0

HTTP Sink

This section applies when CDRs are to be written to a webhook.

Field

Description

Example

http_endpoint

URL to where CDRs should be sent

mandatory

"http://192.168.100.1:8080/cdr"

http_auth_header

HTTP authorisation header

optional

"Authorization: Bearer aaaabbbbccccddddeeee"

http_skip_tls_verify

Should TLS verification be skipped

optional Default: false

false

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.