Professional Documents
Culture Documents
3.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.
Contents
Glossary ................................................................................................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.
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).
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.
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.
<!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?,
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
)
>
<!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,
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
)
>
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