EDRs are generated from UP on flow termination. During call setup and call modification, all call-specific attributes required
for EDR generation is sent from CP to UP as part of the Subscriber Params IE within the Sx Establishment/Modification request
messages.
On flow termination, the charging counters are fetched from VPP. All configured call-level attributes in the EDR format configuration
along with the charging / volume counter attributes is sent to the CDRMOD proclet. This proclet writes these records to a
file/disk, which is transferred to a configured external server.
Note |
User-Location-Information is written in hexadecimal format.
|
Transaction Complete EDR
Transaction complete EDRs are generated for HTTP EDRs when a HTTP transaction is complete. On completion, the charging counter
are fetched from VPP. All configured call-level attributes in the EDR format configuration along with the charging / volume
counter attributes is sent to the CDRMOD proclet. This proclet writes these records to a file/disk, which is transferred to
a configured external server.
The following list of EDR attributes are supported:
-
attribute sn-start-time
-
attribute sn-end-time
-
attribute sn-start-time format MM/DD/YYYY-HH:MM:SS:sss
-
attribute sn-end-time format MM/DD/YYYY-HH:MM:SS:sss
-
attribute radius-calling-station-id
-
attribute radius-called-station-id
-
rule-variable bearer 3gpp imsi
-
rule-variable bearer 3gpp imei
-
rule-variable bearer 3gpp rat-type
-
rule-variable bearer 3gpp user-location-information
-
rule-variable ip subscriber-ip-address
-
rule-variable ip dst-address
-
attribute sn-ruledef-name
-
attribute sn-subscriber-port
-
attribute sn-server-port
-
attribute sn-app-protocol
-
attribute sn-volume-amt ip bytes uplink
-
attribute sn-volume-amt ip bytes downlink
-
attribute sn-flow-start-time format seconds
-
attribute sn-flow-end-time format seconds
-
attribute sn-volume-amt ip pkts uplink
-
attribute sn-volume-amt ip pkts downlink
-
attribute sn-direction
-
rule-variable traffic-type
-
rule-variable p2p protocol
-
rule-variable p2p app-identifier tls-cname
-
rule-variable p2p app-identifier tls-sni
-
rule-variable p2p app-identifier quic-sni
-
rule-variable bearer 3gpp sgsn-address
-
attribute sn-rulebase
-
attribute sn-charging-action
-
rule-variable flow tethered-ip-ttl
-
rule-variable flow ttl
-
rule-variable flow ip-control-param
-
rule-variable bearer qci
-
rule-variable tcp flag
-
rule-variable ip server-ip-address
-
attribute sn-flow-id
-
attribute sn-closure-reason
-
attribute sn-duration
-
rule-variable ip src-address
-
rule-variable ip protocol
-
attribute sn-charge-volume ip bytes uplink
-
attribute sn-charge-volume ip bytes downlink
-
tcp-state
-
tcp-prev-state
The following HTTP EDR attributes are supported:
-
rule-variable http url length 2000
-
rule-variable http request method
-
rule-variable http content type
-
rule-variable http user-agent length 255
-
rule-variable http reply code
-
rule-variable http referer
-
rule-variable http host
-
rule-variable http cookie
-
rule-variable http header-length
-
attribute transaction-uplink-bytes
-
attribute transaction-downlink-bytes
Support for Interim EDRs
ECS supports generation of Interim EDRs – EDRs that are generated for ongoing flows based on a configurable timer.
Usually, EDRs are generated for flows only when the flow terminates or when the flow reaches the configured flow idle-timeout
value. These flows could have time duration that is as long as 48 hours, which makes it difficult to track subscriber activity
until an EDR is generated.
Thus, with interim EDRs, ongoing flow activities are tracked by configuring an interim timeout value for a flow. On expiration
of the interim timer, an EDR is generated.
For configuring an interim EDR, a new CLI keyword,
interim , is introduced.
Based on the configuration, the interim timer is applied to newly
created flows. On expiration of the timer, an interim EDR is
generated along with the following reason: sn-closure-reason
(23). The information volume available until the
expiration of the timer is populated in the EDR along with its
respective timestamps.