Introduction
This document describes the charging scenarios related to Rating Group (RG) 0 on Gateway GPRS Supporting Node (GGSN).
Problem Description
Rating Group = '0' reflecting in GGSN Call Data Records(CDRs). Also the volume that reports in GGSN on Rating group = ‘0’ does not report to Online Charging Server (OCS).
CDR ELEMENTS FOLLOW
recordType EGSNPDPRECORD
servedIMSI 11122233334444
ggsnAddress 192.224.40.131
chargingID 464620230
sgsnAddress 192.224.40.136
accessPointNameNI xxxxx.com
pdpType IPV4
servedPDPAddress 192.72.21.107
dynamicAddressFlag TRUE
recordOpeningTime 160905195241+0530
duration 109
causeForRecClosing Normal Release
recordSequenceNumber 1
nodeID DELGW02
localSequenceNumber 384391885
apnSelectionMode MS or Network Provided and Subscription Verified
servedMSISDN 918009435175
chargingCharacteristics Prepaid
chargingCharSelMode SGSN Supplied
sgsnPLMNIdentifier 405, 54
imei-sv 3008280525536203
RATType GERAN
MSTimeZone +05:30
userLocationInformation 405-54-3105-8122
ratingGroup 0 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Troubleshoot
As per the Postpaid redirection plan, they call with RG 431 ruledef which is not configured with any content –id. Due to which, all postpaid redirection users get zero rating group in Call Data Record (CDR).
As per the multiple case test, it is identified with certain User Equipments (UEs) only.
1. Prepaid numbers seem to have an issue. The ones who belong to single user profile redirection plan.
2. If the user tries to reach any page, it gets redirected with Customer page on basis of user agent. On the GGSN end, there is a charging action for this redirect task and it is not associated with any Rating Group. In this case, the user usage contains with "0" rating group as well.
This is the missing configuration:
charging-action 431_url_redirect
flow idle-timeout 300
no video cae-readdressing
flow idle-timeout flow-mapping 300
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>content-id 431 its missing which is trigger for the RG 0 in CDR. add this one
no service-identifier
retransmissions-counted
xheader-insert xheader-format msisdn_rat
billing-action egcdr
no cca charging
content-filtering processing server-group
no qos-class-identifier
no ip tos
no ip tos
no qos-renegotiate traffic-class
flow action redirect-url http://one.airtel.in/net
no flow limit-for-flow-type
no flow limit-for-bandwidth direction downlink
no flow limit-for-bandwidth direction uplink
charge-volume ip bytes
no nexthop-forwarding-address
no ip vlan
tft-notify-ue
no service-detection session-update
rulebase REDIRECT_PLAN
description ""
#exit
timestamp rounding edr round-off
no ran bandwidth optimize
dynamic-rule order always-first
ip reassembly-timeout 5000
no active-charging rf rating-group-override
no active-charging rf service-id-override
icmp req-threshold 20
no ip reset-tos
no tethering-detection
tcp packets-out-of-order timeout 30000
retransmissions-counted
tcp 2msl-timeout 2
tcp packets-out-of-order transmit immediately
no tcp mss
no tcp proxy-mode
http header-parse-limit 12000
rtsp initial-bytes-limit 6000
no video optimization-preprocessing
wtp packets-out-of-order transmit immediately
wtp out-of-order-timeout 5000
tcp check-window-size
post-processing policy not-for-dynamic-discard
no xheader-encryption certificate-name
no xheader-encryption re-encryption
timestamp rounding egcdr round-off
flow end-condition timeout normal-end-signaling session-end charging-edr edr-flow-format
billing-records egcdr
action priority 3 ruledef 426_1_redirect charging-action 426_charged_with_Gy monitoring-key 2
action priority 4 ruledef 403_1_redirect charging-action 410_charged_with_Gy monitoring-key 2
action priority 5 ruledef 410_1_redirect charging-action 431_charged_with_Gy monitoring-key 2
action priority 7 ruledef 431_1 charging-action 431_charged_with_Gy
action priority 15 ruledef httpua charging-action 431_url_redirect
CDR elements follow:
recordType EGSNPDPRECORD
servedIMSI 405540128802801
ggsnAddress 192.224.40.131
chargingID 157136633
sgsnAddress 192.224.40.136
accessPointNameNI xxxxxgprs.com
pdpType IPV4
servedPDPAddress 10.66.181.167
dynamicAddressFlag TRUE
recordOpeningTime 160906192638+0530
duration 130
causeForRecClosing Management Intervention
recordSequenceNumber 1
nodeID DELGW02
localSequenceNumber 524874817
apnSelectionMode MS or Network Provided and Subscription Verified
servedMSISDN 918933043178
chargingCharacteristics Prepaid
chargingCharSelMode SGSN Supplied
sgsnPLMNIdentifier 405, 54
imei-sv 3562370491918918
RATType GERAN
MSTimeZone +05:30
userLocationInformation 422-54-15-25111
ratingGroup 0
localSequenceNumber 87586425
timeOfFirstUsage 160906192838+0530
timeOfLastUsage 160906192838+0530
timeUsage 0
serviceConditionChange PDP context release
qoSInformationNeg 01 0b 61 1f 73 96 68 68 74 05 ff ff 00
sgsn-Address 192.224.20.136
sGSNPLMNIdentifier 405, 54
datavolumeFBCUplink 327
datavolumeFBCDownlink 112
timeOfReport 160906192848+0530
rATType GERAN
CDR ELEMENTS FOLLOW
recordType EGSNPDPRECORD
servedIMSI 405540128802801
ggsnAddress 192.234.40.131
chargingID 157136633
sgsnAddress 223.224.40.136
accessPointNameNI xxxxgprs.com
pdpType IPV4
servedPDPAddress 192.66.181.167
dynamicAddressFlag TRUE
recordOpeningTime 160906192848+0530
duration 0
causeForRecClosing Management Intervention
recordSequenceNumber 2
nodeID DELGW02
localSequenceNumber 524874818
apnSelectionMode MS or Network Provided and Subscription Verified
servedMSISDN 918933043178
chargingCharacteristics Prepaid
chargingCharSelMode SGSN Supplied
sgsnPLMNIdentifier 405, 54
imei-sv 3562370491918918
RATType GERAN
MSTimeZone +05:30
userLocationInformation 405-54-15-25111
ratingGroup 800
resultCode 2001
localSequenceNumber 87586426
timeOfFirstUsage 160906192711+0530
timeOfLastUsage 160906192724+0530
timeUsage 13
serviceConditionChange PDP context release
qoSInformationNeg 01 0b 61 1f 73 96 68 68 74 05 ff ff 00
sgsn-Address 192.124.40.136
sGSNPLMNIdentifier 405, 54
datavolumeFBCUplink 124
datavolumeFBCDownlink 0
timeOfReport 160906192848+0530
rATType GERAN
HEXDUMP-START
00 00 00 01 ....
[V] [M] Charging-Rule-Install
Code: 0x000003e9 (1001) Charging-Rule-Install
Flags: 0xc0 (192) [V] [M]
Length: 0x00003c (60)
Vendor-Id: 0x000028af (10415) 3GPP
[V] [M] Charging-Rule-Base-Name
Code: 0x000003ec (1004) Charging-Rule-Base-Name
Flags: 0xc0 (192) [V] [M]
Length: 0x000020 (32)
Vendor-Id: 0x000028af (10415) 3GPP
Data: REDIRECT_PLAN
Conclusion
If in a charging-action billing-action egcdr is configured but content-id is not, data traffic is charged against this charging-action and is reported in CDRs with Rating Group "0".