Charging in Flexi ISN 3.2

23
Nokia Siemens Networks Flexi ISN, Release 3.2 CDR Storage for On-Demand Transfer in Flexi ISN DN70473096 Issue 1-2 © Nokia Siemens Networks 1 (23)

Transcript of Charging in Flexi ISN 3.2

Page 1: Charging in Flexi ISN 3.2

Nokia Siemens Networks Flexi ISN, Release 3.2

CDR Storage for On-Demand Transfer in Flexi ISN

DN70473096 Issue 1-2

© Nokia Siemens Networks

1 (23)

Page 2: Charging in Flexi ISN 3.2

CDR Storage for On-Demand Transfer in Flexi ISN

2 (23) © Nokia Siemens Networks

DN70473096 Issue 1-2

The information in this document is subject to change without notice and describes only the product defined in the introduction of this documentation. This documentation is intended for the use of Nokia Siemens Networks customers only for the purposes of the agreement under which the document is submitted, and no part of it may be used, reproduced, modified or transmitted in any form or means without the prior written permission of Nokia Siemens Networks. The documentation has been prepared to be used by professional and properly trained personnel, and the customer assumes full responsibility when using it. Nokia Siemens Networks welcomes customer comments as part of the process of continuous development and improvement of the documentation. The information or statements given in this documentation concerning the suitability, capacity, or performance of the mentioned hardware or software products are given “as is” and all liability arising in connection with such hardware or software products shall be defined conclusively and finally in a separate agreement between Nokia Siemens Networks and the customer. However, Nokia Siemens Networks has made all reasonable efforts to ensure that the instructions contained in the document are adequate and free of material errors and omissions. Nokia Siemens Networks will, if deemed necessary by Nokia Siemens Networks, explain issues which may not be covered by the document. Nokia Siemens Networks will correct errors in this documentation as soon as possible. IN NO EVENT WILL NOKIA SIEMENS NETWORKS BE LIABLE FOR ERRORS IN THIS DOCUMENTATION OR FOR ANY DAMAGES, INCLUDING BUT NOT LIMITED TO SPECIAL, DIRECT, INDIRECT, INCIDENTAL OR CONSEQUENTIAL OR ANY LOSSES, SUCH AS BUT NOT LIMITED TO LOSS OF PROFIT, REVENUE, BUSINESS INTERRUPTION, BUSINESS OPPORTUNITY OR DATA,THAT MAY ARISE FROM THE USE OF THIS DOCUMENT OR THE INFORMATION IN IT. This documentation and the product it describes are considered protected by copyrights and other intellectual property rights according to the applicable laws. The wave logo is a trademark of Nokia Siemens Networks Oy. Nokia is a registered trademark of Nokia Corporation. Siemens is a registered trademark of Siemens AG. Other product names mentioned in this document may be trademarks of their respective owners, and they are mentioned for identification purposes only. Copyright © Nokia Siemens Networks 2008. All rights reserved.

Page 3: Charging in Flexi ISN 3.2

Contents

DN70473096 Issue 1-2

© Nokia Siemens Networks

3 (23)

Contents

Summary of changes.............................................................................5

1 CDR delivery to TXT- or XML formatted files.......................................7 1.1 How this mode is intended to be used .....................................................7 1.2 Files for text format disk storage ..............................................................7 1.3 Files for XML format disk storage.............................................................8 1.4 Accessing file storage ..............................................................................9 1.5 Changes to the TEXT/XML interface from previous releases ................10

2 Examples of CDR files .........................................................................11 2.1 Plaintext G-CDR.....................................................................................11 2.2 XML G-CDR ...........................................................................................11 2.3 Plaintext SA-CDR...................................................................................11 2.4 XML SA-CDR .........................................................................................12 2.5 Possible values for Diagnostics field ......................................................12 2.6 The cdr.dtd file........................................................................................16

Glossary................................................................................................23

Page 4: Charging in Flexi ISN 3.2

CDR Storage for On-Demand Transfer in Flexi ISN

4 (23) © Nokia Siemens Networks

DN70473096 Issue 1-2

Page 5: Charging in Flexi ISN 3.2

Summary of changes

DN70473096 Issue 1-2

© Nokia Siemens Networks

5 (23)

Summary of changes Changes in release 3.2 CD4 Changes in content

No changes in content. Changes in documentation

Product names updated, no content changes.

Changes in release 3.2 CD2 Changes in content

High availability is supported in text and XML CDRs.

New CDR files are now opened in a temporary directory (previously a temporary file was opened in the /var/tex/_CDRS directory). Changes in documentation

Chapter 1 CDR delivery to TXT- or XML-formatted files: information has been added that the CDR files are synchronized between the active and standby management blades. Chapters 1.2 Files for text format disk storage and 1.3 Files for XML format disk storage: information about the temporary directory has been added.

Changes between releases 3.1 and 3.2 Changes in content

G-CDRs:

• A new value added to the cause for record closing: SGSN_CHANGE.

SA-CDRs:

• New field added: OCS result code.

• The change condition field can have several values.

• The following fields have been removed:

data content downlink

data content uplink

No OCS credit control Changes in documentation

Chapter 1 CDR delivery to TXT- or XML-formatted files: a clarification about CDR high availability has been added.

Page 6: Charging in Flexi ISN 3.2

CDR Storage for On-Demand Transfer in Flexi ISN

6 (23) © Nokia Siemens Networks

DN70473096 Issue 1-2

Chapter 2 Examples of CDR files: the printouts of the SA-CDR and the cdr.dtd files have been updated.

The ID number for this document has been changed to DN70473096 (previously DN70296451).

Changes in release 3.1 CD1 Changes in content

No changes in content. Changes in documentation

Section 1 CDR delivery to TXT- or XML-formatted files: a clarification about CDR high availability has been added.

Changes between releases 3.0 and 3.1 Changes in content

No changes in content. Changes in documentation

Chapter 1.4 Accessing file storage has been added.

Chapter 2 Examples of CDR files has been restructured and the printouts have been updated.

Page 7: Charging in Flexi ISN 3.2

CDR delivery to TXT- or XML formatted files

DN70473096 Issue 1-2

© Nokia Siemens Networks

7 (23)

1 CDR delivery to TXT- or XML formatted files

This functionality is responsible for storing CDRs to the Flexi ISN operation and maintenance (O&M) hard disk drive. When 'text' or 'XML' is selected for the CDR generation mode, the CDR sender process (ggsncs) does not use the Ga interface at all, and because the charging gateways are not used there is no need to configure them.

The only difference between text- and XML-formatted files is the actual format written to the disk file. Otherwise these two formats act exactly in the same way.

CDR files (text and XML CDRS) are synchronised between the active and the standby management blades, so if one of the management blades fails, no CDRs are lost.

1.1 How this mode is intended to be used

The operator is responsible for both fetching the CDR files from the corresponding Flexi ISN’s CDR directory and removing them after the retrieval has succeeded. Failure to remove the old files can result in the file system becoming full.

1.2 Files for text format disk storage

Text format CDR files are stored in the /var/txt_CDRs directory on the Flexi ISN management blade. This directory will contain multiple CDR files with plaintext CDR data in them. Each file can contain at most 10 000 CDRs (this is not configurable). After 10 000 CDRs have been written to the file, the file is closed and a new file is opened. The file can contain G-CDRs and SA-CDRs. When a CDR is generated by the Flexi

Page 8: Charging in Flexi ISN 3.2

CDR Storage for On-Demand Transfer in Flexi ISN

8 (23) © Nokia Siemens Networks

DN70473096 Issue 1-2

ISN (independently of the type), it is written to the current file. There are no G-CDR- or SA-CDR-specific files.

If you wish to see the CDRs right after they have been generated (for example, during testing), change the CDR generation mode from text to XML. This closes the CDR file.

When a new file is opened, a file name is reserved for storing the file. However, the file is not directly opened with the real file name; instead, a file is opened in a temporary directory with the name: /var/ha_temp_txt_CDRs/.unfinished_cdr_output

When the file contains the maximum number of CDRs or the ggsncs process is shut down, the file is renamed with its real name. This makes it easier for operators to fetch finished files. The operator can, for example through telnet, use the mget *.log.gz command to fetch the finished files, and be sure that the operator is not accidentally fetching the file currently being written.

The CDR file names are in the format cdr.<timestamp>.log.gz, where <timestamp> is a unix timestamp, that is, the number of seconds since epoch (January 1, 1970). As the name suggests, the log file is compressed with libz when it is written to disk (libz is a library with functions used to compress files). An example of this file is: /var/txt_CDRs/cdr.1138111082.log.gz.

No other files are involved when CDRs are generated to text format.

1.3 Files for XML format disk storage

XML format CDR files are stored to the directory /var/XML_CDRs on the Flexi ISN management blade. This directory contains multiple CDR files with XML format CDR data in them. Each file can contain at most 10 000 CDRs (this is not configurable). After 10 000 CDRs are written to the file, the file is closed and a new file is opened. The file can contain G-CDRs and SA-CDRs. When a CDR is generated by the Flexi ISN (independently of the type), it is written to the current file. There are no G-CDR- or SA-CDR-specific files.

If you wish to see the CDRs right after they have been generated (for example, during testing), change the CDR generation mode from XML to text. This closes the CDR file.

When a new file is opened, a file name is reserved for storing the file. However, the file is not directly opened with the real file name; instead, a file is opened in a temporary directory with the name: /var/ha_temp_XML_CDRs/.unfinished_cdr_output

Page 9: Charging in Flexi ISN 3.2

CDR delivery to TXT- or XML formatted files

DN70473096 Issue 1-2

© Nokia Siemens Networks

9 (23)

When the file contains the maximum number of CDRs or the ggsncs process is shut down, the file is renamed with its real name. This makes it easier for operators to fetch finished files. The operator can, for example through telnet, use the mget *.log.gz command to fetch the finished files, and be sure that the operator is not accidentally fetching the file currently being written.

The CDR filenames are in the format cdr.<timestamp>.log.gz, where <timestamp> is a unix timestamp, that is, the number of seconds since epoch (January 1, 1970). As the name suggests, the log file is compressed with libz when it is written to disk. An example of this file is: /var/XML_CDRs/cdr.1138111082.log.gz.

In addition to the CDR XML files, the file /opt/ggsn/etc/cdr.dtd is copied to the /var/XML_CDRs directory when the ggsncs process is restarted or the XML CDR storage is first configured. This DTD file is needed to parse the XML format of the CDRs.

1.4 Accessing file storage

FTP pull is a supported transfer method to fetch CDR files from the Flexi ISN. To be able to log in as an FTP user, perform the following instructions.

1. Create an FTP user and give a password that fulfils the requirements for a new user.

For detailed instructions, see Chapter Adding users in Security and Access Configuration in Voyager for IPSO 3.9.2NET.

2. Enable FTP.

For detailed instructions, see Chapter Enabling network access in Security and Access Configuration in Voyager for IPSO 3.9.2NET.

3. Log in with the user name and password you just created.

Use something other than FTP (for example SSH/Voyager/console).

4. Change the password as requested by the Flexi ISN.

5. Now you can log in using FTP.

Page 10: Charging in Flexi ISN 3.2

CDR Storage for On-Demand Transfer in Flexi ISN

10 (23) © Nokia Siemens Networks

DN70473096 Issue 1-2

1.5 Changes to the TEXT/XML interface from previous releases

• Files are compressed automatically

To save disk space, the files are automatically compressed when written to disk using libz. This increases CPU usage of the ggsncs process to around 30% during busy CDR generation times, but increases the number of CDRs stored: roughly the compression ratio for a typical file is from 18MB to 250kb.

• New file naming

Earlier Flexi ISN/GGSN versions used static file names with the format cdr.<n>.log, where n was a number from 1 to 20. When the last file was written, the first file was written over, which caused CDR loss for some operators. Since Flexi ISN Release 3.0, the file naming scheme does not overwrite any of these files, but can cause the file system to fill up if the operator does not remove the old files properly.

In addition, the currently written file is actually stored first with the file name .unfinished_cdr_output, making it a hidden file for operators. Only after the file has been closed and is ready will it use the real file name, and the operator may safely fetch and remove it.

• Interface initialisation

The interface itself can now be reliably opened and closed as many times as desired.

Page 11: Charging in Flexi ISN 3.2

Examples of CDR files

DN70473096 Issue 1-2

© Nokia Siemens Networks

11 (23)

2 Examples of CDR files 2.1 Plaintext G-CDR

The attached file below contains a table with the type name, text, and value examples for a plaintext G-CDR.

plaintext G-CDR

The Location information field is composed of the characters CI or SAI followed by four groups of numbers separated by a space. The meaning of the four groups of numbers is the following (starting from the group closest to the characters): MNC, MCC, LAC, and CI or SAI (depending on the value of the characters).

2.2 XML G-CDR

The attached file below contains a table with the type name, text, and value examples for an XML G-CDR.

XML G-CDR

2.3 Plaintext SA-CDR

The attached file below contains a table with the type name, text, and value examples for a plaintext SA-CDR.

plaintext SA-CDR

The PDP type organisation field is always followed by the PDP type value field, which is named as value in the plaintext CDRs.

Page 12: Charging in Flexi ISN 3.2

CDR Storage for On-Demand Transfer in Flexi ISN

12 (23) © Nokia Siemens Networks

DN70473096 Issue 1-2

The Location information field is composed of the characters CI or SAI followed by four groups of numbers separated by a space. The meaning of the four groups of numbers is the following (starting from the group closest to the characters): MNC, MCC, LAC, and CI or SAI (depending on the value of the characters).

In the plaintext SA-CDRs, the change time at the CDR level is called Close Time.

2.4 XML SA-CDR

The attached file below contains a table with the type name, text, and value examples for an XML SA-CDR.

XML SA-CDR

2.5 Possible values for Diagnostics field

All the possible values for the Diagnostics field are listed below.

Access point not found

Max active PDP context count/AP exceeded

Max dynamic addresses/AP exceeded

No space for a new PDP context

Unverified mobile acceptance is not allowed at this AP

Attempting to create secondary PDP context with no primary

Successful

Unknown reason

Delete PDP context request

Primary access point reconfigured

Primary access point deleted

SGSN is unreachable

SGSN has been restarted

Mandatory information element missing from request

Mandatory information element is not correct in request

RADIUS authentication server can not be contacted

Page 13: Charging in Flexi ISN 3.2

Examples of CDR files

DN70473096 Issue 1-2

© Nokia Siemens Networks

13 (23)

RADIUS accounting server can not be contacted

Static PDP address type not supported

Static PDP address is out of allowed range

PDP address is already in use by another PDP context

DHCP server can not be contacted

Failed to allocate address from internal address pool

No response from DHCP

DHCP lease is too short

DHCP lease can not be renewed

DHCP assigned new address to active PDP context

Bad IP address from DHCP

RADIUS authentication failed

RADIUS accounting failed

Bad IP address from RADIUS

Error indication from SGSN

Unknown dynamic address allocation method

GGSN is being shut down

TFT error

Admission refused

GGSN configuration changed

Session timer expired

Idle timer expired

L2TP server authentication failure

L2TP session failed

Bad IP address from L2TP

SGSN created new context over existing one

Update PDP Context request to SGSN has failed

Requested PDP address type not supported

Requested PDP address type not supported for requested access point

Dynamic address allocation not supported for requested access point

Secondary PDP context forcibly removed during intersystem update

SGSN GTP version changed

L2TP server has given no IP address for the session

Page 14: Charging in Flexi ISN 3.2

CDR Storage for On-Demand Transfer in Flexi ISN

14 (23) © Nokia Siemens Networks

DN70473096 Issue 1-2

ARP of the subscriber is too low

Out of bitrate capacity for realtime traffic

Out of bitrate capacity for conversational traffic

Out of bitrate capacity for streaming traffic

CPU load is too high

Traffic load is too high

IP address is missing from RADIUS Access-Accept; required by AP

PDP context not found

RADIUS Server Disconnected

No memory for a new AP connection

Requested from portal CLI

No default services configured for cAP

Secondary PDP context is not allowed in service-aware session

Information to select main sAP is missing from RADIUS Access-Accept

Problems with NSM connection

NSM information for subscription has been updated

Problems with OSC connection or OSC response

Problems in GGSN configuration, check the log for details

No such service

Too many services per session

Problems with NSM response

OSC disconnected

SGSN assigned TEID user plane of this context to a new context

Secondary PDP context is not allowed in OSC-prepaid session

User authentication over Go interface has failed

Revoke authorisation from PDF

Failure in PDF decision enforcement

Negotiated QoS is better than requested

Service profile for the session updated by RADIUS

This AP cannot be selected directly by MS

No accounting message received for NAS context

Collision of NSAPIs selected in GPRS network and by the AC

Network Access Server deleted

Page 15: Charging in Flexi ISN 3.2

Examples of CDR files

DN70473096 Issue 1-2

© Nokia Siemens Networks

15 (23)

Network Access Server configuration changed

NAS RADIUS Accounting On received

NAS RADIUS Accounting Off received

NAS RADIUS Unknown Assigned Session Id

Secondary access point reconfigured

Secondary access point deleted

Bad or missing wallet-related parameters for a service

Inbound Roaming Restricted

Too many unanswered RADIUS Accounting requests at the moment

Waiting for acknowledgement of the initial RADIUS Accounting On

NAS did not supply essential attribute

Error in RADIUS user profile

Too many activations are in progress at the moment

Activation could not be completed within reasonable amount of time

Delete request by HA master

HA attempted for context using online charging

Real time Primary PDP context activation not allowed to access point

Stuck transaction during EUA database synchronisation

OCS was unreachable due to lack of transport connection

OCS did not respond within the time allowed

OCS sent a result code in the CCA indicating an error

OCS sent an incomprehensible CCA

OCS closed the PDP context with an Abort-Session-Request

OCS failure handling - continue action timeout

Database conflict in interface blade

User profile search request to NSM timed out

Support for this feature is not enabled

Licensed capacity exeeded

User profile is missing from NSM

Page 16: Charging in Flexi ISN 3.2

CDR Storage for On-Demand Transfer in Flexi ISN

16 (23) © Nokia Siemens Networks

DN70473096 Issue 1-2

2.6 The cdr.dtd file

The file below must be placed in the same directory where the XML files are placed so the corresponding browser can open and display the contents of the XML files.

<?xml version="1.0" encoding="UTF-8"?>

<!-- DTD for the CDRs in Nokia(?)'s ISN3.2 -->

<!ELEMENT cdr (gcdr?, sacdr?)>

<!ELEMENT gcdr (g-id, g-data)>

<!ELEMENT sacdr (sa-id, sa-data)>

<!ELEMENT g-id (

record_type,

GGSN_address,

charging_id

)

>

<!ELEMENT g-data (

opening_time,

time_zone,

SGSN_address+,

sgsn_plmn_id,

g-container+,

duration,

cause_record_closing,

apn,

imsi?,

pdp_type,

charging_characteristics,

msisdn?,

pdp_address?,

node_id,

record_sequence_number,

dynamic_address_flag?,

Page 17: Charging in Flexi ISN 3.2

Examples of CDR files

DN70473096 Issue 1-2

© Nokia Siemens Networks

17 (23)

diagnostics?,

apn_selection_mode,

charging_characteristics_selection_mode,

charging_profile,

charging_type,

charging_type_selection_mode,

session_id,

access_type,

icid?,

imei?,

FCI?,

location_info?,

ms_timezone?,

local_sequence_number,

cdr_stored?

)

>

<!ELEMENT g-container (

qos_negotiated?,

data_volume_uplink,

data_volume_downlink,

toll_free_data_uplink?,

toll_free_data_downlink?,

change_condition,

change_time,

time_zone?

)

>

<!ELEMENT pdp_type (

pdp_organisation,

pdp_value

)

>

Page 18: Charging in Flexi ISN 3.2

CDR Storage for On-Demand Transfer in Flexi ISN

18 (23) © Nokia Siemens Networks

DN70473096 Issue 1-2

<!ELEMENT sa-id (

record_type,

session_id,

charging_id,

GGSN_address

)

>

<!ELEMENT sa-data (

SGSN_address,

sgsn_plmn_id,

qos_negotiated,

imsi?,

charging_characteristics,

msisdn?,

pdp_address?,

dynamic_address_flag?,

charging_characteristics_selection_mode,

charging_profile,

charging_type,

charging_type_selection_mode,

access_type,

duration,

apn,

apn_selection_mode,

pdp_type,

node_id,

icid?,

imei?,

diagnostics?,

location_info?,

ms_timezone?,

FCI?,

opening_time,

Page 19: Charging in Flexi ISN 3.2

Examples of CDR files

DN70473096 Issue 1-2

© Nokia Siemens Networks

19 (23)

time_zone+,

sa-container+,

cdr_continues?,

close_time,

cause_record_closing,

record_sequence_number,

local_sequence_number,

cdr_stored?

)

>

<!ELEMENT sa-container (

service_id,

charging_class,

change_condition,

change_time?,

time_zone?,

data_volume_uplink?,

data_volume_downlink?,

data_content_uplink?,

data_content_downlink?,

hits_uplink?,

hits_downlink?,

duration?,

uplink_time?,

downlink_time?,

first_activity?,

last_activity?,

wallet_id?,

wallet_charging_type?,

no_OCS_cc?,

OCS_res_code?,

URL

)

>

Page 20: Charging in Flexi ISN 3.2

CDR Storage for On-Demand Transfer in Flexi ISN

20 (23) © Nokia Siemens Networks

DN70473096 Issue 1-2

<!ELEMENT record_type (#PCDATA)>

<!ELEMENT GGSN_address (#PCDATA)>

<!ELEMENT charging_id (#PCDATA)>

<!ELEMENT opening_time (#PCDATA)>

<!ELEMENT time_zone (#PCDATA)>

<!ELEMENT SGSN_address (#PCDATA)>

<!ELEMENT sgsn_plmn_id (#PCDATA)>

<!ELEMENT duration (#PCDATA)>

<!ELEMENT cause_record_closing (#PCDATA)>

<!ELEMENT apn (#PCDATA)>

<!ELEMENT imsi (#PCDATA)>

<!ELEMENT charging_characteristics (#PCDATA)>

<!ELEMENT msisdn (#PCDATA)>

<!ELEMENT pdp_address (#PCDATA)>

<!ELEMENT node_id (#PCDATA)>

<!ELEMENT record_sequence_number (#PCDATA)>

<!ELEMENT local_sequence_number (#PCDATA)>

<!ELEMENT dynamic_address_flag (#PCDATA)>

<!ELEMENT diagnostics (#PCDATA)>

<!ELEMENT apn_selection_mode (#PCDATA)>

<!ELEMENT charging_characteristics_selection_mode (#PCDATA)>

<!ELEMENT charging_profile (#PCDATA)>

<!ELEMENT charging_type (#PCDATA)>

<!ELEMENT charging_type_selection_mode (#PCDATA)>

<!ELEMENT session_id (#PCDATA)>

<!ELEMENT access_type (#PCDATA)>

<!ELEMENT icid (#PCDATA)>

<!ELEMENT imei (#PCDATA)>

<!ELEMENT FCI (#PCDATA)>

<!ELEMENT location_info (#PCDATA)>

<!ELEMENT ms_timezone (#PCDATA)>

<!ELEMENT cdr_stored (#PCDATA)>

Page 21: Charging in Flexi ISN 3.2

Examples of CDR files

DN70473096 Issue 1-2

© Nokia Siemens Networks

21 (23)

<!ELEMENT qos_negotiated (#PCDATA)>

<!ELEMENT data_volume_uplink (#PCDATA)>

<!ELEMENT data_volume_downlink (#PCDATA)>

<!ELEMENT toll_free_data_uplink (#PCDATA)>

<!ELEMENT toll_free_data_downlink (#PCDATA)>

<!ELEMENT change_condition (#PCDATA)>

<!ELEMENT change_time (#PCDATA)>

<!ELEMENT pdp_organisation (#PCDATA)>

<!ELEMENT pdp_value (#PCDATA)>

<!ELEMENT cdr_continues (#PCDATA)>

<!ELEMENT close_time (#PCDATA)>

<!ELEMENT service_id (#PCDATA)>

<!ELEMENT charging_class (#PCDATA)>

<!ELEMENT data_volume_uplink (#PCDATA)>

<!ELEMENT data_volume_downlink (#PCDATA)>

<!ELEMENT data_content_uplink (#PCDATA)>

<!ELEMENT data_content_downlink (#PCDATA)>

<!ELEMENT hits_uplink (#PCDATA)>

<!ELEMENT hits_downlink (#PCDATA)>

<!ELEMENT uplink_time (#PCDATA)>

<!ELEMENT downlink_time (#PCDATA)>

<!ELEMENT first_activity (#PCDATA)>

<!ELEMENT last_activity (#PCDATA)>

<!ELEMENT wallet_id (#PCDATA)>

<!ELEMENT wallet_charging_type (#PCDATA)>

<!ELEMENT no_OCS_cc (#PCDATA)>

<!ELEMENT OCS_res_code (#PCDATA)>

<!ELEMENT URL (#PCDATA)>

Page 22: Charging in Flexi ISN 3.2

CDR Storage for On-Demand Transfer in Flexi ISN

22 (23) © Nokia Siemens Networks

DN70473096 Issue 1-2

Page 23: Charging in Flexi ISN 3.2

Glossary

DN70473096 Issue 1-2

© Nokia Siemens Networks

23 (23)

Glossary CDR Charging Data Record

CPU Central Processing Unit

DTD Data Type Definition

G-CDR GGSN Charging Record

GTP' Enhanced GPRS Tunnelling Protocol

ISN Intelligent Service Node

SA-CDR Service-Aware Charging Record

TLV Type-Length-Value

XML Extensible Markup Language

Page 24: Charging in Flexi ISN 3.2

Plaintext G-CDRs Type name Text* Value example

recordType " Record type : G-CDR" ggsnAddress " GGSN address : {ip address}" 192.168.182.111 chargingID " Charging ID : {number}" 2063951886

recordOpeningTime " Record opening time : {date}" Fri Jun 7 11:22:21 2002 timeZone " Time zone : {signed number} seconds" - 3600

sgsnAddress " SGSN address [{number}] : {ip address}" 1 123.234.44.23 SGSNPLMNIdentifier " SGSN PLMN ID : {PLMN ID}" 310 911

trafficDataVolume " ---------- Container #{number} (start) -------" . . . . " ---------- Container #{number} (end) -------"

1 1

umtsQosNegotiated " UMTS QoS negotiated : {QoS}" 2 9 150 254 254 117 129 64 64 dataVolumeGPRSUplink " Uplink data volume : {number}" 186

dataVolumeGPRSDownlink " Downlink data volume : {number}" 47 tollFreeDataVolumeGPRSUplink " Toll free uplink data volume : {number}" 221

tollFreeDataVolumeGPRSDownlink "Toll free downlink data volume : {number}" 513 changeCondition " Change condition : {predefined text}" QoS change

Tariff time change Record closed

Intra PLMN SGSN change changeTime " Change time : {date}" Fri Jun 7 11:22:21 2002

timeZone " Time zone : {signed number} seconds" + 7200 duration " Duration : {number}" 18

causeForRecClosing " Cause for CDR closing : {predefined text}" PDP context release Abnormal release

Volume limit Time limit SGSN change

Maximum number of change conditions Management intervention

Inter PLMN or unknown SGSN change RAT change

accessPointName " Access point Name (ntw) : {text}" Access.point servedIMSI " served IMSI : {IMSI number}" 350 34 0070741415

pdpType " PDP type organisation : IETF" " value : {predefined text}"

End User Address information element for IPv4 End User Address information element for IPv6

chargingCharacteristics "Charging characteristics : {specific text}" 8 0 (Normal user) 4 0 (Prepaid user)

2 0 (Flat rate user) 1 0 (Hot bill user)

136 0 (flag [8] masqued: Normal user [OCS prepaid user]) 132 0 (flag [4] masqued: Prepaid user [OCS prepaid user])

... servedMSISDN " Served MSISDN : {MSISDN number}" 91 358 40 764949443

servedPDPAddress " Served PDP address : {ip address}" 123.234.32.19 nodeID " Node ID : {text}" isn_3.2_1

recordSequenceNumber " record_sequence_number : {number}" 2 dynamicAddressFlag " Dynamic address flag : Yes"

diagnostics " Diagnostics : {predefined text}" (See Chapter Possible values for Diagnostics field). apnSelectionMode " APN selection mode : {predefined text}" MS or Network provided suscription verified

MS provided suscription not verified Network provided suscription not verified

chCharacSelectionMode "Chrg.char.selection mode : {predefined text}" Copied from SGSN Default value for a local user

Page 25: Charging in Flexi ISN 3.2

Default value for a non-local (remote) user chargingProfile " Charging profile : {predefined text}" Prepaid

Postpaid Postpaid with credit control

Prepaid with credit card HLR

Wallet specific Postpaid with wallets

Hot bill chargingType " Charging type : {predefined text}" Normal record

Prepaid record Hot bill record

chTypeSelectionMode " Charging type sel. mode : {predefined text}" Copied from the charging characteristics field Remote user

Prepaid functionality not enabled Hotbill functionality not enabled

CDR generation for flatrate users enabled OCS-based user in NSM charging profile

OCS-based user in RADIUS charging profile OCS-based user in AP's default charging profile

Value taken from the charging profile sessionId " Session ID : {number}" 186786525

accessType " Access type : {predefined text}" 3G RAN 2G RAN WLAN

Value ({number}) Nokia WLAN

NAS Unspecified SGSN

4 - 252 (inc.)

ICID " ICID : {ICID}" b4 w 1c 9 m y s g X c C 0 0 0 0 0 0 0 0 0 servedIMEI " served IMEI : {IMSI}" 123456 78 901234 0

FCI " FCI : {FCI}" 1 2 3 8 C p userLocationInformation " Location information : {specific text}" CI 6121 31441

SAI 6121 31441 MSTimeZone " MS time zone : {predefined text}" - 1 hour 30 minutes. No DST

+ 0 hour 0 minutes. +1 hour DST + 2 hour 0 minutes. +2 hour DST

localSequenceNumber " Local sequence number : {number}" 1573024733 cdrStored " CDR Stored : Yes"

*) Quotation marks (" ") are used for information purposes only (to show the white spaces). They do not appear in the CDR.

Page 26: Charging in Flexi ISN 3.2

Plaintext SA-CDRs Type name Text* Value example

recordType " Record type : SA-CDR" sessionId " Session ID : {number}" 186786525

chargingID " Charging ID : {number}" 2063951886 ggsnAddress " GGSN address : {ip address}" 192.168.182.111 sgsnAddress " SGSN address : {ip address}" 123.234.44.23

SGSNPLMNIdentifier " SGSN PLMN ID : {PLMN ID}" 310 911 umtsQosNegotiated " UMTS QoS negotiated : {QoS}" 2 9 150 254 254 117 129 64 64

servedIMSI " served IMSI : {IMSI number}" 350 34 0070741415 chargingCharacteristics "Charging characteristics : {specific text}" 8 0 (Normal user)

4 0 (Prepaid user) 2 0 (Flat rate user) 1 0 (Hot bill user)

136 0 (flag [8] masqued: Normal user [OCS prepaid user]) 132 0 (flag [4] masqued: Prepaid user [OCS prepaid user])

... servedMSISDN " Served MSISDN : {MSISDN number}" 91 358 40 764949443

servedPDPAddress " Served PDP address : {ip address}" 123.234.32.19 dynamicAddressFlag " Dynamic address flag : Yes"

chCharacSelectionMode "Chrg.char.selection mode : {predefined text}" Copied from SGSN Default value for a local user

Default value for a non-local (remote) user chargingProfile " Charging profile : {predefined text}" Prepaid

Postpaid Postpaid with credit control

Prepaid with credit card HLR

Wallet specific Postpaid with wallets

Hot bill chargingType " Charging type : {predefined text}" Normal record

Prepaid record Hot bill record

chTypeSelectionMode " Charging type sel. mode : {chrg type sel mode}" Copied from the charging characteristics field Remote user

Prepaid functionality not enabled Hotbill functionality not enabled

CDR generation for flatrate users enabled OCS-based user in NSM charging profile

OCS-based user in RADIUS charging profile OCS-based user in AP's default charging profile

Value taken from the charging profile accessType " Access type : {predefined text}" 3G RAN

2G RAN WLAN

Value ({number}) Nokia WLAN

NAS Unspecified SGSN

4 - 252 (inc.)

duration " Duration : {number}" 18 accessPointName " Access point Name (ntw) : {text}" Access.point apnSelectionMode " APN selection mode : {predefined text}" MS or Network provided suscription verified

MS provided suscription not verified

Page 27: Charging in Flexi ISN 3.2

Network provided suscription not verified pdpType " PDP type organisation : IETF"

" value : {predefined text}" End User Address information element for IPv4 End User Address information element for IPv6

nodeID " Node ID : {text}" isn_3.2_1 ICID " ICID : {ICID}" b4 w 1c 9 m y s g X c C 0 0 0 0 0 0 0 0 0

servedIMEI " served IMEI : {IMSI}" 123456 78 901234 0 Diagnostics " Diagnostics : {predefined text}" (See Chapter Possible values for Diagnostics field).

userLocationInformation " Location information : {specific text}" CI 6121 31441 SAI 6121 31441

MSTimeZone " MS time zone : {predefined text}" - 1 hour 30 minutes. No DST + 0 hour 0 minutes. +1 hour DST + 2 hour 0 minutes. +2 hour DST

FCI " FCI : {FCI}" 1 2 3 8 C p recordOpeningTime " Record opening time : {date}" Fri Jun 7 11:22:21 2002

timeZone " Time zone : {signed number} seconds" - 3600 trafficDataVolume " ---------- Container #{number} (start) -------"

. . . . " ---------- Container #{number} (end) -------"

1 1

serviceId " Service ID : {number}" 33620604 chargingClass " Charging class : {number}" 353304835

changeCondition " Change condition : {predefined text}" QoS change Intra PLMN SGSN change Inter PLMN SGSN change

Tariff change PDP release RAT change

QHT expiry or service close timeout DCCA quota reauthentication: Time exhausted

DCCA quota reauthentication: Volume exhausted DCCA quota validity time expiry

DCCA quota reauthorization requested by OCS DCCA failure handling: Continue IP flow (credit control change)

DCCA quota reauthentication: Hits exhausted Record closure

Time limit reached Volume limit reached Hits limit reached

QoS change+Intra PLMN SGSN change+DCCA quota reauthentication: Time exhausted+DCCA quota reauthentication: Volume exhausted+

changeTime " Change time : {date}" Fri Jun 7 11:22:21 2002 timeZone " Time zone : {signed number} seconds" + 7200

dataVolumeGPRSUplink " Uplink data volume : {number}" 186 dataVolumeGPRSDownlink " Downlink data volume : {number}" 47

numberOfUplinkHits " Number of uplink hits : {number}" 3 numberOfDownlinkHits " Number of downlink hits : {number}" 1

duration " Duration : {number}" 18 uplinkTime " Uplink time : {number}" 18

downlinkTime " Downlink time : {number}" 18 firstActivity " First activity timestamp : {date}" Sat Dec 11 16:28:50 2004 lastActivity " Last activity timestamp : {date}" Wed Dec 22 20:16:00 2004

walletId " Wallet ID : {number}" 12 walletChargingType " Wallet charging type : {predefined text}" Prepaid

Postpaid Postpaid with credit control

Prepaid with credit card OCSResultCode " OCS result code : {number}" 2001

URL " URL : {text}" www.nsn.com

Page 28: Charging in Flexi ISN 3.2

cdrContinues " CDR continues : {predefined text}" CDR number {number} Last CDR

1

changeTime " Close time : {date}" Sun May 5 10:01:31 2002 timeZone " Time zone : {signed number} seconds" - 7712

causeForRecClosing " Cause for CDR closing : {predefined text}" PDP context release Abnormal release

SGSN change Maximum number of change conditions

Management intervention Inter PLMN or unknown SGSN change

Session release QoS change

Update PDP context Time limit

Volume limit Hit-based limit

RAT change Abnormal session release

recordSequenceNumber " record_sequence_number : {number}" 2 localSequenceNumber " Local sequence number : {number}" 1573024733

cdrStored " CDR Stored : Yes"

*) Quotation marks (" ") are used for information purposes only (to show the white spaces). They do not appear in the CDR.

Page 29: Charging in Flexi ISN 3.2

XML G-CDRs Type name Text* Value example

recordType " <record_type>G-CDR</record_type>" ggsnAddress " <GGSN_address>{ip address}</GGSN_address>" 192.168.182.111 chargingID " <charging_id>{number}</charging_id>" 2063951886

recordOpeningTime " <opening_time>{date}</opening_time>" Fri Jun 7 11:22:21 2002 timeZone " <time_zone>{signed number} seconds</time_zone>" - 3600

sgsnAddress " <SGSN_address>{ip address}</SGSN_address>" 123.234.44.23 SGSNPLMNIdentifier " <sgsn_plmn_id>{PLMN ID}</sgsn_plmn_id>" 310 911

trafficDataVolume " <g-container>" . . . . " </g-container>"

umtsQosNegotiated " <qos_negotiated>{QoS}</qos_negotiated>" 2 9 150 254 254 117 129 64 64 dataVolumeGPRSUplink " <data_volume_uplink>{number}</data_volume_uplink> " 186

dataVolumeGPRSDownlink " <data_volume_downlink>{number}</data_volume_downlink>" 47 tollFreeDataVolumeGPRSUplink " <toll_free_data_uplink>{number}</toll_free_data_uplink>" 221

tollFreeDataVolumeGPRSDownlink " <toll_free_data_downlink>{number}</toll_free_data_downlink>" 513 changeCondition " <change_condition>{predefined text}</change_condition>" QoS change

Tariff time change Record closed

Intra PLMN SGSN change changeTime " <change_time>{date}</change_time>" Fri Jun 7 11:22:21 2002

timeZone " <time_zone>{signed number} seconds</time_zone>" + 7200 duration " <duration>{number}</duration>" 18

causeForRecClosing " <cause_record_closing>{predefined text}</cause_record_closing>" PDP context release Abnormal release

Volume limit Time limit SGSN change

Maximum number of change conditions Management intervention

Inter PLMN or unknown SGSN change RAT change

accessPointName " <apn>{text}</apn>" Access.point servedIMSI " <imsi>{IMSI number} </imsi>" 350 34 0070741415

pdpType " <pdp_type>" " <pdp_organisation>IETF</pdp_organization>" " <pdp_value>{predefined text}</pdp_value>" " </pdp_type>"

End User Address information element for IPv4 End User Address information element for IPv6

chargingCharacteristics " <charging_characteristics>{specific text}</charging_characteristics>" 8 0 (Normal user) 4 0 (Prepaid user)

2 0 (Flat rate user) 1 0 (Hot bill user)

136 0 (flag [8] masqued: Normal user [OCS prepaid user]) 132 0 (flag [4] masqued: Prepaid user [OCS prepaid user])

... servedMSISDN " <msisdn>{MSISDN number} </msisdn>" 91 358 40 764949443

servedPDPAddress " <pdp_address>{ip address}</pdp_address>" 123.234.32.19 nodeID " <node_id>{text}</node_id>" isn_3.2_1

recordSequenceNumber " <record_sequence_number>{number}</record_sequence_number>" 2 dynamicAddressFlag " <dynamic_address_flag>Yes</dynamic_address_flag>"

diagnostics " <diagnostics>{predefined text}</diagnostics>" (See Chapter Possible values for Diagnostics field). apnSelectionMode " <apn_selection_mode>{predefined text}</apn_selection_mode>" MS or Network provided suscription verified

MS provided suscription not verified Network provided suscription not verified

Page 30: Charging in Flexi ISN 3.2

chCharacSelectionMode " <charging_characteristics_selection_mode>{predefined text}</charging_characteristics_selection_mode>"

Copied from SGSN Default value for a local user

Default value for a non-local (remote) user chargingProfile " <charging_profile>{predefined text}</charging_profile>" Prepaid

Postpaid Postpaid with credit control

Prepaid with credit card HLR

Wallet specific Postpaid with wallets

Hot bill chargingType " <charging_type>{predefined text}</charging_type>" Normal record

Prepaid record Hot bill record

chTypeSelectionMode " <charging_type_selection_mode>{predefined text}</charging_type_selection_mode>"

Copied from the charging characteristics field Remote user

Prepaid functionality not enabled Hotbill functionality not enabled

CDR generation for flatrate users enabled OCS-based user in NSM charging profile

OCS-based user in RADIUS charging profile OCS-based user in AP's default charging profile

Value taken from the charging profile sessionId " <session_id>{number}</session_id>" 186786525

accessType " <access_type>{predefined text}</access_type>" 3G RAN 2G RAN WLAN Value

({number}) Nokia WLAN

NAS Unspecified

SGSN

4 - 252 (inc.)

ICID " <icid>{ICID} </icid>" b4 w 1c 9 m y s g X c C 0 0 0 0 0 0 0 0 0 servedIMEI " <imei>{IMEI} </imei>" 123456 78 901234 0

FCI " <FCI>{FCI} </FCI>" 1 2 3 8 C p userLocationInformation " <location_info>{predefined text} </location_info>" CI 6121 31441

SAI 6121 31441 MSTimeZone " <ms_timezone>{predefined text}</ms_timezone>" - 1 hour 30 minutes. No DST

+ 0 hour 0 minutes. +1 hour DST + 2 hour 0 minutes. +2 hour DST

localSequenceNumber " <local_sequence_number>{number}</local_sequence_number>" 1573024733 cdrStored " <cdr_stored>Yes</cdr_stored>"

*) Quotation marks (" ") are used for information purposes only (to show the white spaces). They do not appear in the CDR.

Page 31: Charging in Flexi ISN 3.2

XML SA-CDRs Type name Text* Value example

recordType " <record_type>SA-CDR</record_type>" sessionId " <session_id>{number}</session_id>" 186786525

chargingID " <charging_id>{number}</charging_id>" 2063951886 ggsnAddress " <GGSN_address>{ip address}</GGSN_address>" 192.168.182.111 sgsnAddress " <SGSN_address>{ip address}</SGSN_address>" 123.234.44.23

SGSNPLMNIdentifier " <sgsn_plmn_id>{PLMN ID}</sgsn_plmn_id>" 310 911 umtsQosNegotiated " <qos_negotiated>{QoS}</qos_negotiated>" 2 9 150 254 254 117 129 64 64

servedIMSI " <imsi>{IMSI} </imsi>" 350 34 0070741415 chargingCharacteristics " <charging_characteristics>{specific

text}</charging_characteristics>" 8 0 (Normal user) 4 0 (Prepaid user)

2 0 (Flat rate user) 1 0 (Hot bill user)

136 0 (flag [8] masqued: Normal user [OCS prepaid user]) 132 0 (flag [4] masqued: Prepaid user [OCS prepaid user])

... servedMSISDN " <msisdn>{MSISDN} </msisdn>" 91 358 40 764949443

servedPDPAddress " <pdp_address>{ip address}</pdp_address>" 123.234.32.19 dynamicAddressFlag " <dynamic_address_flag>Yes</dynamic_address_flag>"

chCharacSelectionMode " <charging_characteristics_selection_mode>{specific text}</charging_characteristics_selection_mode>"

Copied from SGSN Default value for a local user

Default value for a non-local (remote) user chargingProfile " <charging_profile>{specific text}</charging_profile>" Prepaid

Postpaid Postpaid with credit control

Prepaid with credit card HLR

Wallet specific Postpaid with wallets

Hot bill chargingType " <charging_type>{specific text}</charging_type>" Normal record

Prepaid record Hot bill record

chTypeSelectionMode " <charging_type_selection_mode>{specific text}</charging_type_selection_mode>"

Copied from the charging characteristics field Remote user

Prepaid functionality not enabled Hotbill functionality not enabled

CDR generation for flatrate users enabled OCS-based user in NSM charging profile

OCS-based user in RADIUS charging profile OCS-based user in AP's default charging profile

Value taken from the charging profile accessType " <access_type>{specific text}</access_type>" 3G RAN

2G RAN WLAN

Value ({number}) Nokia WLAN

NAS Unspecified SGSN

4 - 252 (inc.)

duration " <duration>{number}</duration>" 18 accessPointName " <apn>{text}</apn>" Access.point apnSelectionMode " <apn_selection_mode>{predefined

text}</apn_selection_mode>" MS or Network provided suscription verified

MS provided suscription not verified Network provided suscription not verified

Page 32: Charging in Flexi ISN 3.2

pdpType " <pdp_type>" " <pdp_organisation>IETF</pdp_organization>" " <pdp_value>{predefined text}</pdp_value>" " </pdp_type>"

End User Address information element for IPv4 End User Address information element for IPv6

nodeID " <node_id>{text}</node_id>" isn_3.2_1 ICID " <icid>{ICID} </icid>" b4 w 1c 9 m y s g X c C 0 0 0 0 0 0 0 0 0

servedIMEI " <imei>{IMEI} </imei>" 123456 78 901234 0 Diagnostics " <diagnostics>{specific text}</diagnostics>" (See Chapter Possible values for Diagnostics field).

userLocationInformation " <location_info>{predefined text} </location_info>" CI 6121 31441 SAI 6121 31441

MSTimeZone " <ms_timezone>{predefined text}</ms_timezone>" - 1 hour 30 minutes. No DST + 0 hour 0 minutes. +1 hour DST + 2 hour 0 minutes. +2 hour DST

FCI " <FCI>{FCI} </FCI>" 1 2 3 8 C p recordOpeningTime " <opening_time>{date}</opening_time>" Fri Jun 7 11:22:21 2002

timeZone " <time_zone>{signed number} seconds</time_zone>" - 3600 trafficDataVolume " <sa-container>"

. . . . " </sa-container>"

1 1

serviceId " <service_id>{number}</service_id>" 33620604 chargingClass " <charging_class>{number}</charging_class>" 353304835

changeCondition " <change_condition>{predefined text}</change_condition>" QoS change Intra PLMN SGSN change Inter PLMN SGSN change

Tariff change PDP release RAT change

QHT expiry or service close timeout DCCA quota reauthentication: Time exhausted

DCCA quota reauthentication: Volume exhausted DCCA quota validity time expiry

DCCA quota reauthorization requested by OCS DCCA failure handling: Continue IP flow (credit control change)

DCCA quota reauthentication: Hits exhausted Record closure

Time limit reached Volume limit reached Hits limit reached

QoS change+Intra PLMN SGSN change+DCCA quota reauthentication: Time exhausted+DCCA quota reauthentication: Volume exhausted+

changeTime " <change_time>{date}</change_time>" Fri Jun 7 11:22:21 2002 timeZone " <time_zone>{signed number} seconds</time_zone>" + 7200

dataVolumeGPRSUplink " <data_volume_uplink>{number}</data_volume_uplink>" 186 dataVolumeGPRSDownlink " <data_volume_downlink>{number}</data_volume_downlink>" 47

numberOfUplinkHits " <hits_uplink>{number}</hits_uplink>" 3 numberOfDownlinkHits " <hits_downlink>{number}</hits_downlink>" 1

Duration " <duration>{number}</duration>" 18 uplinkTime " <uplink_time>{number}</uplink_time>" 18

downlinkTime " <downlink_time>{number}</downlink_time>" 18 firstActivity " <first_activity>{date}</first_activity>" Sat Dec 11 16:28:50 2004 lastActivity " <last_activity>{date}</last_activity>" Wed Dec 22 20:16:00 2004

walletId " <wallet_id>{number}</wallet_id>" 12 walletChargingType " <wallet_charging_type>{predefined

text}</wallet_charging_type>" Prepaid Postpaid

Postpaid with credit control Prepaid with credit card

OCSResultCode " <OCS_res_code>{number}</OCS_res_code>" 2001

Page 33: Charging in Flexi ISN 3.2

URL " <URL>{text}</URL>" www.nsn.com cdrContinues " <cdr_continues>{predefined text}</cdr_continues>" CDR number {number}

Last CDR 1

changeTime " <close_time>{date}</close_time>" Sun May 5 10:01:31 2002 timeZone " <time_zone>{signed number} seconds</time_zone>" - 7712

causeForRecClosing " <cause_record_closing>{predefined text}</cause_record_closing>"

PDP context release Abnormal release

SGSN change Maximum number of change conditions

Management intervention Inter PLMN or unknown SGSN change

Session release QoS change

Update PDP context Time limit

Volume limit Hit-based limit

RAT change Abnormal session release

recordSequenceNumber " <record_sequence_number>{number}</record_sequence_number>" 2 localSequenceNumber " <local_sequence_number>{number}</local_sequence_number>" 1573024733

cdrStored " <cdr_stored>Yes</cdr_stored>"

*) Quotation marks (" ") are used for information purposes only (to show the white spaces). They do not appear in the CDR.