+ All Categories
Home > Documents > OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

Date post: 24-Jan-2016
Category:
Upload: muhammad-saad-farooq
View: 237 times
Download: 6 times
Share this document with a friend
Popular Tags:
354
OCS V100R002C02LG0237 Call Detail Record Reference Issue 26 Date 2014-03-31 HUAWEI TECHNOLOGIES CO., LTD.
Transcript
Page 1: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS V100R002C02LG0237

Call Detail Record Reference

Issue 26

Date 2014-03-31

HUAWEI TECHNOLOGIES CO., LTD.

Page 2: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd. i

Copyright © Huawei Technologies Co., Ltd. 2014. All rights reserved.

No part of this document may be reproduced or transmitted in any form or by any means without prior

written consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions

and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.

All other trademarks and trade names mentioned in this document are the property of their respective

holders.

Notice

The purchased products, services and features are stipulated by the contract made between Huawei and

the customer. All or part of the products, services and features described in this document may not be

within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,

information, and recommendations in this document are provided "AS IS" without warranties, guarantees or

representations of any kind, either express or implied.

The information in this document is subject to change without notice. Every effort has been made in the

preparation of this document to ensure accuracy of the contents, but all statements, information, and

recommendations in this document do not constitute a warranty of any kind, express or implied.

Huawei Technologies Co., Ltd.

Address: Huawei Industrial Base

Bantian, Longgang

Shenzhen 518129

People's Republic of China

Website: http://www.huawei.com

Email: [email protected]

Page 3: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference About This Document

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

ii

About This Document

Purpose

This document describes the CDRs that generated by the OCS service.

Intended Audience

This document is intended for:

Service operators

Debugging engineers

Maintenance engineers

Symbol Conventions

The symbols that may be found in this document are defined as follows.

Symbol Description

Indicates an imminently hazardous situation which, if

not avoided, will result in death or serious injury.

Indicates a potentially hazardous situation which, if not

avoided, could result in death or serious injury.

Indicates a potentially hazardous situation which, if not

avoided, may result in minor or moderate injury.

Indicates a potentially hazardous situation which, if not

avoided, could result in equipment damage, data loss,

performance deterioration, or unanticipated results.

NOTICE is used to address practices not related to

personal injury.

Calls attention to important information, best practices

and tips.

NOTE is used to address information not related to

personal injury, equipment damage, and environment

Page 4: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference About This Document

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

iii

Symbol Description

deterioration.

Change History

Updates between document issues are cumulative. Therefore, the latest document issue

contains all updates made in previous issues.

Issue 26 (2014-03-31)

Twenty sixth release. Comparing with the previous version, the update is as follows:

Added the values of 191 in OperateType and 219-222 in OperateResult in w_kpi CDR.

Issue 25 (2014-01-21)

Twenty fifth release. Comparing with the previous version, the updates are as follows:

The length of the ProductID field is changed from Char[20] to Char[256], and the field

description is modified in the gft CDR.

The 19th parameter is enabled in the mgr CDR.

Issue 24 (2013-11-30)

Twenty fourth release. Comparing with the previous version, the updates are as follows:

Added the Operation IDs 4052983 and 4059999 in mgr CDR.

Added the values of 200–209 in OperateResult in w_aoc CDR.

Modified the data type of OperateResult from Char[1] to Char[8] in w_aoc CDR.

Added the values of 15, 16, 42, 77, 185 and 196 in OperateType in w_kpi CDR.

Added the values of 51, 201-214 and 216-218 in OperateResult in w_kpi CDR.

Issue 23 (2013-07-30)

Twenty third release. Comparing with the previous version, the update is as follows:

Modify the document bug.

Issue 22 (2013-05-28)

Twenty second release. Comparing with the previous version, the updates are as follows:

The 127th-136th parameters are enabled in rec CDR.

The 87th-96th parameters are enabled in mon CDR.

Added the value of 190 in OperateType in w_kpi CDR.

Added the values of 46, 47 and 48 in OperateResult in w_kpi CDR.

Modified the generation scenario and the description in the field name of

ChargingPartyNumber in the clr CDR.

Deleted the value range for IMEI parameter in rec, sms, mms and data CDRs.

Page 5: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference About This Document

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

iv

Changed the default values of 189th~191th into

SuperBuddyCallType/SponsorID/SponsorDiscount parameters in rec CDR.

Changed the 189th-191th CDR field description in CBP-Generated CDR Instance-rec

CDR.

The 305th parameter is deleted in rec CDR.

The 305th CDR field description is deleted in CBP-Generated CDR Instance-rec

CDR.

Issue 21 (2013-03-28)

Twenty first release. Comparing with the previous version, the updates are as follows:

Add the field name of SuperBuddyCallType in rec CDR.

Add the CDR field description of SuperBuddyCallType in CBP-Generated CDR

Instance-rec CDR.

The 305th-332th parameters are deleted in rec CDR for previous version.

The 305th-332th CDR field description are deleted in CBP-Generated CDR

Instance-rec CDR for previous version.

Add the value of 117 in ServiceType in mon CDR.

Modify the description of LoanType parameter in w_loan CDR.

Change the data type from Integer[4] into Integer[8] for TerPreSum and TerCurSum

parameters in w_trans CDR.

Delete the note for CallDuration parameter in w_abr, rec and w_rec CDRs.

Issue 20 (2012-12-27)

Twentieth release. Comparing with the previous version, the updates are as follows:

Added the value of 63 in ServiceType in mon CDR.

Added the Operation IDs 4052956 and 4052957 in mgr CDR.

The w_loan CDR is enabled.

Issue 19 (2012-09-29)

Nineteenth release. Comparing with the previous version, the updates are as follows:

Add the value of 53 in OperateResult in w_kpi CDR.

Add note information in ProductID in gft CDR.

Change the 21th parameter from TerminationReason to Reserved in data CDR.

Issue 18 (2012-05-02)

Eighteenth release. Comparing with the previous version, the updates are as follows:

Add the value of 24 in RechargeResult in w_vou CDR.

Add the value of 52 in OperateResult in w_kpi CDR.

Issue 17 (2012-03-15)

Seventeenth release. Comparing with the previous version, the updates are as follows:

Add the value of 4052321 in Operation ID in mgr CDR.

Add the value of 24 in RechargeResult in w_abu CDR.

Page 6: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference About This Document

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

v

Add the values of 75, 76, and 193 in OperateType in w_kpi CDR.

A scheduled task is added to export work orders.

Issue 16 (2012-01-10)

Sixteenth release. Comparing with the previous version, the updates are as follows:

Add the information about accumulator changes to the AddtionalInfo field in a vou CDR.

Add the manproduct CDR in the BMP-Generated CDR.

Issue 15 (2011-12-15)

Fifteenth release. Comparing with the previous version, the updates are as follows:

Modify the description of the field ChargeOfFluxAccounts in data CDR.

Modify the description of the field ChargeOfFluxSecondAccounts in data CDR.

Issue 14 (2011-11-30)

Fourteenth release. Comparing with the previous version, the updates are as follows:

Add the value of 187 in OperateType in w_kpi CDR.

Issue 13 (2011-09-15)

Thirteenth release. Comparing with the previous version, the updates are as follows:

Add the value of 106 in ServiceType in the mon CDR.

Issue 12 (2011-08-23)

Twelfth release. Comparing with the previous version, the updates are as follows:

Add the value of 1050 in Result Code in the w_trans CDR.

Modify the description about the Integer data type in CDR Field Type.

Modify all of the value range which data type are Integer[8] in the return CDR.

Issue 11 (2011-07-31)

Eleventh release. Comparing with the previous version, the updates are as follows:

Add the value of 0 and 9 in AccessMethod in mgr CDR.

Modify the value of 7 in AccessMethod in mgr CDR.

Add the description of 1350 and 1351 in UsageServiceType in mms CDR.

Add the clracc CDR in the section CBP-Generated CDR.

Add the clracc CDR in the CBP_Generated CDR type list.

Issue 10 (2011-06-30)

Tenth release. Comparing with the previous version, the updates are as follows:

Change the ninety seventh parameter from Reserved to LoanAmount in vou CDR.

Change the ninety eighth parameter from Reserved to LoanPoundage in vou CDR.

Modify the value of OriginalNetworkType in data CDR.

Modify the value of Redirection-Reason in w_abr CDR.

Page 7: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference About This Document

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

vi

Add the value of 999 in Recharge Type in w_vou CDR.

Add the value of 999 in Recharge Type in w_abu CDR.

Add the value of 7-13 in RechargeResult in w_vou CDR.

Add the value of 31, 33, 39, 83, 84, and 85 in OperateType in w_kpi CDR.

Add the default value in Result Code in w_trans CDR.

Change the data type of AddtionalInfo form char[256] to char[512] in mgr CDR.

Add the default value in ServiceID, SPID, and CategoryID in data CDR.

Add the default value in CallingClusterNumber, CalledClusterNumber, and

FamilyId in rec CDR.

Modify the default value of OpposeNumberType in rec CDR.

Add the wildcard value in CallType, and OpposeNumberType in rec CDR.

Modify the default value of OpposeNetworkType in rec CDR.

Add the wildcard value in CalledRoamInfo, and OpposeNetworkType in mms CDR.

Issue 09 (2011-06-14)

Ninth release. Comparing with the previous version, the updates are as follows:

Add the value of 6 in AccessMethod in vou CDR.

Add the value of 50 and 73 in ServiceType in mon CDR.

Add the value of 1-5 in ServiceType in com CDR.

Modify the default value of OpposeNumberType in rec CDR.

Modify the default value of OpposeNetworkType and Message-Type in mms CDR.

Add the default value of OriginAddressType and DestAddressType in mms CDR.

Issue 08 (2011-05-31)

Eighth release. Comparing with the previous version, the updates are as follows:

Add the value of 1007 in TradeType in vou CDR.

Add the values of 30 and 1038 in Result Code in w_trans CDR.

Delete the values of 1, 22, 106, 107 and 108 in Result Code in w_trans CDR.

Modify the description of the field ChargingPartyNumber in rec, sms, mms, data, vou,

com, mgr, and clr CDRs.

Add the parameters from 305 to 332 in rec CDR.

Add the value of 4052563 in Operation ID in mgr CDR.

Add the values of 79, 80,151,172 and 173 in OperateType in w_kpi CDR.

Add the values of 42, 43, 44 and 45 in OperateResult in w_kpi CDR.

Add the values of 102023064, 102023098, 102023099, 102023100 and 102023101 in

Result code of CBP-generated CDRs table in section General Description.

Add the parameters from 305 to 332 in CBP-Generated CDR Instance-rec CDR.

Issue 07 (2011-05-11)

Seventh release. Comparing with the previous version, the updates are as follows:

Data type description is added for reserved fields.

Change the eighth parameter from Reserved to ServiceType in mon CDR.

Page 8: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference About This Document

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

vii

Add the parameter of 204 in mgr CDR.

Issue 06 (2011-04-12)

Sixth release. Comparing with the previous version, the updates are as follows:

Add the value of 96 in Result Code in w_trans CDR.

Issue 05 (2011-03-30)

Fifth release. Comparing with the previous version, the updates are as follows:

Change the data type of ServiceType from char[20] to char[32] in rec CDR.

Add the value of 4052549 in Operation ID in mgr CDR.

Add the value of 157, 171 and ranging from 160 to 165 in OperateType in w_kpi CDR.

Add the value of 102022109 in Result code of CBP-generated CDRs table in section

3.1.1 General Description.

Issue 04 (2011-03-18)

Forth release. Comparing with the previous version, the updates are as follows:

Modify the description of TotalOperation, QueryOperation, AddOperation,

DeleteOperation,and ModifyOperation in the mgr CDR.

Add the values of 143, 144, 156, 158,159 and ranging from 166 to 170 in OperateType

in w_kpi CDR.

Add the values of 1, 2, and 3 in OperType in package CDR.

Add the pack_revert CDR in the section BMP-Generated CDR.

Issue 03 (2011-03-04)

Third release. Comparing with the previous version, the updates are as follows:

Add the gft CDR in the section CBP-Generated CDR.

Issue 02 (2011-02-25)

Second release. Comparing with the previous version, the updates are as follows:

Add the w_kpi CDR in the section SCP-Generated CDR.

Modify the description of ServiceType in the rec CDR.

Modify the description of ServiceType in the sms CDR.

Modify the description of ServiceType in the mms CDR.

Change the 18th field parameter in the mon CDR is reserved.

Issue 01 (2011-01-27)

The first release.

Page 9: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference Contents

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

viii

Contents

About This Document .................................................................................................................... ii

1 CDR Overview............................................................................................................................... 1

1.1 Basic Concepts.............................................................................................................................................................. 1

1.2 CDR Storage Directories .............................................................................................................................................. 4

1.2.1 CBP-generated CDR storage directories.................................................................................................................... 4

1.2.2 SCP-generated CDR storage directories .................................................................................................................... 5

1.2.3 BMP-generated CDR storage directories ................................................................................................................... 6

1.3 Maximum CDR File Size ............................................................................................................................................. 7

1.4 CDR-Processing Mechanism ........................................................................................................................................ 7

1.4.1 CBP-generated CDR Processing Process .................................................................................................................. 7

1.4.2 SCP-generated CDR Processing Process ................................................................................................................... 9

1.4.3 BMP-generated CDR Processing Process ................................................................................................................ 10

1.4.4 CDR Processing Flow .............................................................................................................................................. 11

1.5 CDR Types .................................................................................................................................................................. 12

1.5.1 CBP-Generated CDR ............................................................................................................................................... 12

1.5.2 SCP-Generated CDR ............................................................................................................................................... 12

1.5.3 BMP-Generated CDR .............................................................................................................................................. 13

1.6 CDR Types in Service Application Scenarios ............................................................................................................. 14

1.7 Conventions ................................................................................................................................................................ 15

2 General Description of CDR Formats ..................................................................................... 16

2.1 CDR File Name Format .............................................................................................................................................. 16

2.1.1 CBP-Generated CDR ............................................................................................................................................... 16

2.1.2 SCP-Generated CDR ............................................................................................................................................... 17

2.1.3 BMP-Generated CDR .............................................................................................................................................. 18

2.2 Specifications of CDR Formats .................................................................................................................................. 19

2.2.1 CDR File Content Format ........................................................................................................................................ 19

2.2.2 CDR Field Type ....................................................................................................................................................... 19

2.2.3 Time Format ............................................................................................................................................................ 20

3 CDR Format Details.................................................................................................................... 21

3.1 CBP-Generated CDR .................................................................................................................................................. 21

3.1.1 General Description ................................................................................................................................................. 21

3.1.2 rec CDR ................................................................................................................................................................... 25

Page 10: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference Contents

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

ix

3.1.3 sms CDR .................................................................................................................................................................. 61

3.1.4 mms CDR ................................................................................................................................................................ 96

3.1.5 data CDR ............................................................................................................................................................... 130

3.1.6 vou CDR ................................................................................................................................................................ 162

3.1.7 mon CDR ............................................................................................................................................................... 186

3.1.8 com CDR ............................................................................................................................................................... 208

3.1.9 mgr CDR ................................................................................................................................................................ 238

3.1.10 clr CDR ................................................................................................................................................................ 261

3.1.11 return CDR ........................................................................................................................................................... 267

3.1.12 gft CDR ................................................................................................................................................................ 270

3.2 SCP-Generated CDR ................................................................................................................................................ 275

3.2.1 General Description ............................................................................................................................................... 275

3.2.2 w_rec CDR ............................................................................................................................................................ 276

3.2.3 w_abr CDR ............................................................................................................................................................ 280

3.2.4 w_vou CDR ........................................................................................................................................................... 284

3.2.5 w_abu CDR ........................................................................................................................................................... 288

3.2.6 w_smr CDR ........................................................................................................................................................... 292

3.2.7 w_smo CDR........................................................................................................................................................... 295

3.2.8 w_trans CDR ......................................................................................................................................................... 301

3.2.9 w_kpi CDR ............................................................................................................................................................ 308

3.2.10 w_postop CDR..................................................................................................................................................... 314

3.2.11 w_aoc CDR .......................................................................................................................................................... 316

3.2.12 w_loan CDR ........................................................................................................................................................ 317

3.3 BMP-Generated CDR ............................................................................................................................................... 319

3.3.1 General Description ............................................................................................................................................... 319

3.3.2 package CDR ......................................................................................................................................................... 319

3.3.3 pack_revert CDR ................................................................................................................................................... 320

3.3.4 manproduct CDR ................................................................................................................................................... 321

4 Work Orders Exported by a Scheduled Task ...................................................................... 323

5 CDR Instances ........................................................................................................................... 325

5.1 CBP-Generated CDR Instance-rec CDR .................................................................................................................. 325

5.2 SCP-Generated CDR Instance-w_abr CDR .............................................................................................................. 340

5.3 BMP-Generated CDR Instance package CDR .......................................................................................................... 343

Page 11: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

1

1 CDR Overview

About This Chapter

This section describes the basic concepts and terms related to call detail records (CDRs).

System generates CDR instantly at the end of the service usage.

The following lists the contents of this chapter.

1.1 Basic Concepts

This section describes the basic concepts and terms related to call detail records (CDRs).

1.2 CDR Storage Directories

The CDR storage directories indicate where a CDR generation node such as the CBP stores

CDR files. It is recommended to store CDRs in different directories according to the CDR

generation condition.

1.3 Maximum CDR File Size

The maximum CDR file size is used to limit the size of CDR files generated by the SCP, CBP

and BMP CDR Generation nodes.

1.4 CDR-Processing Mechanism

The mechanism for processing CDRs and the related components.

1.5 CDR Types

This section describes the types of CDRs generated by the CBP, the SCP and the MDSP in the

OCS service, and the service scenarios of each type of CDRs.

1.6 CDR Types in Service Application Scenarios

The section describes the types of CDRs generated in service scenarios.

1.7 Conventions

The section describes the conventions in this document.

1.1 Basic Concepts

This section describes the basic concepts and terms related to call detail records (CDRs).

Page 12: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

2

OCS

The online charging system (OCS) implements the convergence of the following items:

Online charging and offline charging Voice service charging and data service charging

Prepaid subscriber management and postpaid subscriber management. The OCS provides

functions such as rating, subscriber balance management, and real-time monitor. The OCS is

composed of the convergent billing point (CBP), business management point (BMP), and

service control point (SCP).

CBP

The CBP is designed to provide the following capabilities:

Prepaid and convergent charging capability of multiple networks and services

CDR processing

Configuring and managing charging data

After the charging is complete, the CBP system generates the CDR.

SCP

In the OCS system, the SCP provides call access and call control functions.

In the OCS system, the SCP provides service control and service processing functions,

including:

Call access and signaling control

Service logic management

Basic data operation and processing

Data verification

Operation maintenance management

The SCP is connected to the BMP for data synchronization. The SCP communicates with the

uniform voucher center (UVC) for recharging. The SCP communicates with the intelligent

peripheral (IP) to obtain the voice resources needed by the subscriber terminal. In addition,

the SCP is connected to the CBP to send messages to the CBP for charging and rating. The

SCP provides the interactive voice response (IVR) process through which subscribers can

recharge accounts, query for balances, and change passwords.

CDR

A CDR refers to the information about a charging event collected in a certain format. The

information includes call start time, call duration, and transferred data amount. The

information is used for charging and settlement. It is also provided for subscribers as the

service usage records.

The system generates a separate CDR for each party of a charging event. In this case, the

system does not consider whether the party pays for a partial charge or the entire charge. In

other words, a charging event can have one or more CDRs, for example, when the call

duration is long or when there is more than one charged party.

Page 13: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

3

RBI

The recorded bill interface (RBI) is the channel for transferring files between the CBP and an

external element. The RBI can split, compress, and filter collected CDR files. It can also

transfer CDRs of the CBP to the charging center.

Mediation

The Mediation collects CDRs generated by each network elements. In the OCS service, the

Mediation preprocesses the CDR files transferred by the RBI and uploads them to the Billing

system.

Billing

In the OCS service, the Mediation preprocesses the CDR files transferred by the RBI and

uploads them to the Billing system for CDR sorting, storage, accumulation, and summary.

CDR File Name Prefix

A CDR file name prefix identifies a CDR file corresponding to a type of charging events. For

example, for a CBP-generated CDR, the system administrator can define conditions for

classifying charge CDRs and the mapping CDR file name prefix in the CBP.

The following takes the rec CDR on the CBP to describe the naming format of the CDR

prefixes on the CBP:

The prefix of the normal CDRs of prepaid subscribers is rec.

The prefix of the failure CDRs is f_rec or f_orec.

The prefix of the error CDRs is e_rec or e_orec.

The prefix of the CDRs of test subscribers is trec, regardless of the subscriber type

(prepaid) and processing result (normal, failure, or error).

This document uses the prefixes of the normal CDRs of prepaid subscribers as examples to describe the

formats of the CDRs generated by the CBP.

The naming format of the CDRs generated by the SCP is different from the naming format of the CDRs

generated by the CBP.

CDR File Name Suffix

A CDR file name suffix is associated with the file format in which the CDR file is stored.

For example, the file name suffix of a CBP-generated CDR can be configured based on the

service requirement. The suffix can have a maximum of seven characters.

Offline CDR

A charging mechanism in which the charging information does not affect the service

providing in real time. The offline charging is based on CDR charging, that is, the system

performs rating and fee deduction based on the collected original call records of subscribers.

Page 14: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

4

Online CDR

A charging mechanism in which the account balance is monitored online and in real time.

When the account balance of a subscriber is used up, the system prevents the subscriber from

using services. In this case, the risk of owing fees is reduced.

1.2 CDR Storage Directories

The CDR storage directories indicate where a CDR generation node such as the CBP stores

CDR files. It is recommended to store CDRs in different directories according to the CDR

generation condition.

1.2.1 CBP-generated CDR storage directories

CDR storage directories

The directory for storing general CDRs must be configured based on the actual situation of

the current network. The path to CDRs varies according to subscribers. The default directories

are as follows:

Prepaid subscribers

− Path to normal CDRs: ${CBP_CDRPATH}/output/pps/normal

− Path to failure CDRs: ${CBP_CDRPATH}/output/pps/fail

− Path to error CDRs: ${CBP_CDRPATH}/output/pps/error

Test subscribers

Path to various CDRs: ${CBP_CDRPATH}/output/test. All the normal, failure, and

error CDRs of test subscribers are stored in this path.

The temp and bak directories are created in the preceding paths to store the temporary and

backup CDRs respectively. For example, ${CBP_CDRPATH}/output/pps/normal/temp and

${CBP_CDRPATH}/output/pps/normal/bak.

Temporary directory: It is the directory for storing temporary CDR files before the CDR files meet

the switching conditions.

Backup directory: After obtaining a CDR from the destination directory where the CBP stores CDRs,

the RBI backs up the CDR in the backup directory.

Paths to Offline CDRs for Re-rating

The paths to the offline CDRs for re-rating are as follows:

Path to international roaming offline CDRs: ${CBP_CDRPATH}/input/ir

The voice, sms and data directories in this path contain the subdirectories of src, bak

and err.

Path to SCP passby CDRs: ${CBP_CDRPATH}/input/scpabr

The voice and data directories in this path contain the subdirectories of src, bak and err.

Input path to MDSP passby offline CDRs for re-rating:

${CBP_CDRPATH}/input/mdsp

The directories that are categorized by offline CDRs type in this path contain the

subdirectories of src, bak and err.

Page 15: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

5

Path to IMS offline CDRs for re-rating: ${CBP_CDRPATH}/input/ims

The voice and data directories in this path contain the subdirectories of src, bak and err.

Paths to CDRs Generated After Offline CDRs are Re-rated

The paths to the CDRs that are generated after offline CDRs are re-rated are as follows:

Path to the CDRs that are generated after the international roaming offline CDRs are

rated: ${CBP_CDRPATH}/output/offline/ir

The voice, sms and data directories in this path contain the temp and bak

subdirectories.

Path to the CDRs that are generated after the SCP passby CDRs are re-rated:

${CBP_CDRPATH}/output/offline/scpabr

The voice and data directories in this path contain the temp and bak subdirectories.

Path to the CDRs that are generated after the MDSP passby offline CDRs are re-rated:

${CBP_CDRPATH}/output/offline/mdsp

The directories that are categorized by data service type in this path contain the temp

and bak subdirectories.

Path to the CDRs that are generated after the IMS offline CDRs are re-rated:

${CBP_CDRPATH}/output/offline/ims

The temp and bak directories exist in this path.

The re-rating of offline CDRs has a special requirement. The *.err CDRs generated for the CDRs that

fail to be re-rated are all stored in the error directory. No fail directory is involved.

Configuration for the storage directories and switching conditions of CBP-generated CDR

The directory for storing CBP-generated CDR files can be configured on CBP. Before

specifying the directory for storing CDR files, you need to set the environment variables of

the CDR directory: ${CBP_CDRPATH}. Here, ${CBP_CDRPATH} refers to the installation

directory of the CBP and can be configured in the .cshrc file.

A CDR file is moved from the temporary directory to the destination directory as long as

either of the following conditions is met:

The CDR file size reaches the upper limit.

The duration for writing the CDR file reaches the maximum duration.

For details, see 1.3 Maximum CDR File Size.

The CDR files are switched at 00:00:00 without conditions.

1.2.2 SCP-generated CDR storage directories

CDR storage directories

The description of the SCP-generated CDR storage directories are as follows:

Destination directory: ${TELLIN_DIR}/sms/record

Page 16: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

6

It is the destination directory for storing CDR files after the CDR files meet the

switching conditions.

Temporary directory: ${TELLIN_DIR}/sms/record/recbuf

It is the directory for storing temporary CDR files before the CDR files meet the

switching conditions.

Backup directory: ${TELLIN_DIR}/sms/record/backup

After obtaining a CDR from the destination directory where the SCP stores CDRs, the

system backs up the CDR in the backup directory. The CDR can be viewed to locate

problems.

Here, ${TELLIN_DIR} refers to the installation directory of the SCP.

Configuration for the storage directories and switching conditions of SCP-generated CDR

The directory for storing CDR files cannot be configure. The values listed precedently are

fixed.

The description of the SCP-generated CDR file switching conditions is as follows:

A CDR file in the temporary directory is moved to the destination directory if either of the

following conditions is met:

The CDR file size reaches the upper limit.

The duration for writing the CDR file reaches the maximum duration.

For details, see 1.3 Maximum CDR File Size.

The CDR files are not switched automatically at 00:00:00.

1.2.3 BMP-generated CDR storage directories

CDR storage directories

The description of the BMP-generated CDR storage directories are as follows:

Destination directory: ${HOME}/cdr/output

It is the destination directory for storing CDR files after the CDR files meet the

switching conditions.

Temporary directory: ${HOME}/cdr/output/temp

It is the directory for storing temporary CDR files before the CDR files meet the

switching conditions.

Backup directory: ${HOME}/cdr/output/bak

After obtaining a CDR from the destination directory where the BMP stores CDRs, the

system backs up the CDR in the backup directory. The CDR can be viewed to locate

problems.

Here, ${HOME} refers to the installation directory of the BMP.

Switching conditions of BMP generated CDR

The description of the BMP-generated CDR file switching conditions is as follows:

Page 17: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

7

A CDR file in the temporary directory is moved to the destination directory if either of the

following conditions is met:

The CDR file size reaches the upper limit.

The duration for writing the CDR file reaches the maximum duration.

For details, see 1.3 Maximum CDR File Size.

1.3 Maximum CDR File Size

The maximum CDR file size is used to limit the size of CDR files generated by the SCP, CBP

and BMP CDR Generation nodes.

Usually, the maximum size of a CDR file is 10MB or it can contain a maximum of 5,000

records.

The size of a SCP-generated CDR file is set by using the CRTRECSIZE field in the

nodesyspara.cfg file in the following directory:

${TELLIN_DIR}/config

For example:

[COMMON]

...

CRTRECTIME = 600 // Maximum interval for storing the CDR file [600,86400 seconds]

CRTRECSIZE = 5000 // Maximum size of CDR file [1,10000KB]

In this example, the maximum size of a CDR file is set to 5,000 KB and the maximum

duration for writing a CDR file is set to 600 seconds. Thus, a CDR file is moved from

the temporary directory to the destination one if either of the following conditions is met:

− The CDR file size is equal to or greater than 5,000 KB.

− The maximum duration for writing the CDR file is equal to or greater than 600

seconds.

The size of a CBP-generated CDR file can be not configured.

The size of a BMP-generated CDR file can be not configured. The size of a

BMP-generated CDR file is set in the MAX_FILESIZE field in the DataStoreFile file

.

1.4 CDR-Processing Mechanism

The mechanism for processing CDRs and the related components.

1.4.1 CBP-generated CDR Processing Process

Components Related to CDRs Generated by the CBP

Figure 1-1 shows the components for processing CDRs generated by CBP.

Page 18: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

8

Figure 1-1 Relationships between components for processing CDRs generated by the CBP

Table 1-1 describes the process in which components process CDRs generated by the CBP.

Table 1-1 Process of processing CDRs generated by the CBP

No. Description

1 The charging information sent from external NEs and charging data

configured on the SMAP are loaded on the CBP for charging.

2 Internal CDR files generated after the charging on the CBP are sent to the

Mediation/RBI for format conversion through file interfaces.

The Mediation/RBI converts internal CDR formats into external CDR

formats. According to configurations, the RBI regularly obtains CDRs after

conversion from the output directory of the Mediation/RBI.

3 The Mediation/RBI sends the CDR files after format conversion to the

integrated accounting and settlement system for further processing.

CDR Generation Process of the CBP

The CBP generates CDRs when a charging event ends. The CBP finishes charging by

interacting with an external NE once or more times. After a charging event ends, the CBP

generates a CDR file and stores the file in a specified directory. The process of generating

CDRs is complete.

The CBP can process charging requests in messages or CDRs. The details are as follows:

Messages: The CBP analyzes charging requests according to the Diameter messages that

are transferred between external NEs and the CBP, performs charging, and generates

CDR files.

CDRs: The CBP analyzes charging information in the offline CDRs that are transferred

between external NEs and the CBP, performs charging, and generates CDR files.

The processes of processing charging requests in messages and CDRs are similar.

The following takes the charging request initiated by the SCP as an example to describe the

CDR generation process:

Page 19: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

9

1. Set the conditions for generating CDR files on the CBP.

2. The SCP requests the CBP to perform charging based on the charging request initiated

by a subscriber.

3. The CBP interacts with the SCP, charges the subscriber for services in real time based on

the charging information and charging data configured on the SMAP, and generates

CDR files after the charging.

Process of Processing CDRs Generated by the CBP

After CDRs are generated, the CDR dump service scans the CDR generation directory. If

CDR files meet specified conditions, the service stores the files in the database so that other

NEs can query the files.

After the CDRs generated by the CBP are converted into external CDR files, the integrated

accounting and settlement system processes the files.

1.4.2 SCP-generated CDR Processing Process

Components Related to CDRs Generated by the SCP

Figure 1-2 shows the components for the SCP interacts normally with the CBP, a CDR

generated by the SCP has no direct impact on a CDR generated by the CBP.

Figure 1-2 Relationships between components for processing CDRs generated by the SCP

Table 1-2 describes the process in which components process CDRs generated by the SCP.

Table 1-2 Process of processing CDRs generated by the SCP

No. Description

1 The Mediation/RBI obtains the CDRs periodically from the destination

directory according to configuration, and then transfers them to the CBP.

2 The CBP generates a CDR after charging.

3 The Mediation/RBI obtains CDRs periodically from the CBP according to

configuration.

4 The Mediation/RBI preprocesses the CDR files and uploads them to the

accounting and settlement system for further processing.

Page 20: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

10

CDR Generation Process of the SCP

CDRs generated by the SCP are similar to CDR logs.

If the interaction between the SCP and CBP is normal, the CDRs generated by the SCP

are used for reconciliation, query, and problem locating, and do not affect the CDRs

generated by the CBP.

When an exception occurs during the interaction between the SCP and CBP in a calling,

called, or forwarding flow, the SCP generates a CDR of abnormal call fee deduction if

the system allows the subscriber to go on using the call service. Then the CBP deducts

the fee that has not been deducted based on the CDR.

Process of Processing CDRs Generated by the SCP In call processes including the ones of a calling party, a called party, and a forwarding

party, when an exception occurs during the interaction between the SCP and CBP, the

SCP generates a CDR of abnormal call fee deduction if the system allows the party to go

on using the call service. Then the CBP deducts the fee after the normal time based on

the CDR.

In the process of using the SM service, when an exception occurs during the interaction

between the SCP and CBP, the SCP generates an SM offline CDR if the system allows

the user to go on using the SM service. The exception can be a time-out disconnection

between the SCP and CBP or a system error. In this case, the CBP obtains CDRs

periodically and deducts the fee based on the CDR.

1.4.3 BMP-generated CDR Processing Process

Components Related to CDRs Generated by the BMP

Figure 1-3 shows the components for processing CDRs generated by the BMP.

Figure 1-3 Relationships between components for processing CDRs generated by the BMP

Table 1-3 describes the process for processing a BMP-generated CDR is as follows:

Table 1-3 Process of processing normal CDRs generated by the BMP

No. Description

1 The BMP generates CDRs.

Page 21: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

11

No. Description

2 The Mediation/RBI obtains CDRs from the BMP periodically according to

configuration and transfers them to the Mediation/RBI.

3 The accounting and settlement system obtains CDR files and processes the

files for further processing.

1.4.4 CDR Processing Flow

Generating a CDR

This document describes the SCP and CBP-generated CDRs. Their functions are as follows:

A CBP-generated CDR is transferred from the Mediation to the Billing system. The CDR

is used to generate a detailed bill or a bill of the accumulated charge.

A SCP-generated CDR can be regarded as a CDR log.

− When the SCP interacts normally with the CBP, a CDR generated by the SCP has no

direct impact on a CDR generated by the CBP.

− In call processes including the ones of a calling party, a called party, and a forwarding

party, when an exception occurs during the interaction between the SCP and CBP, the

SCP generates a CDR of abnormal call fee deduction if the system allows the party to

go on using the call service. Then the CBP deducts the fee after the normal time

based on the CDR. For the CDR-processing mechanism, see section 1.4.2

SCP-generated CDR Processing Process.

− In the process of using the SM service, when an exception occurs during the

interaction between the SCP and CBP, the SCP generates an SM offline CDR if the

system allows the user to go on using the SM service. The exception can be a

time-out disconnection between the SCP and CBP or a system error. In this case, the

CBP obtains CDRs periodically and deducts the fee based on the CDR. For the

CDR-processing mechanism, see section 1.4.2 SCP-generated CDR Processing

Process.

The CBP system supports the charging requests in the message and the CDR modes. It also

generates matching CDR files. The CDR-processing processes are similar for the two modes.

The charging request initiated by the SCP is taken as an example in this document.

The CBP system generates a CDR when a charging event ends. For prepaid charging events,

the processing mechanisms for writing CDRs are same. The CBP system completes charging

after one or more attempts to interact with an external network element in the Diameter

message or CDR mode. After a charging event ends, the CBP system writes the CDR file.

The process for generating a CDR file is as follows:

1. Set the conditions for generating CDR files on the CBP.

2. The SCP requests the CBP to charge based on the charging event initiated by a user.

3. The CBP interacts with the SCP and completes the charging.

4. The CBP generates the CDR file.

Page 22: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

12

Processing a CDR

After a charging event ends, the CBP system writes the CDR records and stores them in the

specified directory. Thus, the process for writing a CDR is complete.

The charge bill dumping service then scans the CDR storage directories. If CDR files meet

the required conditions, the service stores them in the database so that other network elements

can use the CDR files.

1.5 CDR Types

This section describes the types of CDRs generated by the CBP, the SCP and the MDSP in the

OCS service, and the service scenarios of each type of CDRs.

1.5.1 CBP-Generated CDR

In the OCS service, CBP-generated CDRs are classified based on the CDR file name prefixes.

For details, see Table 1-4.

Table 1-4 CBP_Generated CDR type list

CDR File Name Prefix

CDR Description

rec The rec CDR records the information about the call.

sms The sms CDR records the information about the short message.

mms The mms CDR records the information about the multimedia message.

data The data CDR records the basic traffic of the data service.

vou The vou CDR records the information about the recharge or bonus.

mon The mon CDR records the information about the monthly fee and the

bonus.

com The com CDR records the general information.

mgr The mgr CDR records the information about management charging.

clr The clr CDR records the information about clearing the accounts of

subscribers.

return The return CDR records this CDR when forcing a subscriber to pay for

the loan during recharge or transfer.

gft The gft CDR records the bonus information when a subscriber recharging

or being charged the month rental and there is bonus for a subscriber.

1.5.2 SCP-Generated CDR

In the OCS service, SCP-generated CDRs are classified based on the CDR file name prefixes.

For details, see Table 1-5.

Page 23: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

13

Table 1-5 SCP _Generated CDR type list

CDR File Name Prefix

CDR Description

w_rec The w_rec CDR records the call information about subscribers.

w_abr The system records the w_abr CDR after sending a request to the

CBE and errors occur on the CBE.

w_vou The system records the w_vou CDR after setting common recharge

cards and sending a confirmation request.

w_abu The system records the w_abu CDR after setting the state of common

recharge cards and sending a request to the CBE to confirm the

recharge, but errors occur on the CBE.

w_smr The system records the w_smr CDR is recorded when the subscriber

information does not exist, but the SMS transfer is allowed.

w_smo When an error occurs in the CBE, the w_smo CDR is recorded if an

SMS can be sent when deducting the fee fails. The CBE rates and

deducts fees based on the CDR after the CBE recovers.

w_trans The w_trans CDR records the information when the balance transfer.

w_loan The w_loan CDR records the information when loan occurs.

w_kpi The w_kpi CDR records the information about various operations,

and the information is the data source of the statistic feature.

w_postop The w_postop CDR records the information when the postpaid

subscriber recharging.

w_aoc The w_aoc CDR records the USSD notify information about the call

cost, call time and remain balance to subscriber after a call.

1.5.3 BMP-Generated CDR

In the OCS service, BMP-generated CDRs are classified based on the CDR file name prefixes.

For details, see Table 1-6.

Table 1-6 BMP_Generated CDR type list

CDR File Name Prefix

CDR Description

package The package CDR records the information when the subscriber

switches over main product.

pack_revert The pack_revert CDR records the information when the OCS

automatically switches over main product.

manproduct The manproduct CDR records the information when the OCS

switches over main product.

Page 24: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

14

1.6 CDR Types in Service Application Scenarios

The section describes the types of CDRs generated in service scenarios.

Table 1-7 List of CDR generation scenarios

Service Application Scenario Category

Scenario Description CDR Type

CDR Format Reference

CBP-generated CDR

Call In the OCS service, when subscriber A

calls subscriber B and subscriber B

hangs up after answering the call for

certain duration, an rec CDR is

generated.

The CDR records the information

about the call.

rec CDR 3.1.2 rec CDR

Recharge A vou CDR is generated in the

following scenarios:

When an OCS subscriber uses the

call service for the first time or

activates the MSISDN through the

IVR recharge, the subscriber can

obtain a certain bonus.

When an OCS subscriber uses a

recharge card or cash for recharge,

the system provides a bonus.

The system successfully recharges

an account in advance.

An OCS subscriber successfully

recharges an account in advance

through the IVR management

process.

vou CDR 3.1.6 vou CDR

Short Message When OCS subscriber A sends a short

message to subscriber B, and the

system successfully deducts the fee

from the account of subscriber A, an

sms CDR is generated.

sms CDR 3.1.3 sms CDR

Month rent When an OCS subscriber subscribes to

a package and the system successfully

deducts the monthly fee from the

account of the subscriber, an Mon

monthly billing CDR is generated.

mon

CDR

3.1.7 mon CDR

SCP-generated CDR

Call A w_rec CDR is generated in the

following case:

w_rec

CDR

3.2.2 w_rec CDR

Page 25: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 1 CDR Overview

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

15

Service Application Scenario Category

Scenario Description CDR Type

CDR Format Reference

In the OCS service,

When subscriber A makes a voice

call, the SCP generates a w_rec

CDR for the calling party after the

call.

When subscriber B answers a voice

call, the SCP generates a w_rec

CDR for the called party after the

call.

Recharge A w_vou CDR is generated in the

following case:

In the OCS service, when subscriber A

recharge accounts using ordinary

recharge cards, the SCP generates a

w_vou CDR after the successful

recharging.

w_vou

CDR

3.2.4 w_vou CDR

SM A w_smo CDR is generated in the

following case:

In the OCS service, when a subscriber

succeeds in sending short messages,

but the CBP fails to deduct fees due to

system error, the SCP generates a

w_smo CDR. The CBE rates and

deducts fees based on the CDR after

the CBE recovers.

w_smo

CDR

3.2.7 w_smo CDR

BMP-generated CDR

Switch main

product

A package CDR is generated in the

following case:

In the OCS service, when the

subscriber modification of main

product.

package

CDR

3.3.2 package CDR

1.7 Conventions

The section describes the conventions in this document.

This document covers only the CBP CDR and SCP CDR processing flow and mechanism.

The number of CDR fields will increase in later versions. The new fields will be added to the end of the

CDR. When the cooperation of a third party is required, do not limit the number of CDR fields.

Page 26: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 2 General Description of CDR Formats

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

16

2 General Description of CDR Formats

About This Chapter

The section describes the formats of CDR file names.

The following lists the contents of this chapter.

2.1 CDR File Name Format

The section describes the formats of CDR file names.

2.2 Specifications of CDR Formats

The section describes the specifications of CDR formats.

2.1 CDR File Name Format

The section describes the formats of CDR file names.

2.1.1 CBP-Generated CDR

In the OCS service, CDRs generated by the CBP can be regarded as CDR logs. The CBP

CDR file name is in the following format:

{CDR prefix}+{YYYYMMDD}+{_}+{CBP node number}+{_}+{SN}+{CDR suffix}

Table 2-1 describes fields in a CBP-generated CDR file name.

Table 2-1 Description of fields in a CBP-generated CDR file name

Field Description

CDR prefix Indicates the prefix of a CDR file name and refers to the type of the

CDR. For example, the prefix rec indicates that a CDR is a call CDR.

CDRs can be distinguished based on CDR file name prefixes. For

details, see 1.5.1 CBP-Generated CDR.

YYYYMMDD Indicates the date when a CDR file is generated.

_ Indicates an underline.

Page 27: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 2 General Description of CDR Formats

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

17

Field Description

CBP node

number

Indicates the ID of the CBP.

The ID is a numeric string of three digits. When the ID contains less

than three digits, add 0 to the beginning of the ID.

Value range: 001-999

SN Indicates the serial number of a CDR file.

The serial number is obtained from the serial number generation table

in the system memory database. The serial number is a numeric string

of six digits.

Value range: 000001-999999

NOTE

There is no duplicate serial number on the current day. Serial numbers are

consecutive, and they are also generated for empty files.

CDR suffix Indicates the extension of a CDR file name. The extension is .unl by

default.

Example of a rec CDR file name: rec20030501_101_000006.unl.

2.1.2 SCP-Generated CDR

In the OCS service, CDRs generated by the SCP can be regarded as CDR logs. The SCP CDR

file name is in the following format:

{CDR prefix}+{YYYYMMDD}+{_}+{SCPID}+{BB}+{CC}+{_}+{Index number}+{CDR

suffix}

Table 2-2 describes fields in a SCP-generated CDR file name.

Table 2-2 Description of fields in a SCP-generated CDR file name

Field Description

CDR prefix Indicates the prefix of a CDR file name and refers to the type of the

CDR.

For example, the prefix w_rec indicates that a CDR is a call CDR.

CDRs can be distinguished based on CDR file name prefixes. For

details, see 1.5.2 SCP-Generated CDR .

YYYYMMDD Indicates the date when a CDR file is generated.

_ Indicates an underline.

SCPID Indicates the ID of the SCP that generates a CDR file.

The serial number is a numeric string of three digits.

Value range: 001-999

BB Indicates the ID of a package.

The value of this field is always 00.

CC Indicates the number of the SCF.

Page 28: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 2 General Description of CDR Formats

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

18

Field Description

The SCF number is a numeric string of two digits.

Value range: 01-99

Index number Indicates the serial number of a CDR file in a day.

The serial number is a numeric string of four digits.

Value range: 0000-9999

CDR suffix Indicates the extension of a CDR file name.

The extension is .unl by default.

Example of an SCP-generated CDR file name: w_abr20020501_1020001_0001.unl

It indicates that the SCF with the process ID 0001 in the SCP with the node number 102

generated the second w_abr CDR file on May 1, 2002.

2.1.3 BMP-Generated CDR

In the OCS service, CDRs generated by the BMP can be regarded as CDR logs. The BMP

CDR file name is in the following format:

{CDR prefix}+{YYYYMMDDHHMMSS}+{_}+<{BMPNodeID}>+{_}+<{SEQ}>+{CDR

suffix}

Table 2-3 describes fields in a BMP-generated CDR file name.

Table 2-3 Description of fields in a BMP-generated CDR file name

Field Description

CDR prefix Indicates the prefix of a CDR file name and refers to the type of the

CDR.

_ Indicates an underline.

YYYYMMDDH

HMMSS

Indicates the time when a CDR file is generated.

YYYY: Year, for example, 2007

MM: Month, for example, 05

DD: Day, for example, 29

HH: Hour, for example, 10

MM: Minute, for example, 58

SS: Second, for example, 59

_ Indicates an underline.

BMPNodeID Indicates the ID of a BMP node.

The serial number is a numeric string of three digits.

Value range: 1-9

SEQ Indicates the sequence number of a file.

The serial number is a numeric string of six digits.

Page 29: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 2 General Description of CDR Formats

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

19

Field Description

Value range: 000001-999999

NOTE

There is no duplicate serial number on the current day. Serial numbers are

consecutive, and they are also generated for empty files.

CDR suffix Indicates the extension of a CDR file name.

The extension is .unl by default.

Example of a BMP-generated CDR file name: package20070529105859_180_000006.unl

This CDR file name indicates that the BMP with the node number 180 generated the sixth

package CDR file on 10:58:59, May 29, 2007.

2.2 Specifications of CDR Formats

The section describes the specifications of CDR formats.

2.2.1 CDR File Content Format

The description of a CDR file content format is as follows:

The file is a text file.

Fields in the file are separated by vertical bars (|).

The values of certain fields can be null, which appears as "||" in the CDR records.

Each record occupies one line.

Each record ends with a carriage return character.

Data encoded with ASCII characters.

The following is the example of a CDR file:

0|13300123301|20070407231445|3|1|1|755|101|0|10000|46020571234|||||

2.2.2 CDR Field Type

Table 2-4 lists the type of each field in a CDR. Field types are described according to the

definition of data types in the JDK.

Table 2-4 CDR field types and description

Data Type Description

Integer Indicates an integer.

Integer[4]

Value range: -231

- 231

-1

Integer[8]

Value range: -263

- 263

-1

Char Indicates a character string.

Page 30: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 2 General Description of CDR Formats

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

20

Data Type Description

Numbers enclosed in [] indicates the length of a character string.

The expression of the character string length can be classified into

two types:

Range type

Char[20]: Indicates a character string of 0 to 20 characters.

Unfixed length type

Char[]: Indicates no special requirements for the length of a

character string.

2.2.3 Time Format

Table 2-5 lists the requirements for the format of time in a CDR.

Table 2-5 Time format requirements

Time Format Example

Year YYYY 2006

Month MM 04

Date DD 25

Hour hh 11

Minute mm 42

Second ss 23

Page 31: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

21

3 CDR Format Details

About This Chapter

The section describes the file name format of CBP, SCP and BMP CDRs of each type, CBP,

SCP and BMP CDRs storage directories and CBP, SCP and BMP CDRs generation scenarios.

This chapter describes the service CDR formats and lists all possible CDR fields and field values. The

current site may not use all these fields and values in the service CDRs. If the value of a field in a CDR

is null or the field does not cover all values in the actual situation, it means that the current site does not

use the field or all values of the field.

The following lists the contents of this chapter.

3.1 CBP-Generated CDR

The section describes the file name format of CBP-generated CDRs of each type,

CBP-generated CDR storage directories and CBP-generated CDR generation scenarios.

3.2 SCP-Generated CDR

The section describes the file name format of SCP-generated CDRs of each type,

SCP-generated CDR storage directories and SCP-generated CDR generation scenarios.

3.3 BMP-Generated CDR

The section describes the file name format of BMP-generated CDR of each type,

BMP-generated CDR storage directories and BMP-generated CDR generation scenarios.

3.1 CBP-Generated CDR

The section describes the file name format of CBP-generated CDRs of each type,

CBP-generated CDR storage directories and CBP-generated CDR generation scenarios.

3.1.1 General Description

The directory for storing general CDRs must be configured based on the actual situation of

the current network. For description about the CDR storage directories, see 1.2 CDR Storage

Directories.

Page 32: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

22

Result code of CBP-generated CDRs

Table 3-1 lists the error code of CBP-generated CDRs.

Table 3-1 Result code of CBP-generated CDRs

Result code Description

0 Successfully.

102022024 The short message is sent successfully and refund does not

need to be performed.

102022027 The maximum recharge amount is exceeded.

102022028 The recharge amount exceeds the maximum amount.

102022046 A system error occurred during authentication.

102022051 Refund does not need to be performed.

102022056 When the fee for the short message is refunded, the history

fee deduction record cannot be found.

102022057 The service has not been subscribed or the call is barred

according to the age of the calling party.

102022058 The balance is insufficient.

102022060 The international gateway function is forbidden for an

international roaming subscriber.

102022081 The balance of the transfer-out party is smaller than the

amount to be transferred.

102022082 The maximum transfer times of the current month is

exceeded.

102022083 The minimum transfer amount at a time is not reached.

102022084 The maximum transfer amount at a time is exceeded.

102022085 The minimum balance before balance transfer is not

reached.

102022086 The minimum balance after balance transfer is not reached.

102022087 The maximum transfer amount of the current day is

exceeded.

102022088 The maximum transfer amount of the current month is

exceeded.

102022089 The maximum transfer times of the current day is

exceeded.

102022090 The maximum account balance is exceeded.

102022092 The short message notification is sent, indicating the

maximum number of short messages that can be sent in a

Page 33: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

23

Result code Description

cycle.

102022093 The latest activation time is over or the maximum validity

period expires.

102022094 The transfer amount is not a multiple of the specified

amount.

102022095 The account book type specified by the transfer-out party

does not exist.

102022096 When the transfer-in and transfer-out functions are enabled

for brands, authentication fails.

102022097 During the three-level authentication for enabling the

transfer function, the authentication at the brand level fails.

102022098 During the three-level authentication for enabling the

transfer function, the authentication at the sub-brand level

fails.

102022099 During the three-level authentication for enabling the

transfer function, the authentication at the subscriber level

fails.

102022100 The transfer function is not subscribed according to

sub-brands. Therefore, transfer-out authentication fails.

102022101 The transfer function is not subscribed according to

sub-brands. Therefore, transfer-in authentication fails.

102022102 The account book type specified by the transfer-in party

does not exist.

102022103 The site does not support off-net MMS.

102022104 The CUG function is completely disabled, so services are

interrupted.

102022105 The group customer is locked.

102022106 The group member is locked.

102022109 The balance is insufficient to repay the loan.

102022111 The recharge package type does not match the recharge

amount.

102022112 The service duration of the transfer-in party does not reach

the minimum limit.

102022113 The service duration of the transfer-out party does not

reach the minimum limit.

102023002 The recharge record does not exist.

102023003 Rollback is performed.

102023005 The balance of the account to be adjusted is insufficient.

Page 34: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

24

Result code Description

102023008 Initial request message for recharge. The recharge card has

been used.

102023009 Event query message for recharge. The recharge card has

been used.

102023010 The session times out.

102023011 The maximum transfer amount of the current week is

exceeded.

102023012 The maximum transfer times of the current week is

exceeded.

102023013 During the three-level authentication for enabling the

transfer function, the authentication at the transfer-in

subscriber level fails.

102023014 During the three-level authentication for enabling the

transfer function, the brand of the transfer-in subscriber

does not support the account transfer function.

102023015 During the three-level authentication for enabling the

transfer function, the sub-brand of the transfer-in

subscriber does not support the account transfer function.

102023025 Forbid triggering service through normal child card.

102023038 The number of licenses is insufficient for activation.

102023040 The short messages that are loaned cannot be used as

international short messages.

102023064 The recharge card is not valid to recharge.

102023073 Transfer is not allowed because the accumulated

consumption amount does not reach the threshold.

102023098 Transferor authentication failed because the transferor has

not subscribed to the transfer service.

102023099 The transferee is not in the transfer whitelist, and transferor

authentication failed.

102023100 The transfer-out amount exceeds the maximum amount

allowed for the transferor for the current cycle.

102023101 The transfer-in amount exceeds the maximum amount

allowed for the transferee for the current cycle.

102029998 Authentication failed.

102022109 The balance is insufficient to pay pack the loan.

402020000-402029999 System error.

Page 35: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

25

Account Types Supported by OCS System

Table 3-2 lists the account types supported by OCS.

Table 3-2 Details about account type

Account Type ID Account Description

2000 Prepaid main fund subaccount.

2001 Bonus fund subaccount.

4001 Free call duration subaccount1.

4002 Free call duration subaccount2.

4003 Free call duration subaccount3.

4004 Free short message subaccount1.

4005 Free short message subaccount2.

4006 Free short message subaccount3.

4007 Free multimedia messaging subaccount1.

4008 Free volume subaccount1.

4501 Free call duration subaccount4 for Bucket.

4502 Free call duration subaccount5 for Bucket.

4503 Free call duration subaccount6 for Bucket.

4504 Free short message subaccount4 for Bucket.

4505 Free short message subaccount5 for Bucket.

4506 Free short message subaccount6 for Bucket.

4507 Free multimedia messaging subaccount2 for Bucket.

4508 Free volume subaccount2 for Bucket.

3.1.2 rec CDR

Description

The rec CDRs are the CDRs for the voice call service. The CDRs record the following

information in the voice call flow: the service scenario information reported by the call

control module and the information generated by the charging modules, such as rating and fee

deduction information.

Page 36: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

26

Generation Scenario

When subscriber A calls subscriber B and subscriber B answers the call, the OCS system

generates an rec CDR after the call.

If the charging number has child-parent relations with other numbers, that is, the charging number and

other numbers are child-parent cards, the charging information about other numbers is contained in the

generated CDR of the charging party.

The child-parent cards refer to two or more numbers with one number being the parent card and other

numbers being child cards. The parent card pays for the child cards and child cards can use the products

that the parent card subscribes to.

CDR File Name Format

recYYYYMMDD_CBPNODE_Seqno.unl

Example of an rec CDR file name: rec20071112_101_000151.unl

Format

Table 3-3 describes each field of rec CDR file.

NbOfPeriodicTime indicates the number repetitions in the following charging periods (CPs) area.

The value of NbOfPeriodicTime is 0 or 1, the PeriodBeginTime, PeriodEndTime,

DiscTariffCode, ChgFeeType, RateTariffCode, SubAccountType, and AccChargAmount record

one time.

The value of NbOfPeriodicTime is X (X >= 2), the PeriodBeginTime, PeriodEndTime,

DiscTariffCode, ChgFeeType, RateTariffCode, SubAccountType, and AccChargAmount record

X times.

Table 3-3 Format of rec CDR

SN Field Name Field Type Description

1 SerialNo Integer[8] Indicates the serial number.

It is generated by the system and the serial

number is exclusive.

The default value is 0.

Not null

2 SubSequence Integer[4] Indicates the sequence number when the bill is

split for mid-night and end of the bill cycle.

The default value is 0.

3 TimeStamp Char[14] Indicates the timestamp of the bill item

generation.

Format: YYYYMMDDhhmmss

Not null

4 ServiceKey Integer[4] Indicates the service key of the intelligent service

to which the subscriber subscribes.

The default value is 1.

Page 37: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

27

SN Field Name Field Type Description

5 CallingPartyNu

mber

Char[64] Indicates the calling number.

The number format are as follows:

Country code + Area number + PSTN

The number format is the format of the

fixed-line phone number.

Country code + MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

6 CalledPartyNu

mber

Char[64] Indicates the called number.

The number format are as follows:

Country code + Area number + PSTN

The number format is the format of the

fixed-line phone number.

Country code + MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

7 CallingPartyIM

SI

Char[64] Indicates the IMSI of calling party.

When the SCP transfers an IMSI, the value of

this field is the IMSI transferred.

When the SCP does not transfer an IMSI, the

value of this field is the value of the

corresponding field in the attribute table of the

charged subscriber.

The value is Null when the relevant value cannot

be obtained.

Value range: numerals within 0-9, *, #

8 CalledPartyIMS

I

Char[64] Indicates the IMSI of called party.

When the SCP transfers an IMSI, the value of

this field is the IMSI transferred.

When the SCP does not transfer an IMSI, the

value of this field is the value of the

corresponding field in the attribute table of the

charged subscriber.

The value is Null when the relevant value cannot

be obtained.

Value range: numerals within 0-9, *, #

Page 38: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

28

SN Field Name Field Type Description

9 DialedNumber Char[64] Indicates the original number that the calling

party dials in the calling process.

It is valid in MO process.

Value range: numerals within 0-9, *, #

10 OriginalCalledP

arty

Char[64] Indicates the original called number in a

forwarding process.

Special number reroute. International number

form in call forwarding, actual call number in

special number reroute, filling in original called

number when dialed through an international

gateway office.

Value range: numerals within 0-9, *, #

11 ServiceFlow Char[1] Indicates the call process indicator.

The options are as follows:

1: calling process

2: called process

3: forward flow

Not null

12 CallForwardInd

icator

Char[2] Indicates the call forwarding flag.

In MT: A->B->C, In MT process of B, it needs to

know that whether B party transfers the call to C.

Usually, the MT of B party is set free and all the

cost will be charged in MF of B party in this

situation.

In MF: this field is related to the parameter of

"redirect reason" in IDP.

And there are two features implemented by OCS

will also be record here:

Forward to voicemail when subscriber in

abnormal state

Forward to international destiny when on

international roaming

The options are as follows:

00: No call forwarding

10: Call forwarding conditional (none special)

11: Call forward busy

12: Call forward no answer

13: Call forward unreachable

14: Call forward power off

20: Call forwarding unconditional (none

special)

21: Call forward to voicemail (OCS control)

Page 39: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

29

SN Field Name Field Type Description

22: ICF call forward (OCS control)

13 CallingRoamInf

o

Char[20] Indicates the information used to analyze the

roaming state of calling party.

It can be the location number, MSC (mobile

switching center) address, VLR (visitor location

register) number, and so on. The actual value is

related with the service configuration.

Value range: numerals within 0-9, *, #

14 CallingCellID Char[20] Indicates the cell ID of the calling party, which is

directly filled in according to the IDP report.

Value range: numerals within 0-9, *, #

15 CalledRoamInf

o

Char[20] Indicates the information used to analyze the

roaming state of called party.

It can be the location number, MSC address,

VLR number, and so on. The actual value is

related with the service configuration.

Value range: numerals within 0-9, *, #

16 CalledCellID Char[20] Indicates the cell ID of the called party, which is

handled just as that for CallingCellID.

Value range: numerals within 0-9, *, #

17 TimeStampOfS

SP

Char[14] Indicates the time stamp report from SSP in

initial_IDP.

If missing in charging interface, this field will be

filled with the local time stamp of OCS.

Format: YYYYMMDDhhmmss

18 TimeZoneOfSS

P

Integer[4] Indicates the time zone report from SSP in

initial_IDP.

If missing in charging interface, this field will be

filled with the time zone of the location of OCS,

15 min. per sector.

The default value is 0.

Value range: -48-48

NOTE

The value -48 is not included.

19 BearerCapabilit

y

Char[32] Indicates the beared service or additional service.

[1]: supplied service/supplemented service

Others reserved

The options of [1] are as follows:

0: NormalCall

8: VideoCall

9: VoiceData

10: VoiceFax

Page 40: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

30

SN Field Name Field Type Description

20 BearerCapabilit

y2

Char[32] Reserved

21 ChargingTime Char[14] Indicates the time stamp of the charging

beginning.

Format: YYYYMMDDhhmmss

Not null

22 WaitDuration Integer[4] Indicates the wait duration for the calling party.

Unit: second

The default value is 0.

23 CallDuration Integer[4] Indicates the call duration.

Unit: second

The default value is 0.

Not null

24 TerminationRea

son

Integer[4] Indicates the reason why the call cannot be

connected.

The options are as follows:

0: unknown

1: Hang up

2: Insufficient balance

3: Over maximum call duration

Other: reserved

The default value is 0.

25 CallReferenceN

umber

Char[128] Indicates the call reference number. It is reported

by the SSP and is used to synchronized CDRs

generated on both the IN and the SSP.

Value range: numerals within 0-9, *, #

26 IMEI Char[24] Indicates the IE containing the IMEISV of the

ME in use by the served subscriber.

27 ChargeDuration Integer[4] Indicates the charge duration.

Unit: second

The default value is 0.

Not null

28 AccessPrefix Char[20] Indicates the special prefix dialed by a subscriber

for making calls.

For example, the prefix of IP calls, or the prefix

of the international gateway.

Value range: numerals within 0-9, *, #

29 RoutingPrefix Char[20] Indicates the route prefix for re-routing a call.

Value range: numerals within 0-9, *, #

Page 41: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

31

SN Field Name Field Type Description

30 RedirectingPart

yID

Char[20] Indicates the redirection number in the

forwarding process.

31 BrandID Integer[4] Indicates the brand ID of subscribers.

The default value is 0.

32 SubCOSID Integer[4] Indicates the class ID of subscribers.

The default value is 0.

33 ChargingParty

Number Char[64] Indicates the telephone number of the charging

party.

The number is same as calling party number in

MO and called party number in MT.

There are several special situations. Like

Child-Parent card feature, the calling party

number is the child, the charging party number is

the parent's number. This field is null when the

service is paid only by account.

The number format are as follows:

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

34 ChargePartyInd

icator

Char[1] Indicates the charging party.

The options are as follows:

1: The calling party is charged

2: The called party is charged

3: Charge of third party

4: Charge of parent & child card

5: Charge of calling party & VPN

35 PayType Char[1] Indicates the pay type of subscribers.

The options are as follows:

0: Prepaid

1: Postpaid

36 BillCycleID Char[20] Indicates the bill cycle ID.

Format: YYYYMMTT

The description of the format is as follows:

YYYY: indicates the year.

Page 42: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

32

SN Field Name Field Type Description

MM: indicates the month.

TT: indicates the type of a bill cycle.

Value range: numerals within 0-9

37 ChargingType Char[1] Indicates the charging type.

The options are as follows:

0: V-H (caller visit to called location)

1: H-H (caller location to called location)

2: V-V (caller visit to called visit)

3: H-V (caller location to called visit)

38 CallType Char[1] Indicates the analyzed call type according to the

ChargingType.

The options are as follows:

0: Local call

1: Toll call within charging area

2: Toll call between charging area

3: International call

The wildcard value is -1.

39 RoamState Char[1] Indicates the roaming state of charging party.

The options are as follows:

0: No roaming

1: Roaming within charging area

2: Roaming out of charging area

3: International Roaming

40 ResultCode Integer[4] Indicates the internal result code.

Value range: -231

-231

-1

The default value is 0.

41 FPHPrefix Char[20] Indicates the prefix for called party payment.

Value range: numerals within 0-9, *, #

42 CallingHomeC

ountryCode

Integer[4] Indicates the home country code information of

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

43 CallingHomeAr

eaNumber

Integer[4] Indicates the home area number of the calling

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

44 CallingHomeN

etworkCode

Integer[4] Indicates the home network code of the calling

party.

>=0, -1, 0 or 9999 means unknown.

Page 43: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

33

SN Field Name Field Type Description

The default value is 0.

45 CallingRoamCo

untryCode

Integer[4] Indicates the roam country code of the calling

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

46 CallingRoamAr

eaNumber

Integer[4] Indicates the roam area number of the calling

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

47 CallingRoamNe

tworkCode

Integer[4] Indicates the roam network code of the calling

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

48 CalledHomeCo

untryCode

Integer[4] Indicates the home country code of the called

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

49 CalledHomeAr

eaNumber

Integer[4] Indicates the home area number of the called

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

50 CalledHomeNet

workCode

Integer[4] Indicates the home network code of the called

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

51 CalledRoamCo

untryCode

Integer[4] Indicates the roam country code of the called

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

52 CalledRoamAre

aNumber

Integer[4] Indicates the roam area number of the called

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

53 CalledRoamNet

workCode

Integer[4] Indicates the roam network code of the called

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

54 ProductID Char[20] Indicates the last effect rating product.

55 ServiceType Char[32] Indicates the service included in the product.

Page 44: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

34

SN Field Name Field Type Description

They are predefined in OCS.

The options are as follows:

1st digit: Normal Voice tariff

2nd digit: Familiarity number service

3rd digit: Data service

4th digit: VoIP/international carrier call

5th digit: pre-IP call

6th digit: International Call Forward

7th digit: Call from Home Zone

8th digit: UCB service

9th digit: P_FPH service

10th digit: Remote Access

11th digit: Call from Special Zone

12th digit: Calling Collect Call

13th digit: Called Collect Call

14th digit: Carrier Service Prefix

15th digit: Calling Roam OutNet

16th digit: Called Roam OutNet

17th digit: Special number call

18th digit: VoIP call

19th digit: Fax

41st digit: VMS

42nd digit: MCN

Other: reserved

The value range of each digit indicates whether

the service is activated.

0: Not activated

1: Activated

Not null

56 HotLineIndicat

or

Integer[4] Indicates the special number type, like free call

number, emergency number, and so on.

Segment from 0 to 1000 is reserved by OCS,

from 1001 can be extended by operator according

to special purpose.

The options are as follows:

0: Normal call

1: ForbiddenNumber

2: EmergencyNumber

3: FreeNumber

4: SpecialNumber

8: CallCenterandAttandent

Page 45: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

35

SN Field Name Field Type Description

9: Voice Mail

16: Dunning long number

The default value is 0.

57 HomeZoneID Integer[4] Indicates the home zone ID.

When a subscriber enjoys the home zone

discount, the value of this field is the home zone

ID of the area where the subscriber currently

locates.

The default value is 0.

58 NPFlag Char[1] Indicates the flag of number portable.

The options are as follows:

0: Not NP

1: NP out

The default value is 0.

59 NPPrefix Char[6] Indicates the number portability prefix of called

party in the MO process or number portability

prefix of the calling party in the MT process.

Value range: numerals within 0-9, *, #

60 CallingGroupN

o

Integer[4] Indicates the group number of the calling party

when enjoying CUG service. It is the group

number related to the rating.

The default value is 0.

61 CalledGroupNo Integer[4] Indicates the group number of the called party

when enjoying CUG or VPN service. It is the

group number related to the rating.

The default value is 0.

62 UserState Char[10] Indicates the life cycle state and the management

state of a subscriber.

The UserState parameter is a numeric string of

seven digits, in the format CCMMMMM.

The first and second digits C indicate the life

cycle state of a subscriber. The first digit C

indicates the state of a prepaid subscriber, and the

second digit C indicates the state of a postpaid

subscriber. The options are as follows:

0: Idle

1: Active

2: Suspended

3: Disable

4: Pool

5: Pool without activation

The next five digits MMMMM indicate the

Page 46: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

36

SN Field Name Field Type Description

management state of a subscriber. The options

are as follows:

Third digit: Whether the subscriber claims

missing.

0: no

1: yes

Fourth digit: Whether the subscriber suspends the

service.

0: non-suspend

1: suspend

2: suspend by operator (B1W)

3: suspend by operator (B2W)

Fifth digit: Whether the subscriber applies for

suspension with the number being reserved.

0: no

1: yes

Sixth digit: Whether the subscriber is blocked.

0: no

1: yes

Seventh digit: Whether the subscriber is

blacklisted.

0: no

1: yes

63 SubscriberID Char[20] Indicates the subscriber ID.

Value range: characters in [0-9, a-z, A-Z]

64 OpposeNumber

Type

Integer[4] Indicates the network type of oppose side.

The options are as follows:

1: PSTN

2: Mobile

3: Native Unknown

4: International Unknown

Other: to be extended

The default value is 0.

The wildcard value is -1.

65 Reserved Integer[4] -

66 ChargeOfItems

Accounts

Integer[8] Indicates the free call times used.

Value range: -263

-263

-1

Not null

The default value is 0.

67 ChargeOfDurati Integer[8] Indicates the total call time charge using reword

Page 47: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

37

SN Field Name Field Type Description

onAccounts resource.

Value range: -263

-263

-1

Not null

The default value is 0.

68 ChargeOfFund

Accounts

Integer[8] Indicates the total cost amount charging from

fund account

Value range: -263

-263

-1

Not null

The default value is 0.

69 ChargeFromPre

paid

Integer[8] Indicates the charge amount from prepaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

70 PrepaidBalance Integer[8] Indicates the balance of prepaid account.

Value range: -263

-263

-1

Not null

The default value is 0.

71 ChargeFromPos

tpaid

Integer[8] Indicates the charge amount from postpaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

72 PostPaidBalanc

e

Integer[8] Indicates the balance of postpaid available

limitation.

Value range: -263

-263

-1

Not null

The default value is 0.

73 AccountID Char[20] Indicates the ID of the main account.

Value range: characters in [0-9, a-z, A-Z]

74 AccountKey Integer[8] Indicates the key of the main account.

Value range: -263

-263

-1

The default value is 0.

75 CurrencyCode Integer[4] Currency code. Also, if this field missed or

present be Zero, it means the system use local

minimal currency as default, and no need to

specify in CDR.

The default value is 0.

76 Reserved Char[20] -

Page 48: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

38

SN Field Name Field Type Description

77 AccountType1 Integer[4] Indicates the account type of the first account.

0 means not used.

Not null

The default value is 0.

78 FeeType1 Integer[4] Indicates the fee type of the first account.

0 means not used.

Not null

The default value is 0.

79 ChargeAmount

1

Integer[8] Indicates the changing amount of the first

account.

0 means not used.

Value range: -263

-263

-1

Not null

The default value is 0.

80 CurrentAcctAm

ount1

Integer[8] Indicates the current amount of the first account.

Value range: -263

-263

-1

Not null

The default value is 0.

81 AccountType2 Integer[4] Indicates the account type of the second account.

0 means not used.

Not null

The default value is 0.

82 FeeType2 Integer[4] Indicates the fee type of the second account.

0 means not used.

Not null

The default value is 0.

83 ChargeAmount

2

Integer[8] Indicates the changing amount of the second

account.

0 means not used.

Value range: -263

-263

-1

Not null

The default value is 0.

84 CurrentAcctAm

ount2

Integer[8] Indicates the current amount of the second

account.

Value range: -263

-263

-1

Not null

The default value is 0.

85 AccountType3 Integer[4] Indicates the account type of the third account.

Page 49: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

39

SN Field Name Field Type Description

0 means not used.

Not null

The default value is 0.

86 FeeType3 Integer[4] Indicates the fee type of the third account.

0 means not used.

Not null

The default value is 0.

87 ChargeAmount

3

Integer[8] Indicates the changing amount of the third

account.

0 means not used.

Value range: -263

-263

-1

Not null

The default value is 0.

88 CurrentAcctAm

ount3

Integer[8] Indicates the current amount of the third account.

Value range: -263

-263

-1

Not null

The default value is 0.

89 AccountType4 Integer[4] Indicates the account type of the fourth account.

0 means not used.

Not null

The default value is 0.

90 FeeType4 Integer[4] Indicates the fee type of the fourth account.

0 means not used.

Not null

The default value is 0.

91 ChargeAmount

4

Integer[8] Indicates the changing amount of the fourth

account.

0 means not used.

Value range: -263

-263

-1

Not null

The default value is 0.

92 CurrentAcctAm

ount4

Integer[8] Indicates the current amount of the fourth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

93 AccountType5 Integer[4] Indicates the account type of the fifth account.

0 means not used.

Page 50: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

40

SN Field Name Field Type Description

Not null

The default value is 0.

94 FeeType5 Integer[4] Indicates the fee type of the fifth account.

0 means not used.

Not null

The default value is 0.

95 ChargeAmount

5

Integer[8] Indicates the changing amount of the fifth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

96 CurrentAcctAm

ount5

Integer[8] Indicates the current amount of the fifth account.

Value range: -263

-263

-1

Not null

The default value is 0.

97 AccountType6 Integer[4] Indicates the account type of the sixth account.

0 means not used.

Not null

The default value is 0.

98 FeeType6 Integer[4] Indicates the fee type of the sixth account.

0 means not used.

Not null

The default value is 0.

99 ChargeAmount

6

Integer[8] Indicates the changing amount of the sixth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

100 CurrentAcctAm

ount6

Integer[8] Indicates the current amount of the sixth account.

Value range: -263

-263

-1

Not null

The default value is 0.

101 AccountType7 Integer[4] Indicates the account type of the seventh account.

0 means not used.

Not null

The default value is 0.

Page 51: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

41

SN Field Name Field Type Description

102 FeeType7 Integer[4] Indicates the fee type of the seventh account.

0 means not used.

Not null

The default value is 0.

103 ChargeAmount

7

Integer[8] Indicates the changing amount of the seventh

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

104 CurrentAcctAm

ount7

Integer[8] Indicates the current amount of the seventh

account.

Value range: -263

-263

-1

Not null

The default value is 0.

105 AccountType8 Integer[4] Indicates the account type of the eighth account.

0 means not used.

Not null

The default value is 0.

106 FeeType8 Integer[4] Indicates the fee type of the eighth account.

0 means not used.

Not null

The default value is 0.

107 ChargeAmount

8

Integer[8] Indicates the changing amount of the eighth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

108 CurrentAcctAm

ount8

Integer[8] Indicates the current amount of the eighth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

109 AccountType9 Integer[4] Indicates the account type of the ninth account.

0 means not used.

Not null

The default value is 0.

Page 52: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

42

SN Field Name Field Type Description

110 FeeType9 Integer[4] Indicates the fee type of the ninth account.

0 means not used.

Not null

The default value is 0.

111 ChargeAmount

9

Integer[8] Indicates the changing amount of the ninth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

112 CurrentAcctAm

ount9

Integer[8] Indicates the current amount of the ninth account.

Value range: -263

-263

-1

Not null

The default value is 0.

113 AccountType10 Integer[4] Indicates the account type of the tenth account.

0 means not used.

Not null

The default value is 0.

114 FeeType10 Integer[4] Indicates the fee type of the tenth account.

0 means not used.

Not null

The default value is 0.

115 ChargeAmount

10

Integer[8] Indicates the changing amount of the tenth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

116 CurrentAcctAm

ount10

Integer[8] Indicates the current amount of the tenth account.

Value range: -263

-263

-1

Not null

The default value is 0.

117 BonusValidity1 Char[14] Indicates the validity period of the first rewarded

resource. The validity period does not change

when fees are deducted from accounts. In this

case, the validity periods of consumption

resources are not recorded.

Format: YYYYMMDDhhmmss

118 BonusValidity2 Char[14] Indicates the validity period of the second

Page 53: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

43

SN Field Name Field Type Description

rewarded resource. The validity period does not

change when fees are deducted from accounts. In

this case, the validity periods of consumption

resources are not recorded.

Format: YYYYMMDDhhmmss

119 BonusValidity3 Char[14] Indicates the validity period of the third rewarded

resource. The validity period does not change

when fees are deducted from accounts. In this

case, the validity periods of consumption

resources are not recorded.

Format: YYYYMMDDhhmmss

120 BonusValidity4 Char[14] Indicates the validity period of the fourth

rewarded resource. The validity period does not

change when fees are deducted from accounts. In

this case, the validity periods of consumption

resources are not recorded.

Format: YYYYMMDDhhmmss

121 BonusValidity5 Char[14] Indicates the validity period of the fifth rewarded

resource. The validity period does not change

when fees are deducted from accounts. In this

case, the validity periods of consumption

resources are not recorded.

Format: YYYYMMDDhhmmss

122 BonusValidity6 Char[14] Indicates the validity period of the sixth rewarded

resource. The validity period does not change

when fees are deducted from accounts. In this

case, the validity periods of consumption

resources are not recorded.

Format: YYYYMMDDhhmmss

123 BonusValidity7 Char[14] Indicates the validity period of the seventh

rewarded resource. The validity period does not

change when fees are deducted from accounts. In

this case, the validity periods of consumption

resources are not recorded.

Format: YYYYMMDDhhmmss

124 BonusValidity8 Char[14] Indicates the validity period of the eighth

rewarded resource. The validity period does not

change when fees are deducted from accounts. In

this case, the validity periods of consumption

resources are not recorded.

Format: YYYYMMDDhhmmss

125 BonusValidity9 Char[14] Indicates the validity period of the ninth

rewarded resource. The validity period does not

change when fees are deducted from accounts. In

this case, the validity periods of consumption

resources are not recorded.

Page 54: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

44

SN Field Name Field Type Description

Format: YYYYMMDDhhmmss

126 BonusValidity1

0

Char[14] Indicates the validity period of the tenth

rewarded resource. The validity period does not

change when fees are deducted from accounts. In

this case, the validity periods of consumption

resources are not recorded.

Format: YYYYMMDDhhmmss

127 CallingVPNTo

pGroupNumber

Char[15] Indicates the top group number of the calling

party.

Value range: numerals within 0-9

Can be null

128 CallingVPNGro

upNumber

Char[10] Indicates the group number of the calling party.

Value range: numerals within 0-9

Can be null

129 CallingVPNSho

rtNumber

Char[10] Indicates the short number of the calling party.

Value range: numerals within 0-9

Can be null

130 CalledVPNTop

GroupNumber

Char[15] Indicates the top group number of the called

party.

Value range: numerals within 0-9

Can be null

131 CalledVPNGro

upNumber Char[10] Indicates the group number of the called party.

Value range: numerals within 0-9

Can be null

132 CalledVPNShor

tNumber

Char[10] Indicates the short number of the called party

Value range: numerals within 0-9

Can be null

133 CallingNetwork

Type

Char[10] Indicates the type of the network accessed by the

calling party.

The options are as follows:

100: PSTN

200: GSM

Can be null

134 CalledNetwork

Type

Char[10] Indicates the type of the network accessed by the

called party.

The options are as follows:

100: PSTN

101: PBX

102: PHS

Page 55: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

45

SN Field Name Field Type Description

200: GSM

201: GPRS

202: EDGE

300: CDMA

301: CDMA 450

400: WCDMA

500: TD-SCDMA

600: IP/IMS

601: Wifi

602: WIMAX

Other to be extended

Can be null

135 GroupCallType Char[10] Indicates the call type when the charged

subscriber is a VPN user.

The options are as follows:

0: On-net call

1: Off-net call

3: Common call

Can be null

136 GroupPayFlag Char[10] Indicates the payment mode of the group users.

The options are as follows:

0: Personal payment

1: Group payment

2: Group and Personal payment

Can be null

137 Reserved Integer[4] -

138 Reserved Char[10] -

139 Reserved Char[10] -

140 Reserved Char[10] -

141 Reserved Char[10] -

142 AddtionalInfo Char[256] Indicates the additional information about the

service.

Some additional information about the service is

recorded. In most cases, the information is only

useful for the specified carrier.

143 StartTimeOfBil

lCycle

Char[14] Indicates the start time of bill cycle.

The default value is 0.

144 SecondChargin Char[64] Indicates the number of the other charging party

Page 56: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

46

SN Field Name Field Type Description

gPartyNumber of the child-parent cards. In the example, the

value of the field is the number of subscriber C.

The number is same as calling party number in

MO and called party number in MT.

There are several special situations. Like

Child-Parent card feature, the calling party

number is the child, the charging party number is

the parent's number. This field is null when the

service is paid only by account.

The number format are as follows:

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

145 SecondChargin

gPartyPayType

Char[1] Indicates the payment type of the other charging

party of the child-parent cards. For example, the

payment type of the parent card.

The options are as follows:

0: Prepaid

1: Postpaid

NOTE

If the value of the field is null, the system records the

payment type of the parent card subscriber.

146 SecondChargin

gPartyBillCycle

ID

Char[20] Indicates the bill cycle ID of the other charging

party of the child-parent cards. For example, the

bill cycle ID of the parent card.

Format: YYYYMMTT

The description of the format is as follows:

YYYY: indicates the year.

MM: indicates the month.

TT: indicates the type of a bill cycle.

147 ChargeOfItems

SecondAccount

s

Integer[8] Indicates the free call times used from others,

such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

148 ChargeOfDurati

onSecondAcco

Integer[8] Indicates the total call time charge using reward

resource from others, such as the parent card.

Page 57: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

47

SN Field Name Field Type Description

unts Value range: -263

-263

-1

Not null

The default value is 0.

149 ChargeOfFund

SecondAccount

s

Integer[8] Indicates the total cost amount charging from

fund account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

150 ChargeFromSec

ondPrepaidAcc

ount

Integer[8] Indicates the charge amount from other prepaid

account, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

151 SecondPrepaid

AccountBalanc

e

Integer[8] Indicates the balance of other prepaid account.

Value range: -263

-263

-1

Not null

The default value is 0.

152 ChargeFromSec

ondPostpaidAc

count

Integer[8] Indicates the charge amount from other postpaid

account, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

153 SecondPostpaid

AccountBalanc

e

Integer[8] Indicates the balance of other postpaid account.

Value range: -263

-263

-1

The default value is 0.

154 SecondAccount

ID

Char[20] Indicates the main account ID of the other

charging party that the system deducts fees from.

Value range: characters in [0-9, a-z, A-Z]

155 SecondAccount

Key

Integer[8] Indicates the main account key of the other

charging party that the system deducts fees from.

Value range: -263

-263

-1

The default value is 0.

156 SecondAccount

CurrencyCode

Integer[4] Currency code of others, such as the parent card.

Also, if this field missed or present be Zero, it

means the system use local minimal currency as

default, and no need to specify in CDR.

The default value is 0.

157 Reserved Char[20] -

158 SecondAccount Integer[4] Indicates the account type of the first account of

Page 58: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

48

SN Field Name Field Type Description

Type1 others, such as the parent card.

0 means not used.

Not null

The default value is 0.

159 SecondFeeType

1

Integer[4] Indicates the fee type of the first account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

160 SecondCharge

Amount1

Integer[8] Indicates the changing amount of the first

account of others, such as the parent card.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

161 SecondCurrent

AcctAmount1

Integer[8] Indicates the current amount of the first account

of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

162 SecondAccount

Type2

Integer[4] Indicates the account type of the second account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

163 SecondFeeType

2

Integer[4] Indicates the fee type of the second account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

164 SecondCharge

Amount2

Integer[8] Indicates the changing amount of the second

account of others, such as the parent card.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

165 SecondCurrent

AcctAmount2

Integer[8] Indicates the current amount of the second

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

Page 59: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

49

SN Field Name Field Type Description

The default value is 0.

166 SecondAccount

Type3

Integer[4] Indicates the account type of the third account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

167 SecondFeeType

3

Integer[4] Indicates the fee type of the third account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

168 SecondCharge

Amount3

Integer[8] Indicates the changing amount of the third

account of others, such as the parent card.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

169 SecondCurrent

AcctAmount3

Integer[8] Indicates the current amount of the third account

of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

170 SecondAccount

Type4 Integer[4] Indicates the account type of the fourth account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

171 SecondFeeType

4 Integer[4] Indicates the fee type of the fourth account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

172 SecondCharge

Amount4 Integer[8] Indicates the changing amount of the fourth

account of others, such as the parent card.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

173 SecondCurrent

AcctAmount4

Integer[8] Indicates the current amount of the fourth

account of others, such as the parent card.

Page 60: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

50

SN Field Name Field Type Description

Value range: -263

-263

-1

Not null

The default value is 0.

174 SecondAccount

Type5 Integer[4] Indicates the account type of the fifth account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

175 SecondFeeType

5 Integer[4] Indicates the fee type of the fifth account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

176 SecondCharge

Amount5 Integer[8] Indicates the changing amount of the fifth

account of others, such as the parent card.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

177 SecondCurrent

AcctAmount5

Integer[8] Indicates the current amount of the fifth account

of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

178 SecondBonusV

alidity1

Char[14] Indicates the validity period of the first rewarded

resource of others, such as the parent card. The

validity period does not change when fees are

deducted from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

179 SecondBonusV

alidity2

Char[14] Indicates the validity period of the second

rewarded resource of others, such as the parent

card. The validity period does not change when

fees are deducted from accounts. In this case, the

validity periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

180 SecondBonusV

alidity3

Char[14] Indicates the validity period of the third rewarded

resource of others, such as the parent card. The

validity period does not change when fees are

deducted from accounts. In this case, the validity

periods of consumption resources are not

Page 61: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

51

SN Field Name Field Type Description

recorded.

Format: YYYYMMDDhhmmss

181 SecondBonusV

alidity4

Char[14] Indicates the validity period of the fourth

rewarded resource of others, such as the parent

card. The validity period does not change when

fees are deducted from accounts. In this case, the

validity periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

182 SecondBonusV

alidity5

Char[14] Indicates the validity period of the fifth rewarded

resource of others, such as the parent card. The

validity period does not change when fees are

deducted from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

183 CallingCluster

Number

Integer[4] Indicates the calling cluster number.

The default value is -1.

184 CalledClusterN

umber

Integer[4] Indicates the called cluster number.

The default value is -1.

185 OriginalCalling

Party

Char[64] Indicates the original calling number.

The field is used in the forwarding process. For

example, subscriber A calls subscriber B and the

call is forwarded to subscriber C. In this case,

subscriber B is the calling party, subscriber A is

the original calling party, and the number of

subscriber A is the original calling number.

Value range: numerals within 0-9, *, #

186 Reserved Integer[4] -

187 Reserved Integer[4] -

188 OppositePartyN

umber

Char[64] Indicates the number of the opposite party.

In calling process, the number is the number of

the called party.

In called process, the number is the number of

the calling party.

The number format are as follows:

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

Page 62: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

52

SN Field Name Field Type Description

For URI format, example,

[email protected]

If it is a international number, the number format

are as follows:

Country code + Area number + PSTN

The number format is the format of the

fixed-line phone number.

Country code + MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

Not null

The default value is null.

189 SuperBuddyCal

lType

Integer[4] Indicates the super buddy call type of the current

call.

0: Normal call (not super buddy call)

1: Owner first valid call (first effective call

from A to B in a day)

2: Owner other call (second effective call

from A to B in a day; charged by preferential

rate)

3: Call to owner (effective call from B to A)

Not null

NOTE

If this field has values 2 and 3 at the same time, the

value 2 takes priority in CDRs.

190 SponsorID Char[8] Indicates a sponsor ID.

Can be null

191 SponsorDiscou

nt

Char[25] Indicates the discount for the sponsor service.

Not null

The default value is 1000.

192 DiameterSessio

nID

Char[128] Indicates a diameter session ID.

The format is as follows:

<DiameterIdentity>;<high 32 bits>;<low 32

bits>[;<optional value>]

<DiameterIdentity>: the same as the field in

the Origin-Host AVP.

<high 32 bits>: indicates the current time of

the system.

<low 32 bits>: indicates the cycle count-up.

The initial value is 0. When you restart the

Page 63: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

53

SN Field Name Field Type Description

system, set the value to 0.

<optional value>: indicates implementation

specific but may include a modem's device Id,

a layer 2 address, timestamp, etc.

Separate the preceding fields with the character

";".

For example:

SCP001.huawei.com;1876543210;523

193 StartcountryGro

up

Integer[4] Indicates the start charging country group, that is,

the country group on the start location in toll call

charging.

Not null

The default value is 0.

194 EndcountryGro

up

Integer[4] Indicates the end charging country group, that is,

the country group on the end location in toll call

charging.

Not null

The default value is 0.

195 Reserved Integer[4] -

196 Reserved Integer[4] -

197 Reserved Integer[4] -

198 Reserved Char[1] -

199 Reserved Char[32] -

200 Reserved Char[32] -

201 Reserved Char[64] -

202 Reserved Integer[4] -

203 Reserved Char[14] -

204 DiscountOfLast

EffProduct

Integer[4] Indicates the discount percentage for the last

rated product that takes effect. For a product that

does not provide discounts, the value is 100.

Value range: 0-100

NOTE

The value 0 is not included.

Not null

The default value is 100.

205 subscriberkey Integer[4] Indicates the key of a subscriber.

The default value is 0.

206 accumulationch

ange

Char[256] Indicates the change value of an accumulative

item.

Page 64: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

54

SN Field Name Field Type Description

The value format is as follows:

Accumulation ID 1, accumulation switch time 1,

change value 1; accumulation ID 2, accumulation

switch time 2, change value 2...

The value contains only numerals. The account

ID and balance change is separated by a comma

(,), and information of different accounts is

separated by a semicolon (;). The information

about up to 10 accounts can be included. The

excess account information will be discarded.

207 UsageServiceT

ype

Integer[4] Indicates the type of a real-time service.

The default value is 1100.

208 SourceSerialNo Integer[8] For the CDRs that are generated not for re-rating,

the default value of this field is 0. For the CDRs

that are generated for re-rating, the value of this

field is the corresponding value in the original

CDRs for re-rating. If the re-rating is performed

multiple times, the value of this field remains

unchanged.

Not null

The default value is 0.

209 SourceSubSequ

ence

Integer[4] Indicates the sequence number when the bill is

split. For example, special requirement of

splitting on mid-night and end of the bill cycle.

For the CDRs that are generated not for re-rating,

the default value of this field is 0. For the CDRs

that are generated for re-rating, the value of this

field is the corresponding value in the original

CDRs for re-rating. If the re-rating is performed

multiple times, the value of this field remains

unchanged.

The default value is 0.

210 AcctBalChgList Char[768] Indicates the change value of balance change.

The value format is as follows:

lAcctBalanceID, iProductKey, iFeeID,

iAmount0, iAmount1, iAcctBalanceType,

MeasureID, billCycleID;

The value contains only numerals. The fields in

each group are separated by commas (,), and

groups are separated by semicolons (;). Up to 10

groups can be included. The contents exceeding

10 groups will be discarded.

211 SubscriberType Integer[4] Reserved

212 OriginCdrFilen

ame

Char[64] Indicates the name of a rated CDR.

The default value is 0.

Page 65: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

55

SN Field Name Field Type Description

213 CurCDRLineN

o

Integer[4] Reserved

214 DDSDiscountO

ff

Integer[4] Indicates discount of dynamic tariff.

Not null

The default value is 0.

215 Reserved Integer[8] -

216 Reserved Integer[8] -

217 Reserved Integer[8] -

218 Reserved Integer[8] -

219 SecondSubscrib

erKey

Integer[4] Indicates the key value of the entrusted-payment

subscriber.

The default value is 0.

220 Reserved Integer[4] -

221 Reserved Integer[4] -

222 Reserved Integer[4] -

223 Reserved Char[22] -

224 familyid Integer[4] Indicates the family ID of the Family Package

that meeting the preference rule.

The default value is -1.

225 accounttype1 Integer[4] Indicates the account type of the first fund

account.

The default value is 0.

226 BalanceBefore

Charge1 Integer[8] Indicates the balance of the first account before

the system deducts the fee from.

The default value is 0.

227 BalanceAfterCh

arge1

Integer[8] Indicates the balance of the first account after the

system deducts the fee from.

The default value is 0.

228 ChargeFee1 Integer[8] Indicates the cost amount charging from the first

account.

The default value is 0.

229 accounttype2 Integer[4] Indicates the account type of the second fund

account.

The default value is 0.

230 BalanceBefore

Charge2

Integer[8] Indicates the balance of the second account

before the system deducts the fee from.

The default value is 0.

Page 66: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

56

SN Field Name Field Type Description

231 BalanceAfterCh

arge2

Integer[8] Indicates the balance of the second account after

the system deducts the fee from.

The default value is 0.

232 ChargeFee2 Integer[8] Indicates the cost amount charging from the

second account.

The default value is 0.

233 accounttype3 Integer[4] Indicates the account type of the third fund

account.

The default value is 0.

234 BalanceBefore

Charge3

Integer[8] Indicates the balance of the third account before

the system deducts the fee from.

The default value is 0.

235 BalanceAfterCh

arge3

Integer[8] Indicates the balance of the third account after

the system deducts the fee from.

The default value is 0.

236 ChargeFee3 Integer[8] Indicates the cost amount charging from the third

account.

The default value is 0.

237 accounttype4 Integer[4] Indicates the account type of the forth fund

account.

The default value is 0.

238 BalanceBefore

Charge4

Integer[8] Indicates the balance of the forth account before

the system deducts the fee from.

The default value is 0.

239 BalanceAfterCh

arge4

Integer[8] Indicates the balance of the forth account after

the system deducts the fee from.

The default value is 0.

240 ChargeFee4 Integer[8] Indicates the cost amount charging from the forth

account.

The default value is 0.

241 accounttype5 Integer[4] Indicates the account type of the fifth account.

The default value is 0.

242 BalanceBefore

Charge5

Integer[8] Indicates the balance of the fifth account before

the system deducts the fee from.

The default value is 0.

243 BalanceAfterCh

arge5

Integer[8] Indicates the balance of the fifth account after the

system deducts the fee from.

The default value is 0.

244 ChargeFee5 Integer[8] Indicates the cost amount charging from the fifth

Page 67: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

57

SN Field Name Field Type Description

account.

The default value is 0.

245 accounttype6 Integer[4] Indicates the account type of the sixth account.

The default value is 0.

246 BalanceBefore

Charge6

Integer[8] Indicates the balance of the sixth account before

the system deducts the fee from.

The default value is 0.

247 BalanceAfterCh

arge6

Integer[8] Indicates the balance of the sixth account after

the system deducts the fee from.

The default value is 0.

248 ChargeFee6 Integer[8] Indicates the cost amount charging from the sixth

account.

The default value is 0.

249 accounttype7 Integer[4] Indicates the account type of the seventh fund

account.

The default value is 0.

250 BalanceBefore

Charge7

Integer[8] Indicates the balance of the seventh account

before the system deducts the fee from.

The default value is 0.

251 BalanceAfterCh

arge7 Integer[8] Indicates the balance of the seventh account after

the system deducts the fee from.

The default value is 0.

252 ChargeFee7 Integer[8] Indicates the cost amount charging from the

seventh account.

The default value is 0.

253 accounttype8 Integer[4] Indicates the account type of the eighth fund

account.

The default value is 0.

254 BalanceBefore

Charge8

Integer[8] Indicates the balance of the eighth account before

the system deducts the fee from.

The default value is 0.

255 BalanceAfterCh

arge8

Integer[8] Indicates the balance of the eighth account after

the system deducts the fee from.

The default value is 0.

256 ChargeFee8 Integer[8] Indicates the cost amount charging from the

eighth account.

The default value is 0.

257 accounttype9 Integer[4] Indicates the account type of the ninth fund

account.

Page 68: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

58

SN Field Name Field Type Description

The default value is 0.

258 BalanceBefore

Charge9

Integer[8] Indicates the balance of the ninth account before

the system deducts the fee from.

The default value is 0.

259 BalanceAfterCh

arge9

Integer[8] Indicates the balance of the ninth account after

the system deducts the fee from.

The default value is 0.

260 ChargeFee9 Integer[8] Indicates the cost amount charging from the ninth

account.

The default value is 0.

261 accounttype10 Integer[4] Indicates the account type of the tenth fund

account.

The default value is 0.

262 BalanceBefore

Charge10

Integer[8] Indicates the balance of the tenth account before

the system deducts the fee from.

The default value is 0.

263 BalanceAfterCh

arge10

Integer[8] Indicates the balance of the tenth account after

the system deducts the fee from.

The default value is 0.

264 ChargeFee10 Integer[8] Indicates the cost amount charging from the tenth

account.

The default value is 0.

265 accounttype11 Integer[4] Indicates the account type of the eleventh fund

account.

The default value is 0.

266 BalanceBefore

Charge11

Integer[8] Indicates the balance of the eleventh account

before the system deducts the fee from.

The default value is 0.

267 BalanceAfterCh

arge11

Integer[8] Indicates the balance of the eleventh account

after the system deducts the fee from.

The default value is 0.

268 ChargeFee11 Integer[8] Indicates the cost amount charging from the

eleventh account.

The default value is 0.

269 accounttype12 Integer[4] Indicates the account type of the twelfth fund

account.

The default value is 0.

270 BalanceBefore

Charge12

Integer[8] Indicates the balance of the twelfth account

before the system deducts the fee from.

Page 69: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

59

SN Field Name Field Type Description

The default value is 0.

271 BalanceAfterCh

arge12

Integer[8] Indicates the balance of the twelfth account after

the system deducts the fee from.

The default value is 0.

272 ChargeFee12 Integer[8] Indicates the cost amount charging from the

twelfth account.

The default value is 0.

273 accounttype13 Integer[4] Indicates the account type of the thirteenth fund

account.

The default value is 0.

274 BalanceBefore

Charge13

Integer[8] Indicates the balance of the thirteenth account

before the system deducts the fee from.

The default value is 0.

275 BalanceAfterCh

arge13

Integer[8] Indicates the balance of the thirteenth account

after the system deducts the fee from.

The default value is 0.

276 ChargeFee13 Integer[8] Indicates the cost amount charging from the

thirteenth account.

The default value is 0.

277 accounttype14 Integer[4] Indicates the account type of the fourteenth fund

account.

The default value is 0.

278 BalanceBefore

Charge14

Integer[8] Indicates the balance of the fourteenth account

before the system deducts the fee from.

The default value is 0.

279 BalanceAfterCh

arge14

Integer[8] Indicates the balance of the fourteenth account

after the system deducts the fee from.

The default value is 0.

280 ChargeFee14 Integer[8] Indicates the cost amount charging from the

fourteenth account.

The default value is 0.

281 accounttype15 Integer[4] Indicates the account type of the fifteenth fund

account.

The default value is 0.

282 BalanceBefore

Charge15

Integer[8] Indicates the balance of the fifteenth account

before the system deducts the fee from.

The default value is 0.

283 BalanceAfterCh

arge15

Integer[8] Indicates the balance of the fifteenth account

after the system deducts the fee from.

Page 70: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

60

SN Field Name Field Type Description

The default value is 0.

284 ChargeFee15 Integer[8] Indicates the cost amount charging from the

fifteenth account.

The default value is 0.

285 accounttype16 Integer[4] Indicates the account type of the sixteenth fund

account.

The default value is 0.

286 BalanceBefore

Charge16

Integer[8] Indicates the balance of the sixteenth account

before the system deducts the fee from.

The default value is 0.

287 BalanceAfterCh

arge16

Integer[8] Indicates the balance of the sixteenth account

after the system deducts the fee from.

The default value is 0.

288 ChargeFee16 Integer[8] Indicates the cost amount charging from the

sixteenth account.

The default value is 0.

289 accounttype17 Integer[4] Indicates the account type of the seventeenth

fund account.

The default value is 0.

290 BalanceBefore

Charge17

Integer[8] Indicates the balance of the seventeenth account

before the system deducts the fee from.

The default value is 0.

291 BalanceAfterCh

arge17

Integer[8] Indicates the balance of the seventeenth account

after the system deducts the fee from.

The default value is 0.

292 ChargeFee17 Integer[8] Indicates the cost amount charging from the

seventeenth account.

The default value is 0.

293 accounttype18 Integer[4] Indicates the account type of the eighteenth fund

account.

The default value is 0.

294 BalanceBefore

Charge18

Integer[8] Indicates the balance of the eighteenth account

before the system deducts the fee from.

The default value is 0.

295 BalanceAfterCh

arge18

Integer[8] Indicates the balance of the eighteenth account

after the system deducts the fee from.

The default value is 0.

296 ChargeFee18 Integer[8] Indicates the cost amount charging from the

eighteenth account.

Page 71: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

61

SN Field Name Field Type Description

The default value is 0.

297 accounttype19 Integer[4] Indicates the account type of the nineteenth fund

account.

The default value is 0.

298 BalanceBefore

Charge19

Integer[8] Indicates the balance of the nineteenth account

before the system deducts the fee from.

The default value is 0.

299 BalanceAfterCh

arge19

Integer[8] Indicates the balance of the nineteenth account

after the system deducts the fee from.

The default value is 0.

300 ChargeFee19 Integer[8] Indicates the cost amount charging from the

nineteenth account.

The default value is 0.

301 accounttype20 Integer[4] Indicates the account type of the twentieth fund

account.

The default value is 0.

302 BalanceBefore

Charge20

Integer[8] Indicates the balance of the twentieth account

before the system deducts the fee from.

The default value is 0.

303 BalanceAfterCh

arge20

Integer[8] Indicates the balance of the twentieth account

after the system deducts the fee from.

The default value is 0.

304 ChargeFee20 Integer[8] Indicates the cost amount charging from the

twentieth account.

The default value is 0.

3.1.3 sms CDR

Description

The sms CDRs are the CDRs for the SMS. The CDRs record the following information in

SMS charging requests: the service scenario information reported by external NEs and the

information generated by the charging modules, such as rating and fee deduction information.

Generation Scenario

When OCS subscriber A sends an SM to subscriber B, and the system successfully deducts

the fee from the account of subscriber A, an sms CDR is generated.

For the description of child-parent cards, see section 3.1.2 rec CDR .

Page 72: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

62

CDR File Name Format

smsYYYYMMDD_CBPNODE_Seqno.unl

Example of an sms CDR file name: sms20071112_101_000151.unl

Format

Table 3-4 describes each field of sms CDR file.

Table 3-4 Format of sms CDR

SN Field Name Field Type Description

1 SerialNo Integer[8] Indicates the serial number.

It is generated by the system and the

serial number is exclusive.

Not null

The default value is 0.

2 SubSequence Integer[4] Indicates the sequence number when the

bill is split for mid-night and end of the

bill cycle.

The default value is 0.

3 TimeStamp Char[14] Indicates the timestamp of the bill item

generation.

Format: YYYYMMDDhhmmss

Not null

4 ServiceKey Integer[4] Indicates the service key of the intelligent

service to which the subscriber

subscribes.

The default value is 1.

5 CallingPartyNum

ber

Char[64] Indicates the calling number. The number

format are as follows:

Country code + Area number +

PSTN

The number format is the format of

the fixed-line phone number.

Country code + MSISDN

The number format is the format of

the mobile phone number.

For URI format, example,

[email protected]

NOTE

For E164 number, using international format.

For SPID, keep the original format.

Value range: numerals within 0-9, *, #

6 CalledPartyNumb Char[64] Indicates the called number. The number

Page 73: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

63

SN Field Name Field Type Description

er format are as follows:

Country code + Area number +

PSTN

The number format is the format of

the fixed-line phone number.

Country code + MSISDN

The number format is the format of

the mobile phone number.

For URI format, example,

[email protected]

NOTE

For E164 number, using international format.

For SPID, keep the original format.

Value range: numerals within 0-9, *, #

7 CallingPartyIMSI Char[64] Indicates the IMSI of calling party.

When the SCP transfers an IMSI, the

value of this field is the IMSI

transferred

When the SCP does not transfer an

IMSI, the value of this field is the

value of the corresponding field in the

attribute table of the charged

subscriber.

The value is Null when the relevant

value cannot be obtained.

Value range: numerals within 0-9, *, #

8 CalledPartyIMSI Char[64] Indicates the IMSI of called party.

When the SCP transfers an IMSI, the

value of this field is the IMSI

transferred

When the SCP does not transfer an

IMSI, the value of this field is the

value of the corresponding field in the

attribute table of the charged

subscriber.

The value is Null when the relevant

value cannot be obtained.

Value range: numerals within 0-9, *, #

9 DialedNumber Char[64] Indicates the original number that calling

dialed in calling process.

It is valid in MO process.

Value range: numerals within 0-9, *, #

10 OriginalCalledPar

ty

Char[64] Indicates the original called number in a

forwarding process.

Page 74: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

64

SN Field Name Field Type Description

Special number reroute. International

number form in call forwarding, actual

call number in special number reroute,

filling in original called number when

dialed through an international gateway

office.

Value range: numerals within 0-9, *, #

11 ServiceFlow Char[1] Indicates the call process indicator.

The options are as follows:

1: MO process

2: MT process

12 CallForwardIndic

ator

Char[1] Indicates the SMS forwarding flag.

In MT: A-B-C, In MT process of B, it

needs to know that whether B party

transfers the SMS to C. Usually, the MT

of B party is set free and all the cost will

be charged in MF of B party in this

situation.

In MF: this field is related to the

parameter of "redirect reason" in IDP.

0: No forwarding

1: SMS forwarding conditional

2: SMS forwarding unconditional

The default value is 0.

13 CallingRoamInfo Char[20] Indicates the information used to analyze

the roaming state of calling party.

It can be the location number, MSC

address, VLR number, and so on. The

actual value is related with the service

configuration.

Value range: numerals within 0-9, *, #

14 CallingCellID Char[20] Indicates the cell ID of the calling party,

which is directly filled in according to the

IDP report.

Value range: numerals within 0-9, *, #

15 CalledRoamInfo Char[20] Indicates the information used to analyze

the roaming state of called party.

It can be the location number, MSC

address, VLR number, and so on. The

actual value is related with the service

configuration.

Value range: numerals within 0-9, *, #

16 CalledCellID Char[20] Indicates the cell ID of the called party,

which is handled just as that for

Page 75: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

65

SN Field Name Field Type Description

CallingCellID.

Value range: numerals within 0-9, *, #

17 TimeStampOfSS

P

Char[14] Indicates the time stamp report from SSP

in IDP.

If missing in charging interface, this field

will be filled with the local time stamp of

OCS.

Format: YYYYMMDDhhmmss

18 TimeZoneOfSSP Integer[4] Indicates the time zone report from SSP

in IDP.

If missing in charging interface, this field

will be filled with the time zone of the

location of OCS, 15 min. per sector.

Value range: -48-48

NOTE

The value -48 is not included.

The default value is 0.

19 Reserved Char[32] -

20 call ID Char[32] Indicates the call ID of the subscriber.

The information is from PSA.

The default value is 0.

21 ChargingTime Char[14] Indicates the time stamp of the charging

beginning.

Format: YYYYMMDDhhmmss

Not null

22 package Char[32] Indicates the package of the subscriber.

The information is from PSA.

The default value is 0.

23 ChargeAmount Integer[8] Indicates the deduction amount that is

requested from an external network

element, such as MDSP.

The default value is 0.

NOTE

NE = Network element

24 SendResult Integer[4] Indicates the results of short message

sending:

0: Successfully

Other: The value is based on the value

transferred from the SCP.

Value range: -231

-231

-1

The default value is 0.

Page 76: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

66

SN Field Name Field Type Description

25 SMSID Char[20] Indicates the ID of a short message.

26 IMEI Char[24] Indicates the IE containing the IMEISV

of the ME in use by the served subscriber.

27 SMLength Integer[4] Indicates the length of short message.

The default value is 0.

28 Reserved Char[20] -

29 APN Char[32] Indicates the APN information. The

information is from PSA.

The default value is 0.

30 RefundIndicator Char[20] Indicates the deduction or refund request.

The options are as follows:

0: Deduct

1: Refund

31 BrandID Integer[4] Indicates the brand ID of subscribers.

Not null

The default value is 0.

32 SubCOSID Integer[4] Indicates the main product ID of

subscribers.

Not null

The default value is 0.

33 ChargingPartyNu

mber

Char[64] Indicates the telephone number of the

charging party.

The number is same as calling party

number in MO and called party number in

MT.

There are several special situations. Like

Child-Parent card feature, the calling

party number is the child, the charging

party number is the parent's number. This

field is null when the service is paid only

by account.

The number format are as follows:

Area number + PSTN

The number format is the format of

the fixed-line telephone number.

MSISDN

The number format is the format of

the mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

Page 77: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

67

SN Field Name Field Type Description

34 ChargePartyIndic

ator

Char[1] Indicates the charging party.

The options are as follows:

1: The calling party is charged

2: The called party is charged

3: Charge of third party

4: Charge of parent & child card

5: Charge of calling party & VPN

35 PayType Char[1] Indicates the pay type of subscribers.

The options are as follows:

0: Prepaid

1: Postpaid

36 BillCycleID Char[20] Indicates the bill cycle ID.

Format: YYYYMMTT

YYYY: indicates the year.

MM: indicates the month.

TT: indicates the type of a bill cycle.

Value range: numerals within 0-9

37 ChargingType Char[1] Indicates the charging type.

For MO/MF process:

0: V-H

1: H-H

2: V-V

3: H-V

For MT process:

0: For free

1: Roaming fee

Not null

38 OnNetINdicator Char[1] Indicates the short message types.

The options are as follows:

0: on-net

1: off-net

2: unknown (when network type

cannot be obtained in situations such

as international roaming)

39 RoamState Char[1] Indicates the roaming state of charging

party.

The options are as follows:

0: No roaming

1: Roaming within charging area

Page 78: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

68

SN Field Name Field Type Description

2: Roaming out of charging area

3: International Roaming

40 ResultCode Integer[4] Indicates the internal result code.

Value range: -231

-231

-1

The default value is 0.

41 Reserved Integer[4] -

42 CallingHomeCou

ntryCode Integer[4] Indicates the home country code

information of calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

43 CallingHomeAre

aNumber

Integer[4] Indicates the home area number of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

44 CallingHomeNet

workCode

Integer[4] Indicates the home network code of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

45 CallingRoamCou

ntryCode

Integer[4] Indicates the roam country code of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

46 CallingRoamArea

Number

Integer[4] Indicates the roam area number of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

47 CallingRoamNet

workCode

Integer[4] Indicates the roam network code of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

48 CalledHomeCoun

tryCode

Integer[4] Indicates the home country code of the

called party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

49 CalledHomeArea

Number

Integer[4] Indicates the home area number of the

called party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

50 CalledHomeNetw Integer[4] Indicates the home network code of the

Page 79: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

69

SN Field Name Field Type Description

orkCode called party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

51 CalledRoamCoun

tryCode Integer[4] Indicates the roam country code of the

called party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

52 CalledRoamArea

Number

Integer[4] Indicates the roam area number of the

called party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

53 CalledRoamNetw

orkCode

Integer[4] Indicates the roam network code of the

called party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

54 ProductID Char[20] Indicates the last effect rating product.

55 ServiceType Char[20] Indicates the service included in the

product. They are predefined in OCS.

The options are as follows:

1st digit: Normal tariff

2nd digit: Familiarity number service

3rd digit: Data service

4th digit: IP/international carrier call

5th digit: pre-IP call

6th digit: International Call Forward

7th digit: Call from Home Zone

8th digit: UCB service

9th digit: P_FPH service

10th digit: Remote Access

11th digit: Call from Special Zone

41st digit: VMS

42nd digit: MCN

Other: reserved

The value range of each digit indicates

whether the service is activated.

0: Not activated

1: Activated

56 SpecialNumberIn

dicator

Integer[4] Types of special numbers that send short

messages, which are used to identify

call-free numbers, for example, A2P or

Page 80: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

70

SN Field Name Field Type Description

P2A.

The options are as follows:

0: Normal SMS/P2P

1: Free SMS

2: BarringNumber

The default value is 0.

57 HomeZoneID Integer[4] Indicates the home zone ID.

When a subscriber enjoys the home zone

discount, the value of this field is the

home zone ID of the area where the

subscriber currently locates.

The default value is 0.

58 NPFlag Char[1] Indicates the flag of number portable.

The options are as follows:

0: Not NP

1: NP out

The default value is 0.

59 NPPrefix Char[6] Indicates the number portability prefix of

called party in the MO process or number

portability prefix of the calling party in

the MT process.

Value range: numerals within 0-9, *, #

60 CallingGroupNo Integer[4] Indicates the group number of the calling

party when enjoying CUG service. It is

the group number related to the rating.

For VPN, it is the nearest level groupNo.

The default value is 0.

61 CalledGroupNo Integer[4] Indicates the group number of the called

party when enjoying CUG or VPN

service. It is the group number related to

the rating.

The default value is 0.

62 UserState Char[10] Indicates the life cycle state and the

management state of a subscriber.

The UserState parameter is a numeric

string of seven digits, in the format

CCMMMMM.

The first and second digits C indicate the

life cycle state of a subscriber. The first

digit C indicates the state of a prepaid

subscriber, and the second digit C

indicates the state of a postpaid

subscriber. The options are as follows:

Page 81: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

71

SN Field Name Field Type Description

0: Idle

1: Active

2: Suspended

3: Disable

4: Pool

5: Pool without activation

The next five digits MMMMM indicate

the management state of a subscriber. The

options are as follows:

Third digit: Whether the subscriber

claims missing.

0: no

1: yes

Fourth digit: Whether the subscriber

suspends the service.

0: non-suspend

1: suspend

2: suspend by operator (B1W)

3: suspend by operator (B2W)

Fifth digit: Whether the subscriber applies

for suspension with the number being

reserved.

0: no

1: yes

Sixth digit: Whether the subscriber is

blocked.

0: no

1: yes

Seventh digit: Whether the subscriber is

blacklisted.

0: no

1: yes

63 SubscriberID Char[20] Indicates the subscriber ID.

Value range: characters in [0-9, a-z, A-Z]

64 OpposeNetworkT

ype

Integer[4] Indicates the network type of oppose side.

The options are as follows:

1: PSTN

2: Mobile

3: Native Unknown

4: International Unknown

Other: to be extended

Page 82: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

72

SN Field Name Field Type Description

The default value is 0.

65 SMSType Integer[4] Indicates the type of a short message call.

The options are as follows:

0: local

1: intra-charging area toll

2: inter-charging area toll

3: international toll

The default value is 0.

66 ChargeOfItemsA

ccounts

Integer[8] Indicates the free short message items

used.

Value range: -263

-263

-1

Not null

The default value is 0.

67 Reserved Char[20] -

68 ChargeOfFundAc

counts

Integer[8] Indicates the total cost amount charging

from fund account.

Value range: -263

-263

-1

Not null

The default value is 0.

69 ChargeFromPrep

aid

Integer[8] Indicates the charge amount from prepaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

70 PrepaidBalance Integer[8] Indicates the balance of prepaid account.

Not null

The default value is 0.

71 ChargeFromPostp

aid

Integer[8] Indicates the charge amount from

postpaid account.

Not null

The default value is 0.

72 PostPaidBalance Integer[8] Indicates the balance of postpaid

available limitation.

Value range: -263

-263

-1

Not null

The default value is 0.

73 AccountID Char[20] Indicates the ID of the main account.

Value range: characters in [0-9, a-z, A-Z]

Page 83: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

73

SN Field Name Field Type Description

74 AccountKey Integer[8] Indicates the key of the main account.

Value range: -263

-263

-1

Not null

The default value is 0.

75 CurrencyCode Integer[4] Currency code. Also, if this field missed

or present be Zero, it means the system

use local minimal currency as default, and

no need to specify in CDR.

The default value is 0.

76 Reserved Char[20] -

77 AccountType1 Integer[4] Indicates the account type of the first

account.

0 means not used.

Not null

The default value is 0.

78 FeeType1 Integer[4] Indicates the fee type of the first account.

0 means not used.

Not null

The default value is 0.

79 ChargeAmount1 Integer[8] Indicates the changing amount of the first

account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

80 CurrentAcctAmo

unt1

Integer[8] Indicates the current amount of the first

account.

Value range: -263

-263

-1

Not null

The default value is 0.

81 AccountType2 Integer[4] Indicates the account type of the second

account.

0 means not used.

Not null

The default value is 0.

82 FeeType2 Integer[4] Indicates the fee type of the second

account.

0 means not used.

Not null

Page 84: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

74

SN Field Name Field Type Description

The default value is 0.

83 ChargeAmount2 Integer[8] Indicates the changing amount of the

second account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

84 CurrentAcctAmo

unt2

Integer[8] Indicates the current amount of the

second account.

Value range: -263

-263

-1

Not null

The default value is 0.

85 AccountType3 Integer[4] Indicates the account type of the third

account.

0 means not used.

Not null

The default value is 0.

86 FeeType3 Integer[4] Indicates the fee type of the third account.

0 means not used.

Not null

The default value is 0.

87 ChargeAmount3 Integer[8] Indicates the changing amount of the

third account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

88 CurrentAcctAmo

unt3

Integer[8] Indicates the current amount of the third

account.

Value range: -263

-263

-1

Not null

The default value is 0.

89 AccountType4 Integer[4] Indicates the account type of the fourth

account.

0 means not used.

Not null

The default value is 0.

90 FeeType4 Integer[4] Indicates the fee type of the fourth

account.

Page 85: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

75

SN Field Name Field Type Description

0 means not used.

Not null

The default value is 0.

91 ChargeAmount4 Integer[8] Indicates the changing amount of the

fourth account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

92 CurrentAcctAmo

unt4

Integer[8] Indicates the current amount of the fourth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

93 AccountType5 Integer[4] Indicates the account type of the fifth

account.

0 means not used.

Not null

The default value is 0.

94 FeeType5 Integer[4] Indicates the fee type of the fifth account.

0 means not used.

Not null

The default value is 0.

95 ChargeAmount5 Integer[8] Indicates the changing amount of the fifth

account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

96 CurrentAcctAmo

unt5

Integer[8] Indicates the current amount of the fifth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

97 AccountType6 Integer[4] Indicates the account type of the sixth

account.

0 means not used.

Not null

The default value is 0.

Page 86: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

76

SN Field Name Field Type Description

98 FeeType6 Integer[4] Indicates the fee type of the sixth account.

0 means not used.

Not null

The default value is 0.

99 ChargeAmount6 Integer[8] Indicates the changing amount of the

sixth account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

100 CurrentAcctAmo

unt6

Integer[8] Indicates the current amount of the sixth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

101 AccountType7 Integer[4] Indicates the account type of the seventh

account.

0 means not used.

Not null

The default value is 0.

102 FeeType7 Integer[4] Indicates the fee type of the seventh

account.

0 means not used.

Not null

The default value is 0.

103 ChargeAmount7 Integer[8] Indicates the changing amount of the

seventh account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

104 CurrentAcctAmo

unt7

Integer[8] Indicates the current amount of the

seventh account.

Value range: -263

-263

-1

Not null

The default value is 0.

105 AccountType8 Integer[4] Indicates the account type of the eighth

account.

0 means not used.

Page 87: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

77

SN Field Name Field Type Description

Not null

The default value is 0.

106 FeeType8 Integer[4] Indicates the fee type of the eighth

account.

0 means not used.

Not null

The default value is 0.

107 ChargeAmount8 Integer[8] Indicates the changing amount of the

eighth account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

108 CurrentAcctAmo

unt8 Integer[8] Indicates the current amount of the eighth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

109 AccountType9 Integer[4] Indicates the account type of the ninth

account.

0 means not used.

Not null

110 FeeType9 Integer[4] Indicates the fee type of the ninth

account.

0 means not used.

Not null

The default value is 0.

111 ChargeAmount9 Integer[8] Indicates the changing amount of the

ninth account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

112 CurrentAcctAmo

unt9

Integer[8] Indicates the current amount of the ninth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

113 AccountType10 Integer[4] Indicates the account type of the tenth

account.

Page 88: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

78

SN Field Name Field Type Description

0 means not used.

Not null

The default value is 0.

114 FeeType10 Integer[4] Indicates the fee type of the tenth

account.

0 means not used.

Not null

The default value is 0.

115 ChargeAmount10 Integer[8] Indicates the changing amount of the

tenth account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

116 CurrentAcctAmo

unt10

Integer[8] Indicates the current amount of the tenth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

117 BonusValidity1 Char[14] Indicates the validity period of the first

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

118 BonusValidity2 Char[14] Indicates the validity period of the second

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

119 BonusValidity3 Char[14] Indicates the validity period of the third

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

120 BonusValidity4 Char[14] Indicates the validity period of the fourth

rewarded resource. The validity period

does not change when fees are deducted

Page 89: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

79

SN Field Name Field Type Description

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

121 BonusValidity5 Char[14] Indicates the validity period of the fifth

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

122 BonusValidity6 Char[14] Indicates the validity period of the sixth

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

123 BonusValidity7 Char[14] Indicates the validity period of the

seventh rewarded resource. The validity

period does not change when fees are

deducted from accounts. In this case, the

validity periods of consumption resources

are not recorded.

Format: YYYYMMDDhhmmss

124 BonusValidity8 Char[14] Indicates the validity period of the eighth

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

125 BonusValidity9 Char[14] Indicates the validity period of the ninth

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

126 BonusValidity10 Char[14] Indicates the validity period of the tenth

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

Page 90: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

80

SN Field Name Field Type Description

127 Reserved Char[15] -

128 Reserved Char[10] -

129 Reserved Char[10] -

130 Reserved Char[15] -

131 Reserved Char[10] -

132 Reserved Char[10] -

133 Reserved Char[10] -

134 Reserved Char[10] -

135 Reserved Char[10] -

136 Reserved Char[10] -

137 Reserved Integer[4] -

138 session id Char[20] Indicates the ID of a sequence.

The default value is 0.

139 Service Name Char[32] Indicates the service name. The

information is from PSA.

The default value is 0.

140 Consumed

Resources

Integer[4] Indicates the Date service tariff. The

information is from PSA.

The default value is 0.

NOTE

In the deduction processes, this parameter

records amount.

In the refunding processes, this parameter

records used amount.

141 Original Amount Integer[4] Indicates the original amount through

RTBP interface.

The default value is 0.

142 AddtionalInfo Char[256] Indicates the additional information about

the service.

Some additional information about the

service is recorded. In most cases, the

information is only useful for the

specified carrier.

143 Reserved Char[20] -

144 StartTimeOfBillC

ycle

Char[14] Indicates the start time of bill cycle.

The default value is 0.

145 SecondChargingP Char[64] Indicates the number of the other

charging party. In the example, the value

Page 91: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

81

SN Field Name Field Type Description

artyNumber of the field is the number of subscriber C.

This field is null when the service is paid

only by account. There are several special

situations. Like Child-Parent card feature,

the calling party number is the child, the

charging party number is the parent's

number.

The number format is as follows:

Area number + PSTN

The number format is the format of

the fixed-line telephone number.

MSISDN

The number format is the format of

the mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

146 SecondChargingP

artyPayType

Char[1] Indicates the payment type of the other

charging party. For example, the payment

type of the parent card.

The options are as follows:

0: Prepaid

1: Postpaid

NOTE

If the value of the field is null, the system

records the payment type of the parent card

subscriber.

147 SecondChargingP

artyBillCycleID

Char[20] Indicates the bill cycle ID of the other

charging party. For example, the bill

cycle ID of the parent card.

Format: YYYYMMTT

The description of the format is as

follows:

YYYY: indicates the year.

MM: indicates the month.

TT: indicates the type of a bill cycle.

148 ChargeOfItemsSe

condAccounts

Integer[8] Indicates the free call times used from

others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

149 ChargeOfDuratio

nSecondAccounts

Integer[8] Indicates the total call time charge using

reward resource from others, such as the

parent card.

Page 92: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

82

SN Field Name Field Type Description

Value range: -263

-263

-1

Not null

The default value is 0.

150 ChargeOfFundSe

condAccounts Integer[8] Indicates the total cost amount charging

from fund account of others, such as the

parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

151 ChargeFromSeco

ndPrepaidAccoun

t

Integer[8] Indicates the charge amount from other

prepaid account, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

152 SecondPrepaidAc

countBalance

Integer[8] Indicates the balance of other prepaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

153 ChargeFromSeco

ndPostpaidAccou

nt

Integer[8] Indicates the charge amount from other

postpaid account, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

154 SecondPostpaidA

ccountBalance

Integer[8] Indicates the balance of other postpaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

155 SecondAccountI

D

Char[20] Indicates the main account ID of the other

charging party that the system deducts

fees from.

Value range: characters in [0-9, a-z, A-Z]

156 SecondAccountK

ey

Integer[8] Indicates the main account key of the

other charging party that the system

deducts fees from.

Value range: -263

-263

-1

Not null

The default value is 0.

157 SecondAccountC Integer[4] Currency code of others, such as the

Page 93: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

83

SN Field Name Field Type Description

urrencyCode parent card. Also, if this field missed or

present be Zero, it means the system use

local minimal currency as default, and no

need to specify in CDR.

The default value is 0.

158 Reserved Char[20] -

159 SecondAccountT

ype1

Integer[4] Indicates the account type of the first

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

160 SecondFeeType1 Integer[4] Indicates the fee type of the first account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

161 SecondChargeA

mount1

Integer[8] Indicates the changing amount of the first

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

162 SecondCurrentAc

ctAmount1

Integer[8] Indicates the current amount of the first

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

163 SecondAccountT

ype2

Integer[4] Indicates the account type of the second

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

164 SecondFeeType2 Integer[4] Indicates the fee type of the second

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

165 SecondChargeA

mount2

Integer[8] Indicates the changing amount of the

second account of others, such as the

parent card.

Page 94: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

84

SN Field Name Field Type Description

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

166 SecondCurrentAc

ctAmount2

Integer[8] Indicates the current amount of the

second account of others, such as the

parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

167 SecondAccountT

ype3

Integer[4] Indicates the account type of the third

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

168 SecondFeeType3 Integer[4] Indicates the fee type of the third account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

169 SecondChargeA

mount3

Integer[8] Indicates the changing amount of the

third account of others, such as the parent

card.

0 means unchanged.

Value range: -263

-263

-1

Not null

170 SecondCurrentAc

ctAmount3

Integer[8] Indicates the current amount of the third

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

171 SecondAccountT

ype4

Integer[4] Indicates the account type of the fourth

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

172 SecondFeeType4 Integer[4] Indicates the fee type of the fourth

account of others, such as the parent card.

0 means not used.

Not null

Page 95: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

85

SN Field Name Field Type Description

The default value is 0.

173 SecondChargeA

mount4

Integer[8] Indicates the changing amount of the

fourth account of others, such as the

parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

174 SecondCurrentAc

ctAmount4

Integer[8] Indicates the current amount of the fourth

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

175 SecondAccountT

ype5

Integer[4] Indicates the account type of the fifth

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

176 SecondFeeType5 Integer[4] Indicates the fee type of the fifth account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

177 SecondChargeA

mount5

Integer[8] Indicates the changing amount of the fifth

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

178 SecondCurrentAc

ctAmount5

Integer[8] Indicates the current amount of the fifth

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

179 SecondBonusVali

dity1

Char[14] Indicates the validity period of the first

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods

of consumption resources are not

recorded.

Page 96: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

86

SN Field Name Field Type Description

Format: YYYYMMDDhhmmss

180 SecondBonusVali

dity2

Char[14] Indicates the validity period of the second

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods

of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

181 SecondBonusVali

dity3

Char[14] Indicates the validity period of the third

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods

of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

182 SecondBonusVali

dity4

Char[14] Indicates the validity period of the fourth

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods

of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

183 SecondBonusVali

dity5

Char[14] Indicates the validity period of the fifth

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods

of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

184 Reserved Integer[4] -

185 Reserved Integer[4] -

186 OppositePartyNu

mber

Char[64] Indicates the number of the opposite

party.

In calling process, the number is the

number of the called party.

In called process, the number is the

number of the calling party.

The number format is as follows:

Area number + PSTN

The number format is the format of

the fixed-line telephone number.

Page 97: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

87

SN Field Name Field Type Description

MSISDN

The number format is the format of

the mobile phone number.

For URI format, example,

[email protected]

If it is a international number, the number

format are as follows:

Country code + MSISDN

Country code + Area number + PSTN

Value range: numerals within 0-9, *, #

Not null

187 Reserved Integer[4] -

188 Reserved Char[25] -

189 DiameterSessionI

D

Char[128] Indicates a diameter session ID.

The format is as follows:

<DiameterIdentity>;<high 32 bits>;<low

32 bits>[;<optional value>]

<DiameterIdentity>: the same as the

field in the Origin-Host AVP.

<high 32 bits>: indicates the current

time of the system.

<low 32 bits>: indicates the cycle

count-up. The initial value is 0. When

you restart the system, set the value to

0.

<optional value>: indicates

implementation specific but may

include a modem is device Id, a layer

2 address, timestamp, etc.

Separate the preceding fields with the

character ";".

For example:

SCP001.huawei.com;1876543210;523

190 Reserved Integer[4] -

191 Reserved Integer[4] -

192 DiscountOfLastE

ffProduct

Integer[4] Indicates the discount percentage for the

last rated product that takes effect. For a

product that does not provide discounts,

the value is 100.

Value range: 0-100

NOTE

The value 0 is not included.

Not null

Page 98: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

88

SN Field Name Field Type Description

The default value is 100.

193 subscriberkey Integer[4] Indicates the key of a subscriber.

The default value is 0.

194 accumulationchan

ge

Char[256] Indicates the change value of an

accumulative item.

The value format is as follows:

Accumulation ID 1, accumulation switch

time 1, change value 1; accumulation ID

2, accumulation switch time 2, change

value 2...

The value contains only numerals. The

account ID and balance change is

separated by a comma (,), and

information of different accounts is

separated by a semicolon (;). The

information about up to 10 accounts can

be included. The excess account

information will be discarded.

195 UsageServiceTyp

e

Integer[4] Indicates the type of a real-time service.

The default value is 1300.

196 SourceSerialNo Integer[8] For the CDRs that are generated not for

re-rating, the default value of this field is

0. For the CDRs that are generated for

re-rating, the value of this field is the

corresponding value in the original CDRs

for re-rating. If the re-rating is performed

multiple times, the value of this field

remains unchanged.

Not null

The default value is 0.

197 SourceSubSequen

ce

Integer[4] Indicates the sequence number when the

bill is split. For example, special

requirement of splitting on mid-night and

end of the bill cycle.

For the CDRs that are generated not for

re-rating, the default value of this field is

0. For the CDRs that are generated for

re-rating, the value of this field is the

corresponding value in the original CDRs

for re-rating. If the re-rating is performed

multiple times, the value of this field

remains unchanged.

The default value is 0.

198 AcctBalChgList Char[768] Indicates the change value of balance

change.

Page 99: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

89

SN Field Name Field Type Description

The value format is as follows:

lAcctBalanceID, iProductKey, iFeeID,

iAmount0, iAmount1, iAcctBalanceType,

MeasureID, billCycleID;

The value contains only numerals. The

fields in each group are separated by

commas (,), and groups are separated by

semicolons (;). Up to 10 groups can be

included. The contents exceeding 10

groups will be discarded.

199 OriginCdrFilena

me

Char[64] Indicates the name of a rated CDR.

The default value is 0.

200 CurCDRLineNo Integer[4] Indicates the number of the line where the

original CDR is located.

The default value is 0.

201 Reserved Integer[4] -

202 Reserved Integer[8] -

203 Reserved Integer[8] -

204 Reserved Integer[8] -

205 Reserved Integer[8] -

206 SecondSubscriber

Key

Integer[4] Indicates the key value of a

entrusted-payment subscriber.

The default value is 0.

207 SecondProductID Integer[4] Reserved

208 OpposeTenantID Integer[4] Reserved

209 accounttype1 Integer[4] Indicates the account type of the first fund

account.

The default value is 0.

210 BalanceBeforeCh

arge1

Integer[8] Indicates the balance of the first account

before the system deducts the fee from.

The default value is 0.

211 BalanceAfterChar

ge1

Integer[8] Indicates the balance of the first account

after the system deducts the fee from.

The default value is 0.

212 ChargeFee1 Integer[8] Indicates the cost amount charging from

the first account.

The default value is 0.

213 accounttype2 Integer[4] Indicates the account type of the second

fund account.

Page 100: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

90

SN Field Name Field Type Description

The default value is 0.

214 BalanceBeforeCh

arge2

Integer[8] Indicates the balance of the second

account before the system deducts the fee

from.

The default value is 0.

215 BalanceAfterChar

ge2

Integer[8] Indicates the balance of the second

account after the system deducts the fee

from.

The default value is 0.

216 ChargeFee2 Integer[8] Indicates the cost amount charging from

the second account.

The default value is 0.

217 accounttype3 Integer[4] Indicates the account type of the third

fund account.

The default value is 0.

218 BalanceBeforeCh

arge3

Integer[8] Indicates the balance of the third account

before the system deducts the fee from.

The default value is 0.

219 BalanceAfterChar

ge3

Integer[8] Indicates the balance of the third account

after the system deducts the fee from.

The default value is 0.

220 ChargeFee3 Integer[8] Indicates the cost amount charging from

the third account.

The default value is 0.

221 accounttype4 Integer[4] Indicates the account type of the forth

fund account.

The default value is 0.

222 BalanceBeforeCh

arge4

Integer[8] Indicates the balance of the forth account

before the system deducts the fee from.

The default value is 0.

223 BalanceAfterChar

ge4

Integer[8] Indicates the balance of the forth account

after the system deducts the fee from.

The default value is 0.

224 ChargeFee4 Integer[8] Indicates the cost amount charging from

the forth account.

The default value is 0.

225 accounttype5 Integer[4] Indicates the account type of the fifth

account.

The default value is 0.

226 BalanceBeforeCh Integer[8] Indicates the balance of the fifth account

Page 101: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

91

SN Field Name Field Type Description

arge5 before the system deducts the fee from.

The default value is 0.

227 BalanceAfterChar

ge5

Integer[8] Indicates the balance of the fifth account

after the system deducts the fee from.

The default value is 0.

228 ChargeFee5 Integer[8] Indicates the cost amount charging from

the fifth account.

The default value is 0.

229 accounttype6 Integer[4] Indicates the account type of the sixth

account.

The default value is 0.

230 BalanceBeforeCh

arge6

Integer[8] Indicates the balance of the sixth account

before the system deducts the fee from.

The default value is 0.

231 BalanceAfterChar

ge6

Integer[8] Indicates the balance of the sixth account

after the system deducts the fee from.

The default value is 0.

232 ChargeFee6 Integer[8] Indicates the cost amount charging from

the sixth account.

The default value is 0.

233 accounttype7 Integer[4] Indicates the account type of the seventh

fund account.

The default value is 0.

234 BalanceBeforeCh

arge7

Integer[8] Indicates the balance of the seventh

account before the system deducts the fee

from.

The default value is 0.

235 BalanceAfterChar

ge7

Integer[8] Indicates the balance of the seventh

account after the system deducts the fee

from.

The default value is 0.

236 ChargeFee7 Integer[8] Indicates the cost amount charging from

the seventh account.

The default value is 0.

237 accounttype8 Integer[4] Indicates the account type of the eighth

fund account.

The default value is 0.

238 BalanceBeforeCh

arge8

Integer[8] Indicates the balance of the eighth

account before the system deducts the fee

from.

Page 102: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

92

SN Field Name Field Type Description

The default value is 0.

239 BalanceAfterChar

ge8

Integer[8] Indicates the balance of the eighth

account after the system deducts the fee

from.

The default value is 0.

240 ChargeFee8 Integer[8] Indicates the cost amount charging from

the eighth account.

The default value is 0.

241 accounttype9 Integer[4] Indicates the account type of the ninth

fund account.

The default value is 0.

242 BalanceBeforeCh

arge9 Integer[8] Indicates the balance of the ninth account

before the system deducts the fee from.

The default value is 0.

243 BalanceAfterChar

ge9

Integer[8] Indicates the balance of the ninth account

after the system deducts the fee from.

The default value is 0.

244 ChargeFee9 Integer[8] Indicates the cost amount charging from

the ninth account.

The default value is 0.

245 accounttype10 Integer[4] Indicates the account type of the tenth

fund account.

The default value is 0.

246 BalanceBeforeCh

arge10

Integer[8] Indicates the balance of the tenth account

before the system deducts the fee from.

The default value is 0.

247 BalanceAfterChar

ge10

Integer[8] Indicates the balance of the tenth account

after the system deducts the fee from.

The default value is 0.

248 ChargeFee10 Integer[8] Indicates the cost amount charging from

the tenth account.

The default value is 0.

249 accounttype11 Integer[4] Indicates the account type of the eleventh

fund account.

The default value is 0.

250 BalanceBeforeCh

arge11

Integer[8] Indicates the balance of the eleventh

account before the system deducts the fee

from.

The default value is 0.

251 BalanceAfterChar Integer[8] Indicates the balance of the eleventh

Page 103: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

93

SN Field Name Field Type Description

ge11 account after the system deducts the fee

from.

The default value is 0.

252 ChargeFee11 Integer[8] Indicates the cost amount charging from

the eleventh account.

The default value is 0.

253 accounttype12 Integer[4] Indicates the account type of the twelfth

fund account.

The default value is 0.

254 BalanceBeforeCh

arge12

Integer[8] Indicates the balance of the twelfth

account before the system deducts the fee

from.

The default value is 0.

255 BalanceAfterChar

ge12

Integer[8] Indicates the balance of the twelfth

account after the system deducts the fee

from.

The default value is 0.

256 ChargeFee12 Integer[8] Indicates the cost amount charging from

the twelfth account.

The default value is 0.

257 accounttype13 Integer[4] Indicates the account type of the

thirteenth fund account.

The default value is 0.

258 BalanceBeforeCh

arge13

Integer[8] Indicates the balance of the thirteenth

account before the system deducts the fee

from.

The default value is 0.

259 BalanceAfterChar

ge13

Integer[8] Indicates the balance of the thirteenth

account after the system deducts the fee

from.

The default value is 0.

260 ChargeFee13 Integer[8] Indicates the cost amount charging from

the thirteenth account.

The default value is 0.

261 accounttype14 Integer[4] Indicates the account type of the

fourteenth fund account.

The default value is 0.

262 BalanceBeforeCh

arge14

Integer[8] Indicates the balance of the fourteenth

account before the system deducts the fee

from.

The default value is 0.

Page 104: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

94

SN Field Name Field Type Description

263 BalanceAfterChar

ge14

Integer[8] Indicates the balance of the fourteenth

account after the system deducts the fee

from.

The default value is 0.

264 ChargeFee14 Integer[8] Indicates the cost amount charging from

the fourteenth account.

The default value is 0.

265 accounttype15 Integer[4] Indicates the account type of the fifteenth

fund account.

The default value is 0.

266 BalanceBeforeCh

arge15

Integer[8] Indicates the balance of the fifteenth

account before the system deducts the fee

from.

The default value is 0.

267 BalanceAfterChar

ge15

Integer[8] Indicates the balance of the fifteenth

account after the system deducts the fee

from.

The default value is 0.

268 ChargeFee15 Integer[8] Indicates the cost amount charging from

the fifteenth account.

The default value is 0.

269 accounttype16 Integer[4] Indicates the account type of the sixteenth

fund account.

The default value is 0.

270 BalanceBeforeCh

arge16

Integer[8] Indicates the balance of the sixteenth

account before the system deducts the fee

from.

271 BalanceAfterChar

ge16

Integer[8] Indicates the balance of the sixteenth

account after the system deducts the fee

from.

The default value is 0.

272 ChargeFee16 Integer[8] Indicates the cost amount charging from

the sixteenth account.

The default value is 0.

273 accounttype17 Integer[4] Indicates the account type of the

seventeenth fund account.

The default value is 0.

274 BalanceBeforeCh

arge17

Integer[8] Indicates the balance of the seventeenth

account before the system deducts the fee

from.

The default value is 0.

Page 105: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

95

SN Field Name Field Type Description

275 BalanceAfterChar

ge17

Integer[8] Indicates the balance of the seventeenth

account after the system deducts the fee

from.

The default value is 0.

276 ChargeFee17 Integer[8] Indicates the cost amount charging from

the seventeenth account.

The default value is 0.

277 accounttype18 Integer[4] Indicates the account type of the

eighteenth fund account.

The default value is 0.

278 BalanceBeforeCh

arge18

Integer[8] Indicates the balance of the eighteenth

account before the system deducts the fee

from.

The default value is 0.

279 BalanceAfterChar

ge18

Integer[8] Indicates the balance of the eighteenth

account after the system deducts the fee

from.

The default value is 0.

280 ChargeFee18 Integer[8] Indicates the cost amount charging from

the eighteenth account.

The default value is 0.

281 accounttype19 Integer[4] Indicates the account type of the

nineteenth fund account.

The default value is 0.

282 BalanceBeforeCh

arge19

Integer[8] Indicates the balance of the nineteenth

account before the system deducts the fee

from.

The default value is 0.

283 BalanceAfterChar

ge19

Integer[8] Indicates the balance of the nineteenth

account after the system deducts the fee

from.

The default value is 0.

284 ChargeFee19 Integer[8] Indicates the cost amount charging from

the nineteenth account.

The default value is 0.

285 accounttype20 Integer[4] Indicates the account type of the

twentieth fund account.

The default value is 0.

286 BalanceBeforeCh

arge20

Integer[8] Indicates the balance of the twentieth

account before the system deducts the fee

from.

Page 106: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

96

SN Field Name Field Type Description

287 BalanceAfterChar

ge20

Integer[8] Indicates the balance of the twentieth

account after the system deducts the fee

from.

The default value is 0.

288 ChargeFee20 Integer[8] Indicates the cost amount charging from

the twentieth account.

The default value is 0.

3.1.4 mms CDR

Description

The mms CDRs are the CDRs for the MMS. The CDRs record the following information in

MMS charging requests: the service scenario information reported by external NEs and the

information generated by the charging modules, such as rating and fee deduction information.

Generation Scenario

When OCS subscriber A sends a multimedia message to subscriber B, and the system

successfully deducts the fee from the account of subscriber A, an mms CDR is generated.

For the description of child-parent cards, see section 3.1.2 rec CDR .

CDR File Name Format

mmsYYYYMMDD_CBPNODE_Seqno.unl

Example of an mms CDR file name: mms20071012_101_000151.unl

Format

Table 3-5 describes each field of mms CDR file.

Table 3-5 Format of mms CDR

SN Field Name Field Type Description

1 SerialNo Integer[8] Indicates the serial number.

It is generated by the system and the serial

number is exclusive.

Not null

The default value is 0.

2 SubSequence Integer[4] Indicates the sequence number when the bill

is split for mid-night and end of the bill

cycle.

The default value is 0.

Page 107: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

97

SN Field Name Field Type Description

3 TimeStamp Char[14] Indicates the time stamp of the bill item

generation.

Format: YYYYMMDDhhmmss

Not null

4 ServiceKey Integer[4] Indicates the service key of the intelligent

service to which the subscriber subscribes.

The default value is 1.

5 CallingPartyNumb

er

Char[64] Indicates the calling number. The number

format are as follows:

Country code + Area number + PSTN

The number format is the format of the

fixed-line phone number.

Country code + MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

6 CalledPartyNumbe

r

Char[64] Indicates the called number. The number

format are as follows:

Country code + Area number + PSTN

The number format is the format of the

fixed-line phone number.

Country code + MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

7 CallingPartyIMSI Char[64] Indicates the IMSI of calling party.

When the SCP transfers an IMSI, the

value of this field is the IMSI transferred

When the SCP does not transfer an IMSI,

the value of this field is the value of the

corresponding field in the attribute table

of the charged subscriber.

The value is Null when the relevant value

cannot be obtained.

Value range: numerals within 0-9, *, #

8 CalledPartyIMSI Char[64] Indicates the IMSI of called party.

When the SCP transfers an IMSI, the

value of this field is the IMSI transferred

Page 108: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

98

SN Field Name Field Type Description

When the SCP does not transfer an IMSI,

the value of this field is the value of the

corresponding field in the attribute table

of the charged subscriber.

The value is Null when the relevant value

cannot be obtained.

Value range: numerals within 0-9, *, #

9 DialedNumber Char[64] Indicates the original number that the MMS

is sent to.

It is valid in MO flow.

Value range: numerals within 0-9, *, #

10 OriginalCalledPart

y

Char[64] Indicates the original Receiver number in a

MMS forwarding flow.

Special number reroute. International number

form in MMS forwarding, actual call number

in special number reroute, filling in original

called number when dialed through an

international gateway office.

It is valid in MF flow.

Value range: numerals within 0-9, *, #

11 ServiceFlow Char[1] Indicates the call process indicator.

The options are as follows:

1: MO process

2: MT process

3: MF process (reserved)

4: Read Reply

5: Delivery Report

6: Replied Report

12 CallForwardIndicat

or

Char[1] Indicates the MMS forwarding flag.

In MT: A-B-C, In MT process of B, it

needs to know that whether B party

transfers the MMS to C. Usually the MT

of B party is set free and all the cost will

be charged in MF of B party in this

situation.

In MF: This field should be defined in the

interface between MMSC and SCP.

The forwarding options are as follows:

0: No forwarding

1: MMS forwarding conditional

2: MMS forwarding unconditional

13 CallingRoamInfo Char[20] Indicates the information used to analyze the

roaming state of calling party.

Page 109: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

99

SN Field Name Field Type Description

It can be the location number, MSC address,

VLR number, and so on. The actual value is

related with the service configuration.

14 CallingCellID Char[20] Indicates the cell ID of the calling party,

which is directly filled in according to the

IDP report.

Value range: numerals within 0-9, *, #

15 CalledRoamInfo Char[20] Indicates the information used to analyze the

roaming state of called party.

It can be the location number, MSC address,

VLR number, and so on. The actual value is

related with the service configuration.

Value range: numerals within 0-9, *, #

The wildcard value is -1.

16 CalledCellID Char[20] Indicates the cell ID of the called party,

which is handled just as that for

CallingCellID.

Value range: numerals within 0-9, *, #

17 TimeStampOfSSP Char[14] Indicates the time stamp report from SSP in

IDP.

If missing in charging interface, this field

will be filled with the local time stamp of

OCS.

Format: YYYYMMDDhhmmss

18 TimeZoneOfSSP Integer[4] Indicates the time zone report from SSP in

IDP.

If missing in charging interface, this field

will be filled with the time zone of the

location of OCS, 15 min. per sector.

Value range: -48-48

NOTE

The value -48 is not included.

The default value is 0.

19 Reserved Char[32] -

20 Reserved Char[32] -

21 ChargingTime Char[14] Indicates the time stamp of the charging

beginning.

Format: YYYYMMDDhhmmss

22 Reserved Integer[4] -

23 ChargeAmount Integer[8] Indicates the charge amount from exterior.

The default value is 0.

Page 110: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

100

SN Field Name Field Type Description

24 SendResult Integer[4] Results of short message sending:

0: Successfully

Other: The value is based on the value

transferred from the SCP.

Value range: -231

-231

-1

The default value is 0.

25 MMSID Char[24] Indicates the ID of an MMS.

The ID of each MMS is unique.

26 IMEI Char[24] Indicates the IE containing the IMEISV of

the ME in use by the served subscriber.

27 MMSLength Integer[4] Indicates the length of MMS.

The default value is 0.

28 call ID Char[32] Indicates the call ID of the subscriber. The

information is from PSA.

29 DiameterSessionID Char[128] Indicates a diameter session ID.

The format is as follows:

<DiameterIdentity>;<high 32 bits>;<low 32

bits>[;<optional value>]

<DiameterIdentity>: the same as the field

in the Origin-Host AVP.

<high 32 bits>: indicates the current time

of the system.

<low 32 bits>: indicates the cycle

count-up. The initial value is 0. When

you restart the system, set the value to 0.

<optional value>: indicates

implementation specific but may include

a modem is device Id, a layer 2 address,

timestamp, etc.

Separate the preceding fields with the

character ";".

For example:

SCP001.huawei.com;1876543210;523

30 RefundIndicator Char[20] Indicates the deduction or refund request.

The options are as follows:

0: Deduct

1: Refund

31 BrandID Integer[4] Indicates the brand ID of subscribers.

The default value is 0.

32 SubCOSID Integer[4] Indicates the main product ID of subscribers.

Page 111: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

101

SN Field Name Field Type Description

The default value is 0.

33 ChargingPartyNum

ber

Char[64] Indicates the telephone number of the

charging party.

The number is same as calling party number

in MO and called party number in MT.

There are several special situations. Like

Child-Parent card feature, the calling party

number is the child, the charging party

number is the parent's number. This field is

null when the service is paid only by

account.

The number format are as follows:

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

34 ChargePartyIndicat

or

Char[1] Indicates the charging party.

The options are as follows:

1: The calling party is charged

2: The called party is charged

3: Charge of third party

4: Charge of parent & child card

5: Charge of calling party & VPN

35 PayType Char[1] Indicates the pay type of subscribers.

The options are as follows:

0: Prepaid

1: Postpaid

36 BillCycleID Char[20] Indicates the bill cycle ID.

Format: YYYYMMTT

YYYY: indicates the year.

MM: indicates the month.

TT: indicates the type of a bill cycle.

Value range: numerals within 0-9

37 ChargingType Char[1] Indicates the charging type.

For MO/MF process:

0: V-H

Page 112: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

102

SN Field Name Field Type Description

1: H-H

2: V-V

3: H-V

For MT process:

0: For free

1: Roaming fee

38 OnNetIndicator Char[1] Indicates the MM types.

The options are as follows:

0: on-net

1: off-net

2: International

39 RoamState Char[1] Indicates the roaming state of charging party.

The options are as follows:

0: No roaming

1: Roaming within charging area

2: Roaming out of charging area

3: International Roaming

40 ResultCode Integer[4] Indicates the internal result code.

Value range: -231

-231

-1

The default value is 0.

41 Reserved Integer[4] -

42 CallingHomeCount

ryCode

Integer[4] Indicates the home country code information

of calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

43 CallingHomeArea

Number

Integer[4] Indicates the home area number of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

44 CallingHomeNetw

orkCode

Integer[4] Indicates the home network code of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

45 CallingRoamCount

ryCode

Integer[4] Indicates the roam country code of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

46 CallingRoamArea Integer[4] Indicates the roam area number of the calling

Page 113: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

103

SN Field Name Field Type Description

Number party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

47 CallingRoamNetw

orkCode Integer[4] Indicates the roam network code of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

48 CalledHomeCountr

yCode

Integer[4] Indicates the home country code of the called

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

49 CalledHomeAreaN

umber

Integer[4] Indicates the home area number of the called

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

50 CalledHomeNetwo

rkCode

Integer[4] Indicates the home network code of the

called party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

51 CalledRoamCountr

yCode

Integer[4] Indicates the roam country code of the called

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

52 CalledRoamAreaN

umber

Integer[4] Indicates the roam area number of the called

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

53 CalledRoamNetwo

rkCode

Integer[4] Indicates the roam network code of the called

party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

54 ProductID Char[20] Indicates the last effect rating product.

55 ServiceType Char[20] Indicates the service included in the product.

They are predefined in OCS.

The options are as follows:

1st digit: Normal Voice tariff

2nd digit: Familiarity number service

3rd digit: Data service

4th digit: IP/international carrier call

Page 114: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

104

SN Field Name Field Type Description

5th digit: pre-IP call

6th digit: International Call Forward

7th digit: Call from Home Zone

8th digit: UCB service

9th digit: P_FPH service

10th digit: Remote Access

11th digit: Call from Special Zone

41st digit: VMS

42nd digit: MCN

Other: reserved

The value range of each digit indicates

whether the service is activated.

0: Not activated

1: Activated

Not null

56 SpecialNumberIndi

cator

Integer[4] Types of special numbers that send short

messages, which are used to identify call-free

numbers, for example, A2P or P2A.

The options are as follows:

0: Normal MMS/P2P

1: BarringMMS

2: Free MMS

3: CommonMMSHotLineNumber

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

57 HomeZoneID Integer[4] Indicates the home zone ID.

When a subscriber enjoys the home zone

discount, the value of this field is the home

zone ID of the area where the subscriber

currently locates.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

58 NPFlag Char[1] Indicates the flag of number portable.

The options are as follows:

0: Not NP

1: NP out

59 NPPrefix Char[6] Indicates the number portability prefix of

called party in the MO process or number

portability prefix of the calling party in the

MT process.

Value range: numerals within 0-9, *, #

Page 115: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

105

SN Field Name Field Type Description

60 CallingGroupNo Integer[4] Indicates the group number of the calling

party when enjoying CUG service. It is the

group number related to the rating.

For VPN, it is the nearest level groupNo.

61 CalledGroupNo Integer[4] Indicates the group number of the called

party when enjoying CUG or VPN service. It

is the group number related to the rating.

The default value is 0.

62 UserState Char[10] Indicates the life cycle state and the

management state of a subscriber.

The UserState parameter is a numeric string

of seven digits, in the format CCMMMMM.

The first and second digits C indicate the life

cycle state of a subscriber. The first digit C

indicates the state of a prepaid subscriber,

and the second digit C indicates the state of a

postpaid subscriber. The options are as

follows:

0: Idle

1: Active

2: Suspended

3: Disable

4: Pool

5: Pool without activation

The next five digits MMMMM indicate the

management state of a subscriber. The

options are as follows:

Third digit: Whether the subscriber claims

missing.

0: no

1: yes

Fourth digit: Whether the subscriber

suspends the service.

0: non-suspend

1: suspend

2: suspend by operator (B1W)

3: suspend by operator (B2W)

Fifth digit: Whether the subscriber applies

for suspension with the number being

reserved.

0: no

1: yes

Sixth digit: Whether the subscriber is

blocked.

Page 116: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

106

SN Field Name Field Type Description

0: no

1: yes

Seventh digit: Whether the subscriber is

blacklisted.

0: no

1: yes

The default value is 0.

63 SubscriberID Char[20] Indicates the subscriber ID.

Value range: characters in [0-9, a-z, A-Z]

64 OpposeNetworkTy

pe

Integer[4] Indicates the network type of oppose side.

The options are as follows:

1: PSTN

2: Mobile

3: Native Unknown

4: International Unknown

Other: to be extended

The default value is 0.

The wildcard value is -1.

65 Reserved Char[20] -

66 ChargeOfItemsAcc

ounts

Integer[8] Indicates the free call times used.

Value range: -263

-263

-1

Not null

The default value is 0.

67 ChargeOfDuration

Accounts

Integer[8] Indicates the total call time charge using

reword resource.

Value range: -263

-263

-1

Not null

The default value is 0.

68 ChargeOfFundAcc

ounts

Integer[8] Indicates the total cost amount charging from

fund account.

Value range: -263

-263

-1

Not null

The default value is 0.

69 ChargeFromPrepai

d

Integer[8] Indicates the charge amount from prepaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

70 PrepaidBalance Integer[8] Indicates the balance of prepaid account.

Page 117: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

107

SN Field Name Field Type Description

Value range: -263

-263

-1

Not null

The default value is 0.

71 ChargeFromPostpa

id Integer[8] Indicates the charge amount from postpaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

72 PostPaidBalance Integer[8] Indicates the balance of postpaid available

limitation.

Value range: -263

-263

-1

Not null

The default value is 0.

73 AccountID Char[20] Indicates the ID of the main account.

Value range: characters in [0-9, a-z, A-Z]

74 AccountKey Integer[8] Indicates the key of the main account.

Value range: -263

-263

-1

Not null

The default value is 0.

75 CurrencyCode Integer[4] Currency code. Also, if this field missed or

present be Zero, it means the system use

local minimal currency as default, and no

need to specify in CDR.

The default value is 0.

76 package Char[32] Indicates the package of the subscriber. The

information is from PSA.

77 AccountType1 Integer[4] Indicates the account type of the first

account.

0 means not used.

Not null

The default value is 0.

78 FeeType1 Integer[4] Indicates the fee type of the first account.

0 means not used.

Not null

The default value is 0.

79 ChargeAmount1 Integer[8] Indicates the changing amount of the first

account.

0 means not unchanged.

Value range: -263

-263

-1

Page 118: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

108

SN Field Name Field Type Description

Not null

The default value is 0.

80 CurrentAcctAmou

nt1

Integer[8] Indicates the current amount of the first

account.

Value range: -263

-263

-1

Not null

The default value is 0.

81 AccountType2 Integer[4] Indicates the account type of the second

account.

0 means not used.

Not null

The default value is 0.

82 FeeType2 Integer[4] Indicates the fee type of the second account.

0 means not used.

Not null

The default value is 0.

83 ChargeAmount2 Integer[8] Indicates the changing amount of the second

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

84 CurrentAcctAmou

nt2

Integer[8] Indicates the current amount of the second

account.

Value range: -263

-263

-1

Not null

The default value is 0.

85 AccountType3 Integer[4] Indicates the account type of the third

account.

0 means not used.

Not null

The default value is 0.

86 FeeType3 Integer[4] Indicates the fee type of the third account.

0 means not used.

Not null

The default value is 0.

87 ChargeAmount3 Integer[8] Indicates the changing amount of the third

account.

0 means not unchanged.

Page 119: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

109

SN Field Name Field Type Description

Value range: -263

-263

-1

Not null

The default value is 0.

88 CurrentAcctAmou

nt3 Integer[8] Indicates the current amount of the third

account.

Value range: -263

-263

-1

Not null

The default value is 0.

89 AccountType4 Integer[4] Indicates the account type of the fourth

account.

0 means not used.

Not null

The default value is 0.

90 FeeType4 Integer[4] Indicates the fee type of the fourth account.

0 means not used.

Not null

The default value is 0.

91 ChargeAmount4 Integer[8] Indicates the changing amount of the fourth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

92 CurrentAcctAmou

nt4

Integer[8] Indicates the current amount of the fourth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

93 AccountType5 Integer[4] Indicates the account type of the fifth

account.

0 means not used.

Not null

The default value is 0.

94 FeeType5 Integer[4] Indicates the fee type of the fifth account.

0 means not used.

Not null

The default value is 0.

95 ChargeAmount5 Integer[8] Indicates the changing amount of the fifth

account.

Page 120: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

110

SN Field Name Field Type Description

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

96 CurrentAcctAmou

nt5

Integer[8] Indicates the current amount of the fifth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

97 AccountType6 Integer[4] Indicates the account type of the sixth

account.

0 means not used.

Not null

The default value is 0.

98 FeeType6 Integer[4] Indicates the fee type of the sixth account.

0 means not used.

Not null

The default value is 0.

99 ChargeAmount6 Integer[8] Indicates the changing amount of the sixth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

100 CurrentAcctAmou

nt6

Integer[8] Indicates the current amount of the sixth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

101 AccountType7 Integer[4] Indicates the account type of the seventh

account.

0 means not used.

Not null

The default value is 0.

102 FeeType7 Integer[4] Indicates the fee type of the seventh account.

0 means not used.

Not null

The default value is 0.

103 ChargeAmount7 Integer[8] Indicates the changing amount of the seventh

Page 121: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

111

SN Field Name Field Type Description

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

104 CurrentAcctAmou

nt7

Integer[8] Indicates the current amount of the seventh

account.

Value range: -263

-263

-1

Not null

The default value is 0.

105 AccountType8 Integer[4] Indicates the account type of the eighth

account.

0 means not used.

Not null

The default value is 0.

106 FeeType8 Integer[4] Indicates the fee type of the eighth account.

0 means not used.

Not null

The default value is 0.

107 ChargeAmount8 Integer[8] Indicates the changing amount of the eighth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

108 CurrentAcctAmou

nt8

Integer[8] Indicates the current amount of the eighth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

109 AccountType9 Integer[4] Indicates the account type of the ninth

account.

0 means not used.

Not null

The default value is 0.

110 FeeType9 Integer[4] Indicates the fee type of the ninth account.

0 means not used.

Not null

The default value is 0.

Page 122: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

112

SN Field Name Field Type Description

111 ChargeAmount9 Integer[8] Indicates the changing amount of the ninth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

112 CurrentAcctAmou

nt9

Integer[8] Indicates the current amount of the ninth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

113 AccountType10 Integer[4] Indicates the account type of the tenth

account.

0 means not used.

Not null

The default value is 0.

114 FeeType10 Integer[4] Indicates the fee type of the tenth account.

0 means not used.

Not null

The default value is 0.

115 ChargeAmount10 Integer[8] Indicates the changing amount of the tenth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

116 CurrentAcctAmou

nt10

Integer[8] Indicates the current amount of the tenth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

117 BonusValidity1 Char[14] Indicates the validity period of the first

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

118 BonusValidity2 Char[14] Indicates the validity period of the second

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

Page 123: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

113

SN Field Name Field Type Description

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

119 BonusValidity3 Char[14] Indicates the validity period of the third

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

120 BonusValidity4 Char[14] Indicates the validity period of the fourth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

121 BonusValidity5 Char[14] Indicates the validity period of the fifth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

122 BonusValidity6 Char[14] Indicates the validity period of the sixth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

123 BonusValidity7 Char[14] Indicates the validity period of the seventh

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

124 BonusValidity8 Char[14] Indicates the validity period of the eighth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

125 BonusValidity9 Char[14] Indicates the validity period of the ninth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

Page 124: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

114

SN Field Name Field Type Description

126 BonusValidity10 Char[14] Indicates the validity period of the tenth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

127 Reserved Char[15] -

128 Reserved Char[10] -

129 Reserved Char[10] -

130 Reserved Char[15] -

131 Reserved Char[10] -

132 Reserved Char[10] -

133 Reserved Char[10] -

134 Reserved Char[10] -

135 Reserved Char[10] -

136 Reserved Char[10] -

137 Reserved Integer[4] -

138 session id Char[20] Indicates the ID of a sequence.

139 Service Name Char[32] Indicates the service name. The information

is from PSA.

140 Consumed

Resources

Integer[4] Indicates the Date service tariff. The

information is from PSA.

NOTE

In the deduction processes, this parameter

records amount.

In the refunding processes, this parameter

records used amount.

141 Original Amount Integer[4] Indicates the original amount through RTBP

interface.

142 AddtionalInfo Char[256] Indicates the additional information about the

service.

Some additional information about the

service is recorded. In most cases, the

information is only useful for the specified

carrier.

143 OriginAddressTyp

e

Char[2] The type of source address:

0: e-mail address

1: MSISDN

Page 125: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

115

SN Field Name Field Type Description

2: IPv4 Address

3: IPv6 Address

4: Numeric Shortcode

5: Alphanumeric Shortcode

6: Other

The default value is -1.

144 DestAddressType Char[2] The type of purpose address:

0: e-mail address

1: MSISDN

2: IPv4 Address

3: IPv6 Address

4: Numeric Shortcode

5: Alphanumeric Shortcode

6: Other

The default value is -1.

145 Message-Type Integer[4] Indicates the message type.

The options are as follows:

1: m-send-req

2: m-send-conf

3: m-notification-ind

4: m-notifyresp-ind

5: m-retrieve-conf

6: m-acknowledge-ind

7: m-delivery-ind

8: m-read-rec-ind

9: m-read-orig-ind

10: m-forward-req

11: m-forward-conf

12: m-mbox-store-conf

13: m-mbox-view-conf

14: m-mbox-upl

101: MOAT

102: AOMT

103: MOMT

104: MOET

105: EOMT

106: DlvRpt

107: RdRpt

108: Reply

Page 126: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

116

SN Field Name Field Type Description

109: P2PMT

110: FOMT

111: FOAT

112: FOET

113: MOFT

114~: reserved

The default value is -1.

146 VASP-Id Char[20] Indicates the ID of a service provider (SP).

147 VAS-Id Char[20] Indicates the service ID of an SP.

148 Service-Id Char[20] Indicates the service type ID.

149 Reserved Char[20] -

150 StartTimeOfBillCy

cle

Char[14] Indicates the start time of bill cycle.

151 SecondChargingPa

rtyNumber

Char[64] Indicates the number of the other charging

party of the child-parent cards. In the

example, the value of the field is the number

of subscriber C.

The number is same as calling party number

in MO and called party number in MT.

There are several special situations. Like

Child-Parent card feature, the calling party

number is the child, the charging party

number is the parent's number. This field is

null when the service is paid only by

account.

The number format are as follows:

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

152 SecondChargingPa

rtyPayType

Char[1] Indicates the payment type of the other

charging party of the child-parent cards. For

example, the payment type of the parent

card.

The options are as follows:

0: Prepaid

1: Postpaid

Page 127: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

117

SN Field Name Field Type Description

NOTE

If the value of the field is null, the system records

the payment type of the parent card subscriber.

153 SecondChargingPa

rtyBillCycleID

Char[20] Indicates the bill cycle ID of the other

charging party of the child-parent cards. For

example, the bill cycle ID of the parent card.

Format: YYYYMMTT

The description of the format is as follows:

YYYY: indicates the year.

MM: indicates the month.

TT: indicates the type of a bill cycle.

154 ChargeOfItemsSec

ondAccounts

Integer[8] Indicates the free call times used from others,

such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

155 ChargeOfDuration

SecondAccounts

Integer[8] Indicates the total call time charge using

reword resource from others, such as the

parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

156 ChargeOfFundSec

ondAccounts

Integer[8] Indicates the total cost amount charging from

fund account of others, such as the parent

card.

Value range: -263

-263

-1

Not null

The default value is 0.

157 ChargeFromSecon

dPrepaidAccount

Integer[8] Indicates the charge amount from other

prepaid account.

Value range: -263

-263

-1

Not null

The default value is 0.

158 SecondPrepaidAcc

ountBalance

Integer[8] Indicates the balance of other prepaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

159 ChargeFromSecon

dPostpaidAccount

Integer[8] Indicates the charge amount from other

postpaid account.

Value range: -263

-263

-1

Page 128: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

118

SN Field Name Field Type Description

Not null

The default value is 0.

160 SecondPostpaidAc

countBalance

Integer[8] Indicates the balance of other postpaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

161 SecondAccountID Char[20] Indicates the main account ID of the other

charging party that the system deducts fees

from.

Value range: characters in [0-9, a-z, A-Z]

Not null

162 SecondAccountKe

y

Integer[8] Indicates the main account key of the other

charging party that the system deducts fees

from.

Value range: -263

-263

-1

Not null

The default value is 0.

163 SecondAccountCur

rencyCode

Integer[4] Indicates currency code of others, such as the

parent card. Also, if this field missed or

present be Zero, it means the system use

local minimal currency as default, and no

need to specify in CDR.

Not null

The default value is 0.

164 APN Char[32] Indicates the APN information. The

information is from PSA.

165 SecondAccountTy

pe1

Integer[4] Indicates the account type of the first account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

166 SecondFeeType1 Integer[4] Indicates the fee type of the first account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

167 SecondChargeAmo

unt1

Integer[8] Indicates the changing amount of the first

account of others, such as the parent card.

0 means not unchanged.

Value range: -263

-263

-1

Page 129: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

119

SN Field Name Field Type Description

Not null

The default value is 0.

168 SecondCurrentAcct

Amount1

Integer[8] Indicates the current amount of the first

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

169 SecondAccountTy

pe2

Integer[4] Indicates the account type of the second

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

170 SecondFeeType2 Integer[4] Indicates the fee type of the second account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

171 SecondChargeAmo

unt2

Integer[8] Indicates the changing amount of the second

account of others, such as the parent card.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

172 SecondCurrentAcct

Amount2

Integer[8] Indicates the current amount of the second

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

173 SecondAccountTy

pe3

Integer[4] Indicates the account type of the third

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

174 SecondFeeType3 Integer[4] Indicates the fee type of the third account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

175 SecondChargeAmo

unt3

Integer[8] Indicates the changing amount of the third

account of others, such as the parent card.

Page 130: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

120

SN Field Name Field Type Description

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

176 SecondCurrentAcct

Amount3

Integer[8] Indicates the current amount of the third

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

177 SecondAccountTy

pe4

Integer[4] Indicates the account type of the fourth

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

178 SecondFeeType4 Integer[4] Indicates the fee type of the fourth account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

179 SecondChargeAmo

unt4

Integer[8] Indicates the changing amount of the fourth

account of others, such as the parent card.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

180 SecondCurrentAcct

Amount4

Integer[8] Indicates the current amount of the fourth

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

181 SecondAccountTy

pe5

Integer[4] Indicates the account type of the fifth

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

182 SecondFeeType5 Integer[4] Indicates the fee type of the fifth account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

Page 131: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

121

SN Field Name Field Type Description

183 SecondChargeAmo

unt5

Integer[8] Indicates the changing amount of the fifth

account of others, such as the parent card.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

184 SecondCurrentAcct

Amount5

Integer[8] Indicates the current amount of the fifth

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

185 SecondBonusValid

ity1

Char[14] Indicates the validity period of the first

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

186 SecondBonusValid

ity2

Char[14] Indicates the validity period of the second

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

187 SecondBonusValid

ity3

Char[14] Indicates the validity period of the third

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

188 SecondBonusValid

ity4

Char[14] Indicates the validity period of the fourth

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

189 SecondBonusValid

ity5

Char[14] Indicates the validity period of the fifth

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Page 132: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

122

SN Field Name Field Type Description

Format: YYYYMMDDhhmmss

190 Reserved Integer[4] -

191 Reserved Integer[4] -

192 OppositePartyNum

ber

Char[64] Indicates the number of the opposite party.

In calling process, the number is the number

of the called party.

In called process, the number is the number

of the calling party.

The number format are as follows:

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

193 Reserved Char[8] -

194 Reserved Char[25] -

195 Reserved Integer[4] -

196 Reserved Integer[4] -

197 Reserved Integer[4] -

198 DiscountOfLastEff

Product

Integer[4] Indicates the discount percentage for the last

rated product that takes effect. For a product

that does not provide discounts, the value is

100.

Value range: 0-100

NOTE

The value 0 is not included.

Not null

The default value is 100.

199 subscriberkey Integer[4] Indicates the key of a subscriber.

Not null

The default value is 0.

200 accumulationchang

e

Char[256] Indicates the change value of an

accumulative item.

The value format is as follows:

Accumulation ID 1, accumulation switch

time 1, change value 1; accumulation ID 2,

Page 133: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

123

SN Field Name Field Type Description

accumulation switch time 2, change value

2...

The value contains only numerals. The

account ID and balance change is separated

by a comma (,), and information of different

accounts is separated by a semicolon (;). The

information about up to 10 accounts can be

included. The excess account information

will be discarded.

201 UsageServiceType Integer[4] Indicates the type of a real-time service.

1350: Special MMS

1351: Common MMS

The default value is 1350.

202 SourceSerialNo Integer[8] For the CDRs that are generated not for

re-rating, the default value of this field is 0.

For the CDRs that are generated for

re-rating, the value of this field is the

corresponding value in the original CDRs for

re-rating. If the re-rating is performed

multiple times, the value of this field remains

unchanged.

Not null

The default value is 0.

203 SourceSubSequenc

e

Integer[4] Indicates the sequence number when the bill

is split. For example, special requirement of

splitting on mid-night and end of the bill

cycle.

For the CDRs that are generated not for

re-rating, the default value of this field is 0.

For the CDRs that are generated for

re-rating, the value of this field is the

corresponding value in the original CDRs for

re-rating. If the re-rating is performed

multiple times, the value of this field remains

unchanged.

The default value is 0.

204 AcctBalChgList Char[768] Indicates the change value of balance

change.

The value format is as follows:

lAcctBalanceID, iProductKey, iFeeID,

iAmount0, iAmount1, iAcctBalanceType,

MeasureID, billCycleID;

The value contains only numerals. The fields

in each group are separated by commas (,),

and groups are separated by semicolons (;).

Up to 10 groups can be included. The

contents exceeding 10 groups will be

Page 134: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

124

SN Field Name Field Type Description

discarded.

205 OriginCdrFilename Char[64] Indicates the name of a rated CDR.

The default value is 0.

206 CurCDRLineNo Integer[4] Indicates the number of the line where the

original CDR is located.

The default value is 0.

207 Reserved Integer[4] -

208 Reserved Integer[8] -

209 Reserved Integer[8] -

210 Reserved Integer[8] -

211 Reserved Integer[8] -

212 SecondSubscriber

Key

Integer[4] Indicates the key value of a

entrusted-payment subscriber.

The default value is 0.

213 SecondProductID Integer[4] Reserved

214 accounttype1 Integer[4] Indicates the account type of the first fund

account.

The default value is 0.

215 BalanceBeforeChar

ge1

Integer[8] Indicates the balance of the first account

before the system deducts the fee from.

The default value is 0.

216 BalanceAfterCharg

e1

Integer[8] Indicates the balance of the first account after

the system deducts the fee from.

The default value is 0.

217 ChargeFee1 Integer[8] Indicates the cost amount charging from the

first account.

The default value is 0.

218 accounttype2 Integer[4] Indicates the account type of the second fund

account.

The default value is 0.

219 BalanceBeforeChar

ge2

Integer[8] Indicates the balance of the second account

before the system deducts the fee from.

The default value is 0.

220 BalanceAfterCharg

e2

Integer[8] Indicates the balance of the second account

after the system deducts the fee from.

The default value is 0.

221 ChargeFee2 Integer[8] Indicates the cost amount charging from the

Page 135: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

125

SN Field Name Field Type Description

second account.

The default value is 0.

222 accounttype3 Integer[4] Indicates the account type of the third fund

account.

The default value is 0.

223 BalanceBeforeChar

ge3

Integer[8] Indicates the balance of the third account

before the system deducts the fee from.

The default value is 0.

224 BalanceAfterCharg

e3

Integer[8] Indicates the balance of the third account

after the system deducts the fee from.

The default value is 0.

225 ChargeFee3 Integer[8] Indicates the cost amount charging from the

third account.

The default value is 0.

226 accounttype4 Integer[4] Indicates the account type of the forth fund

account.

The default value is 0.

227 BalanceBeforeChar

ge4

Integer[8] Indicates the balance of the forth account

before the system deducts the fee from.

The default value is 0.

228 BalanceAfterCharg

e4

Integer[8] Indicates the balance of the forth account

after the system deducts the fee from.

The default value is 0.

229 ChargeFee4 Integer[8] Indicates the cost amount charging from the

forth account.

The default value is 0.

230 accounttype5 Integer[4] Indicates the account type of the fifth

account.

The default value is 0.

231 BalanceBeforeChar

ge5

Integer[8] Indicates the balance of the fifth account

before the system deducts the fee from.

The default value is 0.

232 BalanceAfterCharg

e5 Integer[8] Indicates the balance of the fifth account

after the system deducts the fee from.

The default value is 0.

233 ChargeFee5 Integer[8] Indicates the cost amount charging from the

fifth account.

The default value is 0.

234 accounttype6 Integer[4] Indicates the account type of the sixth

Page 136: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

126

SN Field Name Field Type Description

account.

The default value is 0.

235 BalanceBeforeChar

ge6

Integer[8] Indicates the balance of the sixth account

before the system deducts the fee from.

The default value is 0.

236 BalanceAfterCharg

e6

Integer[8] Indicates the balance of the sixth account

after the system deducts the fee from.

The default value is 0.

237 ChargeFee6 Integer[8] Indicates the cost amount charging from the

sixth account.

The default value is 0.

238 accounttype7 Integer[4] Indicates the account type of the seventh

fund account.

The default value is 0.

239 BalanceBeforeChar

ge7

Integer[8] Indicates the balance of the seventh account

before the system deducts the fee from.

The default value is 0.

240 BalanceAfterCharg

e7

Integer[8] Indicates the balance of the seventh account

after the system deducts the fee from.

The default value is 0.

241 ChargeFee7 Integer[8] Indicates the cost amount charging from the

seventh account.

The default value is 0.

242 accounttype8 Integer[4] Indicates the account type of the eighth fund

account.

The default value is 0.

243 BalanceBeforeChar

ge8

Integer[8] Indicates the balance of the eighth account

before the system deducts the fee from.

The default value is 0.

244 BalanceAfterCharg

e8

Integer[8] Indicates the balance of the eighth account

after the system deducts the fee from.

The default value is 0.

245 ChargeFee8 Integer[8] Indicates the cost amount charging from the

eighth account.

The default value is 0.

246 accounttype9 Integer[4] Indicates the account type of the ninth fund

account.

The default value is 0.

247 BalanceBeforeChar Integer[8] Indicates the balance of the ninth account

Page 137: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

127

SN Field Name Field Type Description

ge9 before the system deducts the fee from.

The default value is 0.

248 BalanceAfterCharg

e9

Integer[8] Indicates the balance of the ninth account

after the system deducts the fee from.

The default value is 0.

249 ChargeFee9 Integer[8] Indicates the cost amount charging from the

ninth account.

The default value is 0.

250 accounttype10 Integer[4] Indicates the account type of the tenth fund

account.

The default value is 0.

251 BalanceBeforeChar

ge10

Integer[8] Indicates the balance of the tenth account

before the system deducts the fee from.

The default value is 0.

252 BalanceAfterCharg

e10

Integer[8] Indicates the balance of the tenth account

after the system deducts the fee from.

The default value is 0.

253 ChargeFee10 Integer[8] Indicates the cost amount charging from the

tenth account.

The default value is 0.

254 accounttype11 Integer[4] Indicates the account type of the eleventh

fund account.

The default value is 0.

255 BalanceBeforeChar

ge11

Integer[8] Indicates the balance of the eleventh account

before the system deducts the fee from.

The default value is 0.

256 BalanceAfterCharg

e11

Integer[8] Indicates the balance of the eleventh account

after the system deducts the fee from.

The default value is 0.

257 ChargeFee11 Integer[8] Indicates the cost amount charging from the

eleventh account.

The default value is 0.

258 accounttype12 Integer[4] Indicates the account type of the twelfth fund

account.

The default value is 0.

259 BalanceBeforeChar

ge12

Integer[8] Indicates the balance of the twelfth account

before the system deducts the fee from.

The default value is 0.

260 BalanceAfterCharg Integer[8] Indicates the balance of the twelfth account

Page 138: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

128

SN Field Name Field Type Description

e12 after the system deducts the fee from.

The default value is 0.

261 ChargeFee12 Integer[8] Indicates the cost amount charging from the

twelfth account.

The default value is 0.

262 accounttype13 Integer[4] Indicates the account type of the thirteenth

fund account.

The default value is 0.

263 BalanceBeforeChar

ge13

Integer[8] Indicates the balance of the thirteenth

account before the system deducts the fee

from.

The default value is 0.

264 BalanceAfterCharg

e13

Integer[8] Indicates the balance of the thirteenth

account after the system deducts the fee

from.

The default value is 0.

265 ChargeFee13 Integer[8] Indicates the cost amount charging from the

thirteenth account.

The default value is 0.

266 accounttype14 Integer[4] Indicates the account type of the fourteenth

fund account.

The default value is 0.

267 BalanceBeforeChar

ge14

Integer[8] Indicates the balance of the fourteenth

account before the system deducts the fee

from.

The default value is 0.

268 BalanceAfterCharg

e14

Integer[8] Indicates the balance of the fourteenth

account after the system deducts the fee

from.

The default value is 0.

269 ChargeFee14 Integer[8] Indicates the cost amount charging from the

fourteenth account.

The default value is 0.

270 accounttype15 Integer[4] Indicates the account type of the fifteenth

fund account.

The default value is 0.

271 BalanceBeforeChar

ge15

Integer[8] Indicates the balance of the fifteenth account

before the system deducts the fee from.

The default value is 0.

272 BalanceAfterCharg Integer[8] Indicates the balance of the fifteenth account

Page 139: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

129

SN Field Name Field Type Description

e15 after the system deducts the fee from.

The default value is 0.

273 ChargeFee15 Integer[8] Indicates the cost amount charging from the

fifteenth account.

The default value is 0.

274 accounttype16 Integer[4] Indicates the account type of the sixteenth

fund account.

The default value is 0.

275 BalanceBeforeChar

ge16

Integer[8] Indicates the balance of the sixteenth account

before the system deducts the fee from.

The default value is 0.

276 BalanceAfterCharg

e16

Integer[8] Indicates the balance of the sixteenth account

after the system deducts the fee from.

The default value is 0.

277 ChargeFee16 Integer[8] Indicates the cost amount charging from the

sixteenth account.

The default value is 0.

278 accounttype17 Integer[4] Indicates the account type of the seventeenth

fund account.

The default value is 0.

279 BalanceBeforeChar

ge17

Integer[8] Indicates the balance of the seventeenth

account before the system deducts the fee

from.

The default value is 0.

280 BalanceAfterCharg

e17

Integer[8] Indicates the balance of the seventeenth

account after the system deducts the fee

from.

The default value is 0.

281 ChargeFee17 Integer[8] Indicates the cost amount charging from the

seventeenth account.

The default value is 0.

282 accounttype18 Integer[4] Indicates the account type of the eighteenth

fund account.

The default value is 0.

283 BalanceBeforeChar

ge18

Integer[8] Indicates the balance of the eighteenth

account before the system deducts the fee

from.

The default value is 0.

284 BalanceAfterCharg

e18

Integer[8] Indicates the balance of the eighteenth

account after the system deducts the fee

Page 140: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

130

SN Field Name Field Type Description

from.

The default value is 0.

285 ChargeFee18 Integer[8] Indicates the cost amount charging from the

eighteenth account.

The default value is 0.

286 accounttype19 Integer[4] Indicates the account type of the nineteenth

fund account.

The default value is 0.

287 BalanceBeforeChar

ge19

Integer[8] Indicates the balance of the nineteenth

account before the system deducts the fee

from.

The default value is 0.

288 BalanceAfterCharg

e19

Integer[8] Indicates the balance of the nineteenth

account after the system deducts the fee

from.

The default value is 0.

289 ChargeFee19 Integer[8] Indicates the cost amount charging from the

nineteenth account.

The default value is 0.

290 accounttype20 Integer[4] Indicates the account type of the twentieth

fund account.

The default value is 0.

291 BalanceBeforeChar

ge20

Integer[8] Indicates the balance of the twentieth

account before the system deducts the fee

from.

The default value is 0.

292 BalanceAfterCharg

e20

Integer[8] Indicates the balance of the twentieth

account after the system deducts the fee

from.

The default value is 0.

293 ChargeFee20 Integer[8] Indicates the cost amount charging from the

twentieth account.

The default value is 0.

3.1.5 data CDR

Description

A data CDR records the basic traffic of the data service.

Page 141: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

131

Generation Scenario

An OCS subscriber downloads a ring tone through the GPRS. The ring tone costs the

subscriber 2 Rupee, a data CDR is generated.

CDR File Name Format

dataYYYYMMDD_CBPNODE_Seqno.unl

Example of a data CDR file name: data20071112_101_000151.unl

Format

Table 3-6 describes each field of data CDR file.

Table 3-6 Format of data CDR

SN Field Name Field Type Description

1 SerialNo Integer[8] Indicates the serial number.

It is generated by the system and the serial

number is exclusive.

Not null

The default value is 0.

2 SubSequence Integer[4] Indicates the sequence number when the

bill is split. For example, special

requirement of splitting on mid-night and

end of the bill cycle.

The default value is 0.

3 TimeStamp Char[14] Indicates the timestamp of the bill item

generation.

Format: YYYYMMDDhhmmss

Not null

4 ServiceKey Integer[4] Indicates the service key of the intelligent

service to which the subscriber subscribes

to.

The default value is 1.

Not null

5 CallingPartyNumbe

r

Char[64] Indicates the calling number. The number

format are as follows:

Country code + Area number +

PSTN

The number format is the format of the

fixed-line phone number.

Country code + MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

Page 142: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

132

SN Field Name Field Type Description

[email protected]

Value range: numerals within 0-9, *, #

Not null

6 APN Char[22] Indicates the access point.

7 URL Char[22] Indicates the accessed URL.

8 CallingPartyIMSI Char[64] Indicates the IMSI of calling party.

When the SCP transfers an IMSI, the

value of this field is the IMSI

transferred

When the SCP does not transfer an

IMSI, the value of this field is the value

of the corresponding field in the

attribute table of the charged subscriber.

The value is Null when the relevant

value cannot be obtained.

Value range: numerals within 0-9, *, #

9 AccessNetworkAdd

ress

Char[22] Indicates the address of access network.

For GPRS, it refers to the SGSN.

For WLAN, it refers to the Hotspot ID.

10 GGSNAddress Char[22] Indicates the address of GGSN.

11 CallingRoamInfo Char[20] Indicates the information used to analyze

the roaming state of calling party.

It can be the location number, MSC

address, VLR number, and so on. The

actual value is related with the service

configuration.

Value range: numerals within 0-9, *, #

12 CallingCellID Char[20] Indicates the cell ID of the calling party,

which is directly filled in according to the

IDP report.

Value range: numerals within 0-9, *, #

13 TimeStampOfSGS

N

Char[14] Indicates the start time of the service

reported by the SGSN or external network

elements.

Format: YYYYMMDDhhmmss

14 TimeZoneOfSGSN Integer[4] Indicates the time zone in which the SGSN

or external network elements locate.

Value range: -48-48

NOTE

The value -48 is not included.

The default value is 0.

Page 143: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

133

SN Field Name Field Type Description

15 Reserved Char[32] -

16 ChargingTime Char[14] Indicates the time stamp of the charging

beginning.

Format: YYYYMMDDhhmmss

17 TotalFlux Integer[8] Indicates the total traffic.

Unit: byte

Not null

The default value is 0.

18 UpFlux Integer[8] Indicates the upstream traffic.

Unit: byte

Not null

The default value is 0.

19 DownFlux Integer[8] Indicates the downstream traffic.

Unit: byte

Not null

The default value is 0.

20 ElapseDuration Integer[4] Indicates the duration of using GPRS

service.

Unit: second

Not null

The default value is 0.

21 Reserved Integer[4] -

22 IMEI Char[24] A unique number which shall be allocated

to each individual mobile station

equipment.

23 TransitionID Char[32] Indicates the sequence number of a

transaction.

24 ServiceID Char[20] Indicates the service ID of the SP.

The default value is -1.

25 SPID Char[20] Indicates the SP ID or CP ID.

The default value is -1.

26 CategoryID Char[20] The number of the category.

The default value is -1.

27 ContentID Char[20] The number of the content.

28 QoS Char[30] Service quality.

29 OriginalNetworkTy

pe

Char[20] Indicates the type of the original network.

The options are as follows:

Page 144: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

134

SN Field Name Field Type Description

1: PSTN

2: Mobile

3: Native Unknown

4: International Unknown

Other to be extended

30 DiameterSessionID Char[128] Indicates a diameter session ID.

The format is as follows:

<DiameterIdentity>;<high 32 bits>;<low

32 bits>[;<optional value>]

<DiameterIdentity>: the same as the

field in the Origin-Host AVP.

<high 32 bits>: indicates the current

time of the system.

<low 32 bits>: indicates the cycle

count-up. The initial value is 0. When

you restart the system, set the value to

0.

<optional value>: indicates

implementation specific but may

include a modem's device Id, a layer 2

address, timestamp, etc.

Separate the preceding fields with the

character ";".

For example:

SCP001.huawei.com;1876543210;523

31 BrandID Integer[4] Indicates the brand ID of subscribers.

Not null

The default value is 0.

32 SubCOSID Integer[4] Indicates the main product ID of

subscribers.

Not null

The default value is 0.

33 ChargingPartyNum

ber

Char[64] Indicates the telephone number of the

charging party.

The number is same as calling party

number in MO and called party number in

MT.

There are several special situations. Like

Child-Parent card feature, the calling party

number is the child, the charging party

number is the parent's number. This field is

null when the service is paid only by

account.

The number format are as follows:

Page 145: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

135

SN Field Name Field Type Description

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

34 PayType Char[1] Indicates the pay type of subscribers.

The options are as follows:

0: Prepaid

1: Postpaid

35 BillCycleID Char[20] Indicates the bill cycle ID.

Format: YYYYMMTT

YYYY: indicates the year.

MM: indicates the month.

TT: indicates the type of a bill cycle.

Value range: numerals within 0-9

36 ChargingType Char[1] Indicates the charging type.

The current version supports the following

types:

0: based on duration

1: based on traffic

37 ResultCode Integer[4] Indicates the internal result code.

Value range: -231

-231

-1

The default value is 0.

38 RoamState Char[1] Indicates the roaming state of charging

party.

The options are as follows:

0: No roaming

1: Roaming within charging area

2: Roaming out of charging area

3: International Roaming

The default value is 0.

39 CallingHomeCount

ryCode

Integer[4] Indicates the home country code

information of calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

Page 146: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

136

SN Field Name Field Type Description

40 CallingHomeAreaN

umber

Integer[4] Indicates the home area number of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

41 CallingHomeNetwo

rkCode

Integer[4] Indicates the home network code of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

42 CallingRoamCountr

yCode Integer[4] Indicates the roam country code of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

43 CallingRoamAreaN

umber

Integer[4] Indicates the roam area number of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

44 CallingRoamNetwo

rkCode

Integer[4] Indicates the roam network code of the

calling party.

>=0, -1, 0 or 9999 means unknown.

The default value is 0.

45 Operation Type Char[20] Indicates the operation type.

The options are as follows:

0: Deduct fees

1: Refund fees

46 msg id Char[20] Indicates the ID of a message.

47 session id Char[20] Indicates the ID of a sequence.

48 Service Name Char[32] Indicates the service name. The

information is from PSA.

49 Consumed

Resources

Integer[4] Indicates the Date service tariff. The

information is from PSA.

NOTE

In the deduction processes, this parameter

records amount.

In the refunding processes, this parameter

records used amount.

50 Original Amount Integer[4] Indicates the original amount through

RTBP interface.

51 ProductID Char[20] Indicates the last effect rating product.

52 ServiceType Char[20] Reserved

Page 147: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

137

SN Field Name Field Type Description

53 Reserved Char[20] -

54 Reserved Integer[4] -

55 UserState Char[10] Indicates the life cycle state and the

management state of a subscriber.

The UserState parameter is a numeric

string of seven digits, in the format

CCMMMMM.

The first and second digits C indicate the

life cycle state of a subscriber. The first

digit C indicates the state of a prepaid

subscriber, and the second digit C indicates

the state of a postpaid subscriber. The

options are as follows:

0: Idle

1: Active

2: Suspended

3: Disable

4: Pool

5: Pool without activation

The next five digits MMMMM indicate the

management state of a subscriber. The

options are as follows:

Third digit: Whether the subscriber claims

missing.

0: no

1: yes

Fourth digit: Whether the subscriber

suspends the service.

0: non-suspend

1: suspend

2: suspend by operator (B1W)

3: suspend by operator (B2W)

Fifth digit: Whether the subscriber applies

for suspension with the number being

reserved.

0: no

1: yes

Sixth digit: Whether the subscriber is

blocked.

0: no

1: yes

Seventh digit: Whether the subscriber is

blacklisted.

Page 148: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

138

SN Field Name Field Type Description

0: no

1: yes

56 SubscriberID Char[20] Indicates the subscriber ID.

Value range: characters in [0-9, a-z, A-Z]

57 ChargeDuration Integer[4] Indicates the charge duration.

Unit: second

Not null

The default value is 0.

58 TotalChargeFlux Integer[8] Indicates total charging traffic.

Unit: byte

Not null

The default value is 0.

59 Reserved Char[20] -

60 Reserved Char[20] -

61 ChargeOfFluxAcco

unts

Integer[8] Indicates the free GPRS volume used.

Value range: -263

-263

-1

Not null

The default value is 0.

62 ChargeOfDuratiion

Accounts

Integer[8] Indicates the total call time charge using

reword resource.

Value range: -263

-263

-1

Not null

The default value is 0.

63 ChargeOfFundAcco

unts

Integer[8] Indicates the total cost amount charging

from fund account.

Value range: -263

-263

-1

Not null

The default value is 0.

64 ChargeFromPrepaid Integer[8] Indicates the charge amount from prepaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

65 PrepaidBalance Integer[8] Indicates the balance of prepaid account.

Value range: -263

-263

-1

Not null

The default value is 0.

Page 149: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

139

SN Field Name Field Type Description

66 ChargeFromPostpai

d

Integer[8] Indicates the charge amount from postpaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

67 PostPaidBalance Integer[8] Indicates the balance of postpaid available

limitation.

Value range: -263

-263

-1

Not null

The default value is 0.

68 AccountID Char[20] Indicates the ID of the main account.

Value range: characters in [0-9, a-z, A-Z]

Not null

The default value is 0.

69 AccountKey Integer[8] Indicates the key of the main account.

Value range: -263

-263

-1

Not null

The default value is 0.

70 CurrencyCode Integer[4] Currency code. Also, if this field missed or

present be Zero, it means the system use

local minimal currency as default, and no

need to specify in CDR.

The default value is 0.

71 Reserved Char[20] -

72 AccountType1 Integer[4] Indicates the account type of the first

account.

0 means not used.

Not null

The default value is 0.

73 FeeType1 Integer[4] Indicates the fee type of the first account.

0 means not used.

Not null

The default value is 0.

74 ChargeAmount1 Integer[8] Indicates the changing amount of the first

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

Page 150: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

140

SN Field Name Field Type Description

75 CurrentAcctAmoun

t1

Integer[8] Indicates the current amount of the first

account.

Value range: -263

-263

-1

Not null

The default value is 0.

76 AccountType2 Integer[4] Indicates the account type of the second

account.

0 means not used.

Not null

The default value is 0.

77 FeeType2 Integer[4] Indicates the fee type of the second

account.

0 means not used.

Not null

The default value is 0.

78 ChargeAmount2 Integer[8] Indicates the changing amount of the

second account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

79 CurrentAcctAmoun

t2

Integer[8] Indicates the current amount of the second

account.

Value range: -263

-263

-1

Not null

The default value is 0.

80 AccountType3 Integer[4] Indicates the account type of the third

account.

0 means not used.

Not null

The default value is 0.

81 FeeType3 Integer[4] Indicates the fee type of the third account.

0 means not used.

Not null

The default value is 0.

82 ChargeAmount3 Integer[8] Indicates the changing amount of the third

account.

0 means not unchanged.

Value range: -263

-263

-1

Page 151: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

141

SN Field Name Field Type Description

Not null

The default value is 0.

83 CurrentAcctAmoun

t3

Integer[8] Indicates the current amount of the third

account.

Value range: -263

-263

-1

Not null

The default value is 0.

84 AccountType4 Integer[4] Indicates the account type of the fourth

account.

0 means not used.

Not null

The default value is 0.

85 FeeType4 Integer[4] Indicates the fee type of the fourth account.

0 means not used.

Not null

The default value is 0.

86 ChargeAmount4 Integer[8] Indicates the changing amount of the fourth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

87 CurrentAcctAmoun

t4

Integer[8] Indicates the current amount of the fourth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

88 AccountType5 Integer[4] Indicates the account type of the fifth

account.

0 means not used.

Not null

The default value is 0.

89 FeeType5 Integer[4] Indicates the fee type of the fifth account.

0 means not used.

Not null

The default value is 0.

90 ChargeAmount5 Integer[8] Indicates the changing amount of the fifth

account.

0 means not unchanged.

Page 152: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

142

SN Field Name Field Type Description

Value range: -263

-263

-1

Not null

The default value is 0.

91 CurrentAcctAmoun

t5 Integer[8] Indicates the current amount of the fifth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

92 AccountType6 Integer[4] Indicates the account type of the sixth

account.

0 means not used.

Not null

The default value is 0.

93 FeeType6 Integer[4] Indicates the fee type of the sixth account.

0 means not used.

Not null

The default value is 0.

94 ChargeAmount6 Integer[8] Indicates the changing amount of the sixth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

95 CurrentAcctAmoun

t6

Integer[8] Indicates the current amount of the sixth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

96 AccountType7 Integer[4] Indicates the account type of the seventh

account.

0 means not used.

Not null

The default value is 0.

97 FeeType7 Integer[4] Indicates the fee type of the seventh

account.

0 means not used.

Not null

The default value is 0.

98 ChargeAmount7 Integer[8] Indicates the changing amount of the

Page 153: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

143

SN Field Name Field Type Description

seventh account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

99 CurrentAcctAmoun

t7

Integer[8] Indicates the current amount of the seventh

account.

Value range: -263

-263

-1

Not null

The default value is 0.

100 AccountType8 Integer[4] Indicates the account type of the eighth

account.

0 means not used.

Not null

The default value is 0.

101 FeeType8 Integer[4] Indicates the fee type of the eighth account.

0 means not used.

Not null

The default value is 0.

102 ChargeAmount8 Integer[8] Indicates the changing amount of the

eighth account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

103 CurrentAcctAmoun

t8

Integer[8] Indicates the current amount of the eighth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

104 AccountType9 Integer[4] Indicates the account type of the ninth

account.

0 means not used.

Not null

The default value is 0.

105 FeeType9 Integer[4] Indicates the fee type of the ninth account.

0 means not used.

Not null

The default value is 0.

Page 154: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

144

SN Field Name Field Type Description

106 ChargeAmount9 Integer[8] Indicates the changing amount of the ninth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

107 CurrentAcctAmoun

t9

Integer[8] Indicates the current amount of the ninth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

108 AccountType10 Integer[4] Indicates the account type of the tenth

account.

0 means not used.

Not null

The default value is 0.

109 FeeType10 Integer[4] Indicates the fee type of the tenth account.

0 means not used.

Not null

The default value is 0.

110 ChargeAmount10 Integer[8] Indicates the changing amount of the tenth

account.

0 means not unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

111 CurrentAcctAmoun

t10

Integer[8] Indicates the current amount of the tenth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

112 BonusValidity1 Char[14] Indicates the validity period of the first

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

113 BonusValidity2 Char[14] Indicates the validity period of the second

rewarded resource. The validity period

does not change when fees are deducted

Page 155: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

145

SN Field Name Field Type Description

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

114 BonusValidity3 Char[14] Indicates the validity period of the third

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

115 BonusValidity4 Char[14] Indicates the validity period of the fourth

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

116 BonusValidity5 Char[14] Indicates the validity period of the fifth

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

117 BonusValidity6 Char[14] Indicates the validity period of the sixth

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

118 BonusValidity7 Char[14] Indicates the validity period of the seventh

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

119 BonusValidity8 Char[14] Indicates the validity period of the eighth

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

Page 156: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

146

SN Field Name Field Type Description

120 BonusValidity9 Char[14] Indicates the validity period of the ninth

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

121 BonusValidity10 Char[14] Indicates the validity period of the tenth

rewarded resource. The validity period

does not change when fees are deducted

from accounts. In this case, the validity

periods of consumption resources are not

recorded.

Format: YYYYMMDDhhmmss

122 OnlineType Integer[4] Indicates online type.

The options are as follows:

0: online

1: offline

The default value is 0.

123 Reserved Char[22] -

124 Reserved Char[23] -

125 Reserved Char[24] -

126 AddtionalInfo Char[256] Indicates the additional information about

the service.

Some additional information about the

service is recorded. In most cases, the

information is only useful for the specified

carrier.

The

[TORO-Furnished-Charging-Trigger-Information] field corresponds to the

AddtionalInfo field.

127 BearerType Integer[4] Indicates the type of bearer.

The default value is 0.

128 StartTime Char[14] Indicates the time when the data connected.

129 StopTime Char[14] Indicates the time when the data

disconnected.

130 BearerProtocolType Integer[4] Indicates the type of the bearer protocol.

When the interconnection between the

OCS system and the AAA system is

enabled, this field indicates the access

network type. The values of the field can

Page 157: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

147

SN Field Name Field Type Description

be extended later.

The options are as follows:

01: WAP/IP

10: HTTP/TCP/IP

20: STMP

30: RTSP

40: FTP

100: ADSL/LAN

101: Dial-Up/ISDN

102: WiFi

200: GPRS/UMTS

300: CDMA

400: WiMAX

500: TD-SCDMA

other: to be extended

The default value is 0.

131 ChargingID Char[20] Indicates the charge ID, the system can

charge the subscriber according to this ID.

132 ServiceLevel Integer[4] Indicates the level of the data service.

The default value is 0.

133 StartTimeOfBillCy

cle

Char[14] Indicates the start time of bill cycle.

134 ChargePartyIndicat

or

Char[1] Indicates the charging party.

The options are as follows:

1: The calling party is charged

2: The called party is charged

3: Charge of third party

4: Charge of parent & child card

5: Charge of calling party & VPN

The default value is 1.

135 SecondChargingPar

tyNumber

Char[64] Indicates the number of the other charging

party of the child-parent cards. In the

example, the value of the field is the

number of subscriber C.

The number is same as calling party

number in MO and called party number in

MT.

There are several special situations. Like

Child-Parent card feature, the calling party

number is the child, the charging party

number is the parent's number. This field is

Page 158: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

148

SN Field Name Field Type Description

null when the service is paid only by

account.

The number format are as follows:

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

136 SecondChargingPar

tyPayType

Char[1] Indicates the payment type of the other

charging party of the child-parent cards.

The options are as follows:

0: Prepaid

1: Postpaid

NOTE

If the value of the field is null, the system

records the payment type of the parent card

subscriber.

137 SecondChargingPar

tyBillCycleID

Char[20] Indicates the bill cycle ID of the other

charging party of the child-parent cards.

For example, the bill cycle ID of the parent

card.

Format: YYYYMMTT

The description of the format is as follows:

YYYY: indicates the year.

MM: indicates the month.

TT: indicates the type of a bill cycle.

138 Reserved Char[15] -

139 Reserved Char[10] -

140 Reserved Char[10] -

141 Reserved Char[15] -

142 Reserved Char[10] -

143 Reserved Char[10] -

144 Reserved Char[10] -

145 Reserved Char[10] -

146 Reserved Char[10] -

Page 159: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

149

SN Field Name Field Type Description

147 Reserved Char[10] -

148 Reserved Char[10] -

149 Reserved Char[10] -

150 Reserved Char[10] -

151 Reserved Char[10] -

152 Reserved Char[10] -

153 ChargeOfFluxSeco

ndAccounts

Integer[4] Indicates the free GPRS volume used from

others, such as the parent card, VPN.

Value range: -231

-231

-1

Not null

The default value is 0.

154 ChargeOfDurationS

econdAccounts

Integer[4] Indicates the total call time charge using

reward resource from others, such as the

parent card.

Value range: -231

-231

-1

Not null

The default value is 0.

155 ChargeOfFundSeco

ndAccounts

Integer[8] Indicates the total cost amount charging

from fund account of others, such as the

parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

156 ChargeFromSecond

PrepaidAccount

Integer[8] Indicates the charge amount from other

prepaid account.

Value range: -263

-263

-1

Not null

The default value is 0.

157 SecondPrepaidAcco

untBalance

Integer[8] Indicates the balance of other prepaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

158 ChargeFromSecond

PostpaidAccount

Integer[8] Indicates the charge amount from other

postpaid account.

Value range: -263

-263

-1

Not null

The default value is 0.

Page 160: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

150

SN Field Name Field Type Description

159 SecondPostpaidAcc

ountBalance

Integer[8] Indicates the balance of other postpaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

160 SecondAccountID Char[20] Indicates the main account ID of the other

charging party that the system deducts fees

from.

161 SecondAccountKey Integer[8] Indicates the main account key of the other

charging party that the system deducts fees

from.

Value range: -263

-263

-1

Not null

The default value is 0.

162 SecondAccountCur

rencyCode

Integer[4] Currency code of others, such as the parent

card. Also, if this field missed or present be

Zero, it means the system use local

minimal currency as default, and no need

to specify in CDR.

The default value is 0.

163 Reserved Char[20] -

164 SecondAccountTyp

e1

Integer[4] Indicates the account type of the first

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

165 SecondFeeType1 Integer[4] Indicates the fee type of the first account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

166 SecondChargeAmo

unt1

Integer[8] Indicates the changing amount of the first

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

167 SecondCurrentAcct

Amount1

Integer[8] Indicates the current amount of the first

account of others, such as the parent card.

Value range: -263

-263

-1

Page 161: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

151

SN Field Name Field Type Description

Not null

The default value is 0.

168 SecondAccountTyp

e2

Integer[4] Indicates the account type of the second

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

169 SecondFeeType2 Integer[4] Indicates the fee type of the second account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

170 SecondChargeAmo

unt2

Integer[8] Indicates the changing amount of the

second account of others, such as the

parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

171 SecondCurrentAcct

Amount2

Integer[8] Indicates the current amount of the second

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

172 SecondAccountTyp

e3

Integer[4] Indicates the account type of the third

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

173 SecondFeeType3 Integer[4] Indicates the fee type of the third account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

174 SecondChargeAmo

unt3

Integer[8] Indicates the changing amount of the third

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

Page 162: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

152

SN Field Name Field Type Description

175 SecondCurrentAcct

Amount3

Integer[8] Indicates the current amount of the third

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

176 SecondAccountTyp

e4

Integer[4] Indicates the account type of the fourth

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

177 SecondFeeType4 Integer[4] Indicates the fee type of the fourth account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

178 SecondChargeAmo

unt4

Integer[8] Indicates the changing amount of the fourth

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

179 SecondCurrentAcct

Amount4

Integer[8] Indicates the current amount of the fourth

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

180 SecondAccountTyp

e5

Integer[4] Indicates the account type of the fifth

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

181 SecondFeeType5 Integer[4] Indicates the fee type of the fifth account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

182 SecondChargeAmo

unt5

Integer[8] Indicates the changing amount of the fifth

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Page 163: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

153

SN Field Name Field Type Description

Not null

The default value is 0.

183 SecondCurrentAcct

Amount5

Integer[8] Indicates the current amount of the fifth

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

184 SecondBonusValidi

ty1

Char[14] Indicates the validity period of the first

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods

of consumption resources are not recorded.

Format: YYYYMMDDhhmmss

185 SecondBonusValidi

ty2

Char[14] Indicates the validity period of the second

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods

of consumption resources are not recorded.

Format: YYYYMMDDhhmmss

186 SecondBonusValidi

ty3

Char[14] Indicates the validity period of the third

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods

of consumption resources are not recorded.

Format: YYYYMMDDhhmmss

187 SecondBonusValidi

ty4

Char[14] Indicates the validity period of the fourth

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods

of consumption resources are not recorded.

Format: YYYYMMDDhhmmss

188 SecondBonusValidi

ty5

Char[14] Indicates the validity period of the fifth

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods

of consumption resources are not recorded.

Format: YYYYMMDDhhmmss

189 Reserved Integer[4] -

190 Reserved Integer[4] -

Page 164: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

154

SN Field Name Field Type Description

191 Reserved Integer[4] -

192 Reserved Char[25] -

193 Reserved Integer[4] -

194 Reserved Integer[4] -

195 SubscriberIDType Char[1] Indicates ID Type of Subscriber.

The options are as follows:

0: END_USER_E164

2: END_USER_SIP_URI

Not null

The default value is 0.

196 DiscountOfLastEff

Product

Integer[4] Indicates the discount percentage for the

last rated product that takes effect. For a

product that does not provide discounts, the

value is 100.

Value range: 0-100

NOTE

The value 0 is not included.

Not null

The default value is 100.

197 subscriberkey Integer[4] Indicates the key of a subscriber.

The default value is 0.

198 accumulationchang

e

Char[256] Indicates the change value of an

accumulative item.

The value format is as follows:

Accumulation ID 1, accumulation switch

time 1, change value 1; accumulation ID 2,

accumulation switch time 2, change value

2...

The value contains only numerals. The

account ID and balance change is separated

by a comma (,), and information of

different accounts is separated by a

semicolon (;). The information about up to

10 accounts can be included. The excess

account information will be discarded.

The default value is 0.

199 UsageServiceType Integer[4] Indicates the type of a real-time service.

The default value is 1400.

200 SourceSerialNo Integer[8] For the CDRs that are generated not for

re-rating, the default value of this field is 0.

For the CDRs that are generated for

Page 165: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

155

SN Field Name Field Type Description

re-rating, the value of this field is the

corresponding value in the original CDRs

for re-rating. If the re-rating is performed

multiple times, the value of this field

remains unchanged.

Not null

The default value is 0.

201 SourceSubSequenc

e

Integer[4] Indicates the sequence number when the

bill is split. For example, special

requirement of splitting on mid-night and

end of the bill cycle.

For the CDRs that are generated not for

re-rating, the default value of this field is 0.

For the CDRs that are generated for

re-rating, the value of this field is the

corresponding value in the original CDRs

for re-rating. If the re-rating is performed

multiple times, the value of this field

remains unchanged.

The default value is 0.

202 AcctBalChgList Char[768] Indicates the change value of balance

change.

The value format is as follows:

lAcctBalanceID, iProductKey, iFeeID,

iAmount0, iAmount1, iAcctBalanceType,

MeasureID, billCycleID;

The value contains only numerals. The

fields in each group are separated by

commas (,), and groups are separated by

semicolons (;). Up to 10 groups can be

included. The contents exceeding 10

groups will be discarded.

203 OriginCdrFilename Char[64] Indicates the name of a rated CDR.

The default value is 0.

204 CurCDRLineNo Integer[4] Indicates the number of the line where the

original CDR is located.

The default value is 0.

205 Reserved Integer[4] -

206 Reserved Integer[4] -

207 Reserved Integer[4] -

208 Reserved Integer[4] -

209 SecondSubscriberK

ey

Integer[4] Indicates the key value of a

entrusted-payment subscriber.

Page 166: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

156

SN Field Name Field Type Description

The default value is 0.

210 SecondProductID Integer[4] Reserved

211 accounttype1 Integer[4] Indicates the account type of the first fund

account.

The default value is 0.

212 BalanceBeforeChar

ge1

Integer[8] Indicates the balance of the first account

before the system deducts the fee from.

The default value is 0.

213 BalanceAfterCharg

e1

Integer[8] Indicates the balance of the first account

after the system deducts the fee from.

The default value is 0.

214 ChargeFee1 Integer[8] Indicates the cost amount charging from

the first account.

The default value is 0.

215 accounttype2 Integer[4] Indicates the account type of the second

fund account.

The default value is 0.

216 BalanceBeforeChar

ge2

Integer[8] Indicates the balance of the second account

before the system deducts the fee from.

The default value is 0.

217 BalanceAfterCharg

e2

Integer[8] Indicates the balance of the second account

after the system deducts the fee from.

The default value is 0.

218 ChargeFee2 Integer[8] Indicates the cost amount charging from

the second account.

The default value is 0.

219 accounttype3 Integer[4] Indicates the account type of the third fund

account.

The default value is 0.

220 BalanceBeforeChar

ge3

Integer[8] Indicates the balance of the third account

before the system deducts the fee from.

The default value is 0.

221 BalanceAfterCharg

e3

Integer[8] Indicates the balance of the third account

after the system deducts the fee from.

The default value is 0.

222 ChargeFee3 Integer[8] Indicates the cost amount charging from

the third account.

The default value is 0.

223 accounttype4 Integer[4] Indicates the account type of the forth fund

Page 167: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

157

SN Field Name Field Type Description

account.

The default value is 0.

224 BalanceBeforeChar

ge4

Integer[8] Indicates the balance of the forth account

before the system deducts the fee from.

The default value is 0.

225 BalanceAfterCharg

e4

Integer[8] Indicates the balance of the forth account

after the system deducts the fee from.

The default value is 0.

226 ChargeFee4 Integer[8] Indicates the cost amount charging from

the forth account.

The default value is 0.

227 accounttype5 Integer[4] Indicates the account type of the fifth

account.

The default value is 0.

228 BalanceBeforeChar

ge5

Integer[8] Indicates the balance of the fifth account

before the system deducts the fee from.

The default value is 0.

229 BalanceAfterCharg

e5

Integer[8] Indicates the balance of the fifth account

after the system deducts the fee from.

The default value is 0.

230 ChargeFee5 Integer[8] Indicates the cost amount charging from

the fifth account.

The default value is 0.

231 accounttype6 Integer[4] Indicates the account type of the sixth

account.

The default value is 0.

232 BalanceBeforeChar

ge6

Integer[8] Indicates the balance of the sixth account

before the system deducts the fee from.

The default value is 0.

233 BalanceAfterCharg

e6

Integer[8] Indicates the balance of the sixth account

after the system deducts the fee from.

The default value is 0.

234 ChargeFee6 Integer[8] Indicates the cost amount charging from

the sixth account.

The default value is 0.

235 accounttype7 Integer[4] Indicates the account type of the seventh

fund account.

The default value is 0.

236 BalanceBeforeChar Integer[8] Indicates the balance of the seventh

account before the system deducts the fee

Page 168: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

158

SN Field Name Field Type Description

ge7 from.

The default value is 0.

237 BalanceAfterCharg

e7

Integer[8] Indicates the balance of the seventh

account after the system deducts the fee

from.

The default value is 0.

238 ChargeFee7 Integer[8] Indicates the cost amount charging from

the seventh account.

The default value is 0.

239 accounttype8 Integer[4] Indicates the account type of the eighth

fund account.

The default value is 0.

240 BalanceBeforeChar

ge8

Integer[8] Indicates the balance of the eighth account

before the system deducts the fee from.

The default value is 0.

241 BalanceAfterCharg

e8

Integer[8] Indicates the balance of the eighth account

after the system deducts the fee from.

The default value is 0.

242 ChargeFee8 Integer[8] Indicates the cost amount charging from

the eighth account.

The default value is 0.

243 accounttype9 Integer[4] Indicates the account type of the ninth fund

account.

The default value is 0.

244 BalanceBeforeChar

ge9

Integer[8] Indicates the balance of the ninth account

before the system deducts the fee from.

The default value is 0.

245 BalanceAfterCharg

e9

Integer[8] Indicates the balance of the ninth account

after the system deducts the fee from.

The default value is 0.

246 ChargeFee9 Integer[8] Indicates the cost amount charging from

the ninth account.

The default value is 0.

247 accounttype10 Integer[4] Indicates the account type of the tenth fund

account.

The default value is 0.

248 BalanceBeforeChar

ge10

Integer[8] Indicates the balance of the tenth account

before the system deducts the fee from.

The default value is 0.

Page 169: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

159

SN Field Name Field Type Description

249 BalanceAfterCharg

e10

Integer[8] Indicates the balance of the tenth account

after the system deducts the fee from.

The default value is 0.

250 ChargeFee10 Integer[8] Indicates the cost amount charging from

the tenth account.

The default value is 0.

251 accounttype11 Integer[4] Indicates the account type of the eleventh

fund account.

The default value is 0.

252 BalanceBeforeChar

ge11

Integer[8] Indicates the balance of the eleventh

account before the system deducts the fee

from.

The default value is 0.

253 BalanceAfterCharg

e11

Integer[8] Indicates the balance of the eleventh

account after the system deducts the fee

from.

The default value is 0.

254 ChargeFee11 Integer[8] Indicates the cost amount charging from

the eleventh account.

The default value is 0.

255 accounttype12 Integer[4] Indicates the account type of the twelfth

fund account.

The default value is 0.

256 BalanceBeforeChar

ge12

Integer[8] Indicates the balance of the twelfth account

before the system deducts the fee from.

The default value is 0.

257 BalanceAfterCharg

e12

Integer[8] Indicates the balance of the twelfth account

after the system deducts the fee from.

The default value is 0.

258 ChargeFee12 Integer[8] Indicates the cost amount charging from

the twelfth account.

The default value is 0.

259 accounttype13 Integer[4] Indicates the account type of the thirteenth

fund account.

The default value is 0.

260 BalanceBeforeChar

ge13

Integer[8] Indicates the balance of the thirteenth

account before the system deducts the fee

from.

The default value is 0.

261 BalanceAfterCharg Integer[8] Indicates the balance of the thirteenth

Page 170: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

160

SN Field Name Field Type Description

e13 account after the system deducts the fee

from.

The default value is 0.

262 ChargeFee13 Integer[8] Indicates the cost amount charging from

the thirteenth account.

The default value is 0.

263 accounttype14 Integer[4] Indicates the account type of the fourteenth

fund account.

The default value is 0.

264 BalanceBeforeChar

ge14

Integer[8] Indicates the balance of the fourteenth

account before the system deducts the fee

from.

The default value is 0.

265 BalanceAfterCharg

e14

Integer[8] Indicates the balance of the fourteenth

account after the system deducts the fee

from.

The default value is 0.

266 ChargeFee14 Integer[8] Indicates the cost amount charging from

the fourteenth account.

The default value is 0.

267 accounttype15 Integer[4] Indicates the account type of the fifteenth

fund account.

The default value is 0.

268 BalanceBeforeChar

ge15

Integer[8] Indicates the balance of the fifteenth

account before the system deducts the fee

from.

The default value is 0.

269 BalanceAfterCharg

e15

Integer[8] Indicates the balance of the fifteenth

account after the system deducts the fee

from.

The default value is 0.

270 ChargeFee15 Integer[8] Indicates the cost amount charging from

the fifteenth account.

The default value is 0.

271 accounttype16 Integer[4] Indicates the account type of the sixteenth

fund account.

The default value is 0.

272 BalanceBeforeChar

ge16

Integer[8] Indicates the balance of the sixteenth

account before the system deducts the fee

from.

The default value is 0.

Page 171: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

161

SN Field Name Field Type Description

273 BalanceAfterCharg

e16

Integer[8] Indicates the balance of the sixteenth

account after the system deducts the fee

from.

The default value is 0.

274 ChargeFee16 Integer[8] Indicates the cost amount charging from

the sixteenth account.

The default value is 0.

275 accounttype17 Integer[4] Indicates the account type of the

seventeenth fund account.

The default value is 0.

276 BalanceBeforeChar

ge17

Integer[8] Indicates the balance of the seventeenth

account before the system deducts the fee

from.

The default value is 0.

277 BalanceAfterCharg

e17

Integer[8] Indicates the balance of the seventeenth

account after the system deducts the fee

from.

The default value is 0.

278 ChargeFee17 Integer[8] Indicates the cost amount charging from

the seventeenth account.

The default value is 0.

279 accounttype18 Integer[4] Indicates the account type of the eighteenth

fund account.

The default value is 0.

280 BalanceBeforeChar

ge18

Integer[8] Indicates the balance of the eighteenth

account before the system deducts the fee

from.

The default value is 0.

281 BalanceAfterCharg

e18

Integer[8] Indicates the balance of the eighteenth

account after the system deducts the fee

from.

The default value is 0.

282 ChargeFee18 Integer[8] Indicates the cost amount charging from

the eighteenth account.

The default value is 0.

283 accounttype19 Integer[4] Indicates the account type of the nineteenth

fund account.

The default value is 0.

284 BalanceBeforeChar

ge19

Integer[8] Indicates the balance of the nineteenth

account before the system deducts the fee

from.

Page 172: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

162

SN Field Name Field Type Description

The default value is 0.

285 BalanceAfterCharg

e19

Integer[8] Indicates the balance of the nineteenth

account after the system deducts the fee

from.

The default value is 0.

286 ChargeFee19 Integer[8] Indicates the cost amount charging from

the nineteenth account.

The default value is 0.

287 accounttype20 Integer[4] Indicates the account type of the twentieth

fund account.

The default value is 0.

288 BalanceBeforeChar

ge20 Integer[8] Indicates the balance of the twentieth

account before the system deducts the fee

from.

The default value is 0.

289 BalanceAfterCharg

e20

Integer[8] Indicates the balance of the twentieth

account after the system deducts the fee

from.

The default value is 0.

290 ChargeFee20 Integer[8] Indicates the cost amount charging from

the twentieth account.

The default value is 0.

3.1.6 vou CDR

Description

A vou CDR is generated when recharging or present successfully.

Generation Scenario

A vou CDR is generated in the following scenarios:

When an OCS subscriber uses the call service for the first time or activates the MSISDN

through the IVR recharge, the subscriber can obtain a certain bonus.

When an OCS subscriber uses a recharge card or cash for recharge, the system provides

a bonus.

The system successfully recharges an account in advance.

An OCS subscriber successfully recharges an account in advance through the IVR

management process.

Page 173: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

163

CDR File Name Format

vouYYYYMMDD_CBPNODE_Seqno.unl

Example of a vou CDR file name: vou20071112_101_000151.unl

Format

Table 3-7 describes each field of vou CDR file.

Table 3-7 Format of vou CDR

SN Field Name Field Type

Description

1 SerialNo Integer[8] Indicates the serial number.

It is generated by the system and the serial

number is exclusive.

Not null

The default value is 0.

2 TimeStamp Char[14] Indicates the timestamp of the bill item

generation.

Format: YYYYMMDDhhmmss

Not null

3 BrandID Integer[4] Indicates the brand ID of subscribers.

Not null

The default value is 0.

4 SubCOSID Integer[4] Indicates the main product ID of subscribers.

Not null

The default value is 0.

5 ChargingPartyNum

ber

Char[64] Indicates the telephone number of the

charging party.

The number is same as calling party number

in MO and called party number in MT.

There are several special situations. Like

Child-Parent card feature, the calling party

number is the child, the charging party

number is the parent's number. This field is

null when the service is paid only by account.

The number format are as follows:

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

Page 174: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

164

SN Field Name Field Type

Description

[email protected]

Value range: numerals within 0-9, *, #

NOTE

It can be null in MO.

6 PayType Char[1] Indicates the pay type of subscribers.

The options are as follows:

0: Prepaid

1: Postpaid

7 VoucherPINNumb

er

Char[32] Record as null.

8 VoucherBatchNum

ber

Char[12] Indicates the batch number of a recharge

voucher.

NOTE

It can not be null for voucher card recharge.

9 VoucherSequence Char[20] Indicates the serial number of a recharge

voucher.

NOTE

It can not be null for voucher card recharge.

10 VoucherCosID Integer[4] Indicates the type of a recharge voucher.

The default value is 0.

11 VoucherSPID Char[20] Indicates the ID of the recharge card

distributor in the case of using a recharge

card to recharge.

Indicates the ID of the e-top or e-voucher

distributor in the case of cash recharge.

Indicates the bank ID or the bank code in

the case of recharging through an ATM or

a bank.

The default value is 0.

12 CardFaceValue Integer[8] Indicates the face value of a recharge card.

Unit: minimum currency unit

Not null

The default value is 0.

13 CardValueAdded Integer[8] Indicates the money for preference.

Unit: minimum currency unit

Not null

The default value is 0.

14 CardValidityAdde

d

Integer[4] Indicates the validity period for preference.

Not null

Page 175: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

165

SN Field Name Field Type

Description

The default value is 0.

15 TradeTime Char[19] Indicates the recharge time.

Format: YYYYMMDDhhmmss

Not null

16 OperatedBy Char[64] Indicates the number of the operator.

17 ThirdPartyNumber Char[64] Indicates the number that recharges accounts.

The calling number with an international

number prefix.

The number format are as follows:

Country code + Area number + PSTN

The number format is the format of the

fixed-line phone number.

Country code + MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

NOTE

It can not null when recharge to others.

18 AccessMethod Integer[4] Indicates the access method.

1: IVR

2: USSD

3: SMS

4: SMAP

5: WebService interface

6: RTBP(for Ufone)

Not null

The default value is 0.

19 TradeType Char[12] Indicates the recharge type. The format

combined with several factors, like access

method, whether is third-party recharge.

The options are as follows:

0: first activation

2: Voucher recharge through IVR from

self phone

6: Voucher recharge through USSD from

self phone

7: Voucher recharge by operator/external

system (manual recharge)

Page 176: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

166

SN Field Name Field Type

Description

8: First activation with recharge card

9: First activation with cash

10: Loan from USSD

11: Loan from IVR

999: EVC recharge

1001: Cash recharge

1002: ATM recharge

1007: Loan

2018: S-Voucher by third-party

2019: E-Voucher by third-party

Not null

20 RechargeAreaNum

ber

Integer[4] Indicates the number of the area in which the

request is initiated.

The area number is recorded here if it can be

obtained from the interface.

If it can't be obtained from the interface, the

value of area number is 0, -1 or 9999.

The default value is 0.

21 TransitionID Char[36] Indicates the transaction ID.

22 VoucherEncryptNu

mber

Char[22] Record as null.

23 CallingCellID Char[20] Indicates the cell ID of the calling party,

which is directly filled in according to the

IDP report.

Value range: numerals within 0-9, *, #

24 Reserved Integer[4] -

25 Reserved Char[25] -

26 ProductID Char[20] Indicates the last effect rating product.

For example, ordinary recharges, recharge

rewards, and recharge packages.

27 ServiceType Char[20] Reserved

28 OldUserState Char[10] Indicates the life cycle state and the

management state of a subscriber before

recharging.

The OldUserState parameter is a numeric

string of seven digits, in the format

CCMMMMM.

The first and second digits C indicate the life

cycle state of a subscriber. The first digit C

indicates the state of a prepaid subscriber, and

Page 177: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

167

SN Field Name Field Type

Description

the second digit C indicates the state of a

postpaid subscriber. The options are as

follows:

0: Idle

1: Active

2: Suspended

3: Disable

4: Pool

5: Pool without activation

The next five digits MMMMM indicate the

management state of a subscriber. The

options are as follows:

Third digit: Whether the subscriber claims

missing.

0: no

1: yes

Fourth digit: Whether the subscriber suspends

the service.

0: non-suspend

1: suspend

2: suspend by operator (B1W)

3: suspend by operator (B2W)

Fifth digit: Whether the subscriber applies for

suspension with the number being reserved.

0: no

1: yes

Sixth digit: Whether the subscriber is

blocked.

0: no

1: yes

Seventh digit: Whether the subscriber is

blacklisted.

0: no

1: yes

29 CurrentUserSate Char[10] Indicates the life cycle state and the

management state of a subscriber after

recharging.

The CurrUserState parameter is a numeric

string of seven digits, in the format

CCMMMMM.

The first and second digits C indicate the life

cycle state of a subscriber. The first digit C

indicates the state of a prepaid subscriber, and

Page 178: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

168

SN Field Name Field Type

Description

the second digit C indicates the state of a

postpaid subscriber. The options are as

follows:

0: Idle

1: Active

2: Suspended

3: Disable

4: Pool

5: Pool without activation

The next five digits MMMMM indicate the

management state of a subscriber. The

options are as follows:

Third digit: Whether the subscriber claims

missing.

0: no

1: yes

Fourth digit: Whether the subscriber suspends

the service.

0: non-suspend

1: suspend

2: suspend by operator (B1W)

3: suspend by operator (B2W)

Fifth digit: Whether the subscriber applies for

suspension with the number being reserved.

0: no

1: yes

Sixth digit: Whether the subscriber is

blocked.

0: no

1: yes

Seventh digit: Whether the subscriber is

blacklisted.

0: no

1: yes

30 PreviousActivestop Char[14] Indicates the expiration of the Active before

recharging.

Format: YYYYMMDDhhmmss

31 NewActivestop Char[14] Indicates the expiration of the Active after

recharging.

Format: YYYYMMDDhhmmss

32 SuspendStop Char[14] Indicates the expiration of the Suspend after

Page 179: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

169

SN Field Name Field Type

Description

recharging.

Format: YYYYMMDDhhmmss

33 DisableStop Char[14] Indicates the expiration of the Disable after

recharging.

Format: YYYYMMDDhhmmss

34 ValidityAdded Integer[4] Indicates the actually validity added after

recharging.

Not null

The default value is 0.

35 RewardCycles Integer[4] Indicates the number of installment rebate

periods.

For the one-off reward, the value of this field

is 1.

Not null

The default value is 0.

36 RebateSchemaID Char[20] Indicates the ID of the installment rebate

plan.

37 BillCycleID Char[20] Indicates the bill cycle ID.

Format: YYYYMMTT

YYYY: indicates the year.

MM: indicates the month.

TT: indicates the type of a bill cycle.

Value range: numerals within 0-9

38 SubscriberID Char[20] Indicates the subscriber ID.

Value range: characters in [0-9, a-z, A-Z]

39 Reserved Char[20] -

40 ResultCode Integer[4] Indicates the internal result code.

Value range: -231

-231

-1

The default value is 0.

41 AccountID Char[20] Indicates the ID of the main account.

Value range: characters in [0-9, a-z, A-Z]

42 RechargeTax Integer[8] Indicates the recharge tax.

The system deducts the recharge tax when a

subscriber recharges an account.

The default value is 0.

43 RechargePenalty Integer[8] Indicates the penalty for the recharge.

Sometimes, some kind of one-off charge for

first activation or recharge will also be

Page 180: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

170

SN Field Name Field Type

Description

recorded in this field.

The default value is 0.

44 CurrencyCode Integer[4] Currency code. Also, if this field missed or

present be Zero, it means the system use local

minimal currency as default, and no need to

specify in CDR.

The default value is 0.

45 Reserved Char[20] -

46 PrepaidBalanceBef

ore

Integer[8] Indicates the balance of prepaid account

before recharging.

Unit: minimum currency unit

Not null

The default value is 0.

47 RechargeForPrepai

d

Integer[8] Indicates the recharge amount for prepaid

account.

Unit: minimum currency unit

Not null

The default value is 0.

48 PrepaidBalance Integer[8] Indicates the balance of prepaid account after

recharging.

Unit: minimum currency unit

Not null

The default value is 0.

49 PostPaidBalanceBe

fore

Integer[8] Indicates the balance of postpaid account

before recharging.

Value range: -263

-263

-1

Unit: minimum currency unit

Not null

The default value is 0.

50 RechargeForPostpa

id

Integer[8] Indicates the recharge amount for postpaid

account.

Unit: minimum currency unit

Not null

The default value is 0.

51 PostPaidBalance Integer[8] Indicates the balance of postpaid account

after recharging.

Value range: -263

-263

-1

Unit: minimum currency unit

Not null

Page 181: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

171

SN Field Name Field Type

Description

The default value is 0.

52 AccountType1 Integer[4] Indicates the account type of the first account.

Not null

The default value is 0.

53 ChargeAmount1 Integer[8] Indicates the reward amount of the first

account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

54 CurrentAcctAmou

nt1

Integer[8] Indicates the current changing amount of the

first account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

55 AccountType2 Integer[4] Indicates the account type of the second

account.

Not null

The default value is 0.

56 ChargeAmount2 Integer[8] Indicates the reward amount of the second

account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

57 CurrentAcctAmou

nt2

Integer[8] Indicates the current changing amount of the

second account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

58 AccountType3 Integer[4] Indicates the account type of the third

account.

Not null

The default value is 0.

59 ChargeAmount3 Integer[8] Indicates the reward amount of the third

account.

Page 182: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

172

SN Field Name Field Type

Description

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

60 CurrentAcctAmou

nt3

Integer[8] Indicates the current changing amount of the

third account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

61 AccountType4 Integer[4] Indicates the account type of the fourth

account.

Not null

The default value is 0.

62 ChargeAmount4 Integer[8] Indicates the reward amount of the fourth

account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

63 CurrentAcctAmou

nt4

Integer[8] Indicates the current changing amount of the

fourth account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

64 AccountType5 Integer[4] Indicates the account type of the fifth

account.

Not null

The default value is 0.

65 ChargeAmount5 Integer[8] Indicates the reward amount of the fifth

account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

66 CurrentAcctAmou

nt5

Integer[8] Indicates the current changing amount of the

fifth account.

Unit: minimum currency unit

Page 183: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

173

SN Field Name Field Type

Description

Value range: -263

-263

-1

Not null

The default value is 0.

67 AccountType6 Integer[4] Indicates the account type of the sixth

account.

Not null

The default value is 0.

68 ChargeAmount6 Integer[8] Indicates the reward amount of the sixth

account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

69 CurrentAcctAmou

nt6

Integer[8] Indicates the current changing amount of the

sixth account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

70 AccountType7 Integer[4] Indicates the account type of the seventh

account.

Not null

The default value is 0.

71 ChargeAmount7 Integer[8] Indicates the reward amount of the seventh

account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

72 CurrentAcctAmou

nt7

Integer[8] Indicates the current changing amount of the

seventh account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

73 AccountType8 Integer[4] Indicates the account type of the eighth

account.

Not null

The default value is 0.

Page 184: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

174

SN Field Name Field Type

Description

74 ChargeAmount8 Integer[8] Indicates the reward amount of the eighth

account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

75 CurrentAcctAmou

nt8

Integer[8] Indicates the current changing amount of the

eighth account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

76 AccountType9 Integer[4] Indicates the account type of the ninth

account.

Not null

The default value is 0.

77 ChargeAmount9 Integer[8] Indicates the reward amount of the ninth

account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

78 CurrentAcctAmou

nt9

Integer[8] Indicates the current changing amount of the

ninth account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

79 AccountType10 Integer[4] Indicates the account type of the tenth

account.

Not null

The default value is 0.

80 ChargeAmount10 Integer[8] Indicates the reward amount of the tenth

account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

81 CurrentAcctAmou Integer[8] Indicates the current changing amount of the

Page 185: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

175

SN Field Name Field Type

Description

nt10 tenth account.

Unit: minimum currency unit

Value range: -263

-263

-1

Not null

The default value is 0.

82 BonusValidity1 Char[14] Indicates the validity period of the first

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

83 BonusValidity2 Char[14] Indicates the validity period of the second

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

84 BonusValidity3 Char[14] Indicates the validity period of the third

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

85 BonusValidity4 Char[14] Indicates the validity period of the fourth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

86 BonusValidity5 Char[14] Indicates the validity period of the fifth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

87 BonusValidity6 Char[14] Indicates the validity period of the sixth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

88 BonusValidity7 Char[14] Indicates the validity period of the seventh

rewarded resource. The validity period does

not change when fees are deducted from

Page 186: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

176

SN Field Name Field Type

Description

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

89 BonusValidity8 Char[14] Indicates the validity period of the eighth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

90 BonusValidity9 Char[14] Indicates the validity period of the ninth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

91 BonusValidity10 Char[14] Indicates the validity period of the tenth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

92 PreviousSuspendSt

op Char[14] Indicates the expiration date of Suspend state

before recharging.

Format: YYYYMMDDhhmmss

93 PreviousDisableSt

op

Char[14] Indicates the expiry date of Disable state

before recharging.

Format: YYYYMMDDhhmmss

94 AgentName Char[64] The name of the agent.

This field indicates the information of

provider of recharge channel.

95 AddtionalInfo Char[256] Indicates additional service information. The

additional service information is recorded in

combination mode. In normal cases, the

additional information is intended for

specified carriers.

In this office, the AddtionalInfo field records

accumulator changes in the recharge process.

Format: $ID,$old,$new;

Format: $ID,$old,$new;

NOTE

When a subscriber has multiple accumulator

changes, this field records all the changes.

96 StartTimeOfBillCy Char[14] Indicates the start time of bill cycle.

Page 187: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

177

SN Field Name Field Type

Description

cle

97 LoanAmount Integer[8] Indicates the loan amount.

98 LoanPoundage Integer[8] Indicates the loan poundage.

99 Reserved Integer[4] -

100 Reserved Integer[8] -

101 Reserved Integer[8] -

102 Reserved Integer[8] -

103 Reserved Integer[4] -

104 Reserved Char[14] -

105 Reserved Char[14] -

106 Reserved Integer[4] -

107 Reserved Integer[4] -

108 Reserved Char[20] -

109 SubscriberIDType Char[1] Indicates ID Type of Subscriber.

The options are as follows:

0: END_USER_E164

2: END_USER_SIP_URI

Not null

The default value is 0.

110 DiameterSessionID Char[128] Indicates the session id that generated during

the interaction between the SCP and the CBP.

The field includes parts as follows:

<DiameterIdentity>;<high 32 bits>;<low 32

bits>[;<optional value>].

<DiameterIdentity>: same as Origin-Host;

<high 32 bits>: the current day

<low 32 bits>: increase by degrees

circulatory, the start value is 0. Set the

value is 0 when the system restarts.

<optional value>: reserved.

Every fields are separated by a character ";".

Example:

SCP001.huawei.com;1876543210;523

111 subscriberkey Integer[4] Indicates the key of a subscriber.

The default value is 0.

112 accountkey Integer[8] Indicates the key of a account.

Page 188: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

178

SN Field Name Field Type

Description

The default value is 0.

113 UsageServiceType Integer[4] Indicates the type of a real-time service.

The default value is 1700.

114 OriginCdrFilename Char[64] Indicates the name of a rated CDR.

The default value is 0.

115 CurCDRLineNo Integer[4] Indicates the number of the line where the

original CDR is located.

The default value is 0.

116 Reason Integer[4] Indicates the recharge reason type.

The default value is -1.

117 Comment Char[256] Indicates the recharge reason description.

118 LoanGrade Integer[4] Indicates the loan grade.

Not null

The default value is -1.

119 LoanAcctType Integer[4] Indicates the loan account type.

Not null

The default value is 0.

120 LoanAcctBalance Integer[8] Indicates the loan account balance.

Not null

The default value is 0.

121 ETUGracePeriod Char[14] Indicates the latest proactive time for a

subscriber to pay for the loan.

122 Reserved Integer[8] -

123 Reserved Integer[8] -

124 Reserved Integer[8] -

125 Reserved Integer[8] -

126 FeeType1 Integer[4] Indicates the fee type of the first account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

127 FeeType2 Integer[4] Indicates the fee type of the second account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Page 189: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

179

SN Field Name Field Type

Description

Not null

The default value is 0.

128 FeeType3 Integer[4] Indicates the fee type of the third account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

129 FeeType4 Integer[4] Indicates the fee type of the fourth account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

130 FeeType5 Integer[4] Indicates the fee type of the fifth account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

131 FeeType6 Integer[4] Indicates the fee type of the sixth account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

132 FeeType7 Integer[4] Indicates the fee type of the seventh account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

133 FeeType8 Integer[4] Indicates the fee type of the eighth account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

134 FeeType9 Integer[4] Indicates the fee type of the ninth account.

Page 190: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

180

SN Field Name Field Type

Description

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

135 FeeType10 Integer[4] Indicates the fee type of the tenth account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

136 accounttype1 Integer[4] Indicates the account type of the first fund

account.

The default value is 0.

137 BalanceBeforeCha

rge1

Integer[8] Indicates the balance of the first account

before the system deducts the fee from.

The default value is 0.

138 BalanceAfterCharg

e1

Integer[8] Indicates the balance of the first account after

the system deducts the fee from.

The default value is 0.

139 ChargeFee1 Integer[8] Indicates the cost amount charging from the

first account.

The default value is 0.

140 accounttype2 Integer[4] Indicates the account type of the second fund

account.

The default value is 0.

141 BalanceBeforeCha

rge2

Integer[8] Indicates the balance of the second account

before the system deducts the fee from.

The default value is 0.

142 BalanceAfterCharg

e2

Integer[8] Indicates the balance of the second account

after the system deducts the fee from.

The default value is 0.

143 ChargeFee2 Integer[8] Indicates the cost amount charging from the

second account.

The default value is 0.

144 accounttype3 Integer[4] Indicates the account type of the third fund

account.

145 BalanceBeforeCha

rge3

Integer[8] Indicates the balance of the third account

before the system deducts the fee from.

Page 191: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

181

SN Field Name Field Type

Description

The default value is 0.

146 BalanceAfterCharg

e3

Integer[8] Indicates the balance of the third account

after the system deducts the fee from.

The default value is 0.

147 ChargeFee3 Integer[8] Indicates the cost amount charging from the

third account.

The default value is 0.

148 accounttype4 Integer[4] Indicates the account type of the forth fund

account.

The default value is 0.

149 BalanceBeforeCha

rge4

Integer[8] Indicates the balance of the forth account

before the system deducts the fee from.

The default value is 0.

150 BalanceAfterCharg

e4

Integer[8] Indicates the balance of the forth account

after the system deducts the fee from.

The default value is 0.

151 ChargeFee4 Integer[8] Indicates the cost amount charging from the

forth account.

The default value is 0.

152 accounttype5 Integer[4] Indicates the account type of the fifth

account.

The default value is 0.

153 BalanceBeforeCha

rge5

Integer[8] Indicates the balance of the fifth account

before the system deducts the fee from.

The default value is 0.

154 BalanceAfterCharg

e5

Integer[8] Indicates the balance of the fifth account after

the system deducts the fee from.

The default value is 0.

155 ChargeFee5 Integer[8] Indicates the cost amount charging from the

fifth account.

The default value is 0.

156 accounttype6 Integer[4] Indicates the account type of the sixth

account.

The default value is 0.

157 BalanceBeforeCha

rge6

Integer[8] Indicates the balance of the sixth account

before the system deducts the fee from.

The default value is 0.

158 BalanceAfterCharg Integer[8] Indicates the balance of the sixth account

Page 192: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

182

SN Field Name Field Type

Description

e6 after the system deducts the fee from.

The default value is 0.

159 ChargeFee6 Integer[8] Indicates the cost amount charging from the

sixth account.

The default value is 0.

160 accounttype7 Integer[4] Indicates the account type of the seventh fund

account.

The default value is 0.

161 BalanceBeforeCha

rge7

Integer[8] Indicates the balance of the seventh account

before the system deducts the fee from.

The default value is 0.

162 BalanceAfterCharg

e7

Integer[8] Indicates the balance of the seventh account

after the system deducts the fee from.

The default value is 0.

163 ChargeFee7 Integer[8] Indicates the cost amount charging from the

seventh account.

The default value is 0.

164 accounttype8 Integer[4] Indicates the account type of the eighth fund

account.

The default value is 0.

165 BalanceBeforeCha

rge8

Integer[8] Indicates the balance of the eighth account

before the system deducts the fee from.

The default value is 0.

166 BalanceAfterCharg

e8

Integer[8] Indicates the balance of the eighth account

after the system deducts the fee from.

The default value is 0.

167 ChargeFee8 Integer[8] Indicates the cost amount charging from the

eighth account.

The default value is 0.

168 accounttype9 Integer[4] Indicates the account type of the ninth fund

account.

The default value is 0.

169 BalanceBeforeCha

rge9

Integer[8] Indicates the balance of the ninth account

before the system deducts the fee from.

The default value is 0.

170 BalanceAfterCharg

e9

Integer[8] Indicates the balance of the ninth account

after the system deducts the fee from.

The default value is 0.

Page 193: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

183

SN Field Name Field Type

Description

171 ChargeFee9 Integer[8] Indicates the cost amount charging from the

ninth account.

The default value is 0.

172 accounttype10 Integer[4] Indicates the account type of the tenth fund

account.

The default value is 0.

173 BalanceBeforeCha

rge10

Integer[8] Indicates the balance of the tenth account

before the system deducts the fee from.

The default value is 0.

174 BalanceAfterCharg

e10

Integer[8] Indicates the balance of the tenth account

after the system deducts the fee from.

The default value is 0.

175 ChargeFee10 Integer[8] Indicates the cost amount charging from the

tenth account.

The default value is 0.

176 accounttype11 Integer[4] Indicates the account type of the eleventh

fund account.

The default value is 0.

177 BalanceBeforeCha

rge11

Integer[8] Indicates the balance of the eleventh account

before the system deducts the fee from.

The default value is 0.

178 BalanceAfterCharg

e11

Integer[8] Indicates the balance of the eleventh account

after the system deducts the fee from.

The default value is 0.

179 ChargeFee11 Integer[8] Indicates the cost amount charging from the

eleventh account.

The default value is 0.

180 accounttype12 Integer[4] Indicates the account type of the twelfth fund

account.

The default value is 0.

181 BalanceBeforeCha

rge12

Integer[8] Indicates the balance of the twelfth account

before the system deducts the fee from.

The default value is 0.

182 BalanceAfterCharg

e12

Integer[8] Indicates the balance of the twelfth account

after the system deducts the fee from.

The default value is 0.

183 ChargeFee12 Integer[8] Indicates the cost amount charging from the

twelfth account.

The default value is 0.

Page 194: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

184

SN Field Name Field Type

Description

184 accounttype13 Integer[4] Indicates the account type of the thirteenth

fund account.

The default value is 0.

185 BalanceBeforeCha

rge13

Integer[8] Indicates the balance of the thirteenth account

before the system deducts the fee from.

The default value is 0.

186 BalanceAfterCharg

e13

Integer[8] Indicates the balance of the thirteenth account

after the system deducts the fee from.

The default value is 0.

187 ChargeFee13 Integer[8] Indicates the cost amount charging from the

thirteenth account.

The default value is 0.

188 accounttype14 Integer[4] Indicates the account type of the fourteenth

fund account.

The default value is 0.

189 BalanceBeforeCha

rge14

Integer[8] Indicates the balance of the fourteenth

account before the system deducts the fee

from.

The default value is 0.

190 BalanceAfterCharg

e14

Integer[8] Indicates the balance of the fourteenth

account after the system deducts the fee from.

The default value is 0.

191 ChargeFee14 Integer[8] Indicates the cost amount charging from the

fourteenth account.

The default value is 0.

192 accounttype15 Integer[4] Indicates the account type of the fifteenth

fund account.

The default value is 0.

193 BalanceBeforeCha

rge15

Integer[8] Indicates the balance of the fifteenth account

before the system deducts the fee from.

The default value is 0.

194 BalanceAfterCharg

e15 Integer[8] Indicates the balance of the fifteenth account

after the system deducts the fee from.

The default value is 0.

195 ChargeFee15 Integer[8] Indicates the cost amount charging from the

fifteenth account.

The default value is 0.

196 accounttype16 Integer[4] Indicates the account type of the sixteenth

fund account.

Page 195: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

185

SN Field Name Field Type

Description

The default value is 0.

197 BalanceBeforeCha

rge16

Integer[8] Indicates the balance of the sixteenth account

before the system deducts the fee from.

The default value is 0.

198 BalanceAfterCharg

e16

Integer[8] Indicates the balance of the sixteenth account

after the system deducts the fee from.

The default value is 0.

199 ChargeFee16 Integer[8] Indicates the cost amount charging from the

sixteenth account.

The default value is 0.

200 accounttype17 Integer[4] Indicates the account type of the seventeenth

fund account.

The default value is 0.

201 BalanceBeforeCha

rge17

Integer[8] Indicates the balance of the seventeenth

account before the system deducts the fee

from.

The default value is 0.

202 BalanceAfterCharg

e17

Integer[8] Indicates the balance of the seventeenth

account after the system deducts the fee from.

The default value is 0.

203 ChargeFee17 Integer[8] Indicates the cost amount charging from the

seventeenth account.

The default value is 0.

204 accounttype18 Integer[4] Indicates the account type of the eighteenth

fund account.

The default value is 0.

205 BalanceBeforeCha

rge18 Integer[8] Indicates the balance of the eighteenth

account before the system deducts the fee

from.

The default value is 0.

206 BalanceAfterCharg

e18

Integer[8] Indicates the balance of the eighteenth

account after the system deducts the fee from.

The default value is 0.

207 ChargeFee18 Integer[8] Indicates the cost amount charging from the

eighteenth account.

The default value is 0.

208 accounttype19 Integer[4] Indicates the account type of the nineteenth

fund account.

The default value is 0.

Page 196: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

186

SN Field Name Field Type

Description

209 BalanceBeforeCha

rge19

Integer[8] Indicates the balance of the nineteenth

account before the system deducts the fee

from.

The default value is 0.

210 BalanceAfterCharg

e19

Integer[8] Indicates the balance of the nineteenth

account after the system deducts the fee from.

The default value is 0.

211 ChargeFee19 Integer[8] Indicates the cost amount charging from the

nineteenth account.

The default value is 0.

212 accounttype20 Integer[4] Indicates the account type of the twentieth

fund account.

The default value is 0.

213 BalanceBeforeCha

rge20

Integer[8] Indicates the balance of the twentieth account

before the system deducts the fee from.

The default value is 0.

214 BalanceAfterCharg

e20

Integer[8] Indicates the balance of the twentieth account

after the system deducts the fee from.

The default value is 0.

215 ChargeFee20 Integer[8] Indicates the cost amount charging from the

twentieth account.

The default value is 0.

3.1.7 mon CDR

Description

An mon CDR records the information about the monthly fee and the bonus.

Generation Scenario

When an OCS subscriber subscribes to a package, and the system successfully deducts the

monthly fee from the account of the subscriber or the system rebates resources to the

subscriber periodically, an mon CDR is generated.

For the description of child-parent cards, see section 3.1.2 rec CDR .

CDR File Name Format

monYYYYMMDD_CBPNODE_Seqno.unl

Example of an mon CDR file name: mon20071112_101_000151.unl

Page 197: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

187

Format

Table 3-8 describes each field of mon CDR file.

Table 3-8 Format of mon CDR

SN Field Name Field Type Description

1 SerialNo Integer[8] Indicates the serial number.

It is generated by the system and the serial

number is exclusive.

Not null

The default value is 0.

2 TimeStamp Char[14] Indicates the timestamp of the bill item

generation.

Format: YYYYMMDDhhmmss

Not null

3 BrandID Integer[4] Indicates the brand ID of subscriber.

Not null

The default value is 0.

4 SubCOSID Integer[4] Indicates the main product ID of subscribers.

Not null

The default value is 0.

5 PayType Char[1] Indicates the pay type of subscribers.

The options are as follows:

0: Prepaid

1: Postpaid

Not null

6 ChargingPartyNu

mber

Char[64] Indicates the charging party ID.

It can be the MSISDN, customer ID.

Value range: numerals within 0-9, *, #

Not null

7 ChargingPartyTyp

e

Char[1] Indicates the type of charging party.

The options are as follows:

0: MSISDN subscriber

1: Customer ID

2: Group No

Not null

8 Reserved Integer[4] -

9 BillCycleID Char[20] Indicates the bill cycle ID.

Format: YYYYMMTT

YYYY: indicates the year.

Page 198: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

188

SN Field Name Field Type Description

MM: indicates the month.

TT: indicates the type of a bill cycle.

Value range: numerals within 0-9

10 CycleBeginTime Char[14] Indicates the start time of a rental cycle.

Format: YYYYMMDDhhmmss

Not null

The default value is 0.

11 CycleEndTime Char[14] Indicates the end time of a rental cycle.

The default value is 0.

12 CycleType Integer[4] Indicates the cycle type.

The value of this field is configurable

according to different template parameters.

The options are as follows:

1: bill cycle

Indicates that the cycle is the bill cycle.

2: days

Indicates that the cycle is days.

3: weeks

Indicates that the cycle is weeks.

4: months

Indicates that the cycle is months.

Other: reserved

Not null

The default value is 0.

13 CycleLength Integer[4] Indicates the length of a bill cycle.

The value of this field is configurable

according to different template parameters.

Not null

The default value is 0.

14 ElapseCycles Integer[4] Indicates the number of bill cycles.

Not null

The default value is 0.

15 InnerCycleBeginTi

me

Char[14] Indicates the start time of an inner bill cycle.

Format: YYYYMMDDhhmmss

Not null

The default value is 0.

16 InnerCycleEndTim

e

Char[14] Indicates the end time of an inner bill cycle.

Format: YYYYMMDDhhmmss

Page 199: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

189

SN Field Name Field Type Description

Not null

The default value is 0.

17 ProductID Char[20] Indicates the ID of a product or product

package that corresponds to a rental type or

package.

Not null

18 ServiceType Integer[4] Indicates the service included in the product.

For example, CID, RBT, FN, and

CallScreen. They are predefined in the OCS,

like:

1: Voice

2: SMS

3: MMS

4: GPRS

6: RBT

8: VoiceVideoPhoneService

9: VoiceData

10: VoiceFax

11: Content

20: FN

21: HomeZone

22: CallScreen

24: VoIP

26: CUG

33: Package

38: OneTimePackage

41: MCN

42: VMS

45: DestNumber

50: AOC

63: SuperBuddy

73: DailyBucket

106: RBT_MO

117: Text tone

Not null

The default value is 0.

19 UserState Char[10] Indicates the life cycle state and the

management state of a subscriber.

The UserState parameter is a numeric string

of seven digits, in the format CCMMMMM.

The first and second digits C indicate the life

Page 200: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

190

SN Field Name Field Type Description

cycle state of a subscriber. The first digit C

indicates the state of a prepaid subscriber,

and the second digit C indicates the state of a

postpaid subscriber. The options are as

follows:

0: Idle

1: Active

2: Suspended

3: Disable

4: Pool

5: Pool without activation

The next five digits MMMMM indicate the

management state of a subscriber. The

options are as follows:

Third digit: Whether the subscriber claims

missing.

0: no

1: yes

Fourth digit: Whether the subscriber

suspends the service.

0: non-suspend

1: suspend

2: suspend by operator (B1W)

3: suspend by operator (B2W)

Fifth digit: Whether the subscriber applies

for suspension with the number being

reserved.

0: no

1: yes

Sixth digit: Whether the subscriber is

blocked.

0: no

1: yes

Seventh digit: Whether the subscriber is

blacklisted.

0: no

1: yes

Not null

20 SubscriberID Char[20] Indicates the subscriber ID.

Value range: characters in [0-9, a-z, A-Z]

Not null

21 OrderStatus Char[20] Indicates the subscription relation status.

Page 201: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

191

SN Field Name Field Type Description

The options are as follows:

0: normal

1: suspend

2: not activated

3: expired

The default value is 0.

22 TotalCycles Integer[4] Record the number of periods for installation

reward.

The default value is 0.

23 Reserved Char[20] -

24 Reserved Char[20] -

25 ResultCode Integer[4] Indicates the internal result code.

Value range: -231

-231

-1

The default value is 0.

26 ChargeOfItemsAcc

ounts

Integer[8] Indicates the free call times used.

Value range: -263

-263

-1

Not null

The default value is 0.

27 DeductResourceAc

counts

Integer[4] Indicates the total call time charge using

reward resource.

Not null

The default value is 0.

28 DeductFundAccou

nts

Integer[4] Indicates the total cost amount charging from

fund account.

Not null

The default value is 0.

29 DeductFromPrepai

d

Integer[8] Indicates the charge amount from prepaid

account.

Not null

The default value is 0.

30 PrepaidBalance Integer[8] Indicates the balance of prepaid account.

Not null

The default value is 0.

31 DeductFromPostpa

id

Integer[8] Indicates the charge amount from postpaid

account.

Not null

The default value is 0.

32 PostPaidBalance Integer[8] Indicates the balance of postpaid available

Page 202: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

192

SN Field Name Field Type Description

limitation.

NOTE

If the rental of a postpaid subscriber is debited

to the previous bill cycle, the rental CDR of

the subscriber needs to record the balance of

the previous bill cycle after fee deduction.

For postpaid subscribers, the value of this

field does not include the fee that is deducted

virtually.

Value range: -263

-263

-1

Not null

The default value is 0.

33 AccountID Char[20] Indicates the ID of the main account.

Value range: characters in [0-9, a-z, A-Z]

34 AccountKey Integer[8] Indicates the key of the main account.

Value range: -263

-263

-1

Not null

The default value is 0.

35 CurrencyCode Integer[4] Currency code. Also, if this field missed or

present be Zero, it means the system use

local minimal currency as default, and no

need to specify in CDR.

36 Reserved Char[20] -

37 AccountType1 Integer[4] Indicates the account type of the first

account.

0 means not used.

The first group of account change

information include the following field:

AccountType

ChargeAmount

CurrentAcctAmount

NOTE

In the recharge and rental deduction processes,

this fee group records only reward-related

information, but does not record consumption-,

tax-, and rental-related information.

The account change information structures

from the second to the tenth groups are the

same as that of the first group.

The default value is 0.

38 ChargeAmount1 Integer[8] Indicates the reward amount of the first

account.

0 means unchanged.

Unit: minimum currency unit

Page 203: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

193

SN Field Name Field Type Description

Value range: -263

-263

-1

The default value is 0.

39 CurrentAcctAmou

nt1

Integer[8] Indicates the current amount of the first

account.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

40 AccountType2 Integer[4] Indicates the account type of the second

account.

0 means not used.

The default value is 0.

41 ChargeAmount2 Integer[8] Indicates the reward amount of the second

account.

0 means unchanged.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

42 CurrentAcctAmou

nt2

Integer[8] Indicates the current amount of the second

account.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

43 AccountType3 Integer[4] Indicates the account type of the third

account.

0 means not used.

The default value is 0.

44 ChargeAmount3 Integer[8] Indicates the reward amount of the third

account.

0 means unchanged.

Unit: minimum currency unit

The default value is 0.

Value range: -263

-263

-1

45 CurrentAcctAmou

nt3 Integer[8] Indicates the current amount of the third

account.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

46 AccountType4 Integer[4] Indicates the account type of the fourth

account.

0 means not used.

Page 204: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

194

SN Field Name Field Type Description

The default value is 0.

47 ChargeAmount4 Integer[8] Indicates the reward amount of the fourth

account.

0 means unchanged.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

48 CurrentAcctAmou

nt4

Integer[8] Indicates the current amount of the fourth

account.

Unit: minimum currency unit

The default value is 0.

Value range: -263

-263

-1

49 AccountType5 Integer[4] Indicates the account type of the fifth

account.

0 means not used.

50 ChargeAmount5 Integer[8] Indicates the reward amount of the fifth

account.

0 means unchanged.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

51 CurrentAcctAmou

nt5

Integer[8] Indicates the current amount of the fifth

account.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

52 AccountType6 Integer[4] Indicates the account type of the sixth

account.

0 means not used.

The default value is 0.

53 ChargeAmount6 Integer[8] Indicates the reward amount of the sixth

account.

0 means unchanged.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

54 CurrentAcctAmou

nt6

Integer[8] Indicates the current amount of the sixth

account.

Unit: minimum currency unit

Value range: -263

-263

-1

Page 205: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

195

SN Field Name Field Type Description

The default value is 0.

55 AccountType7 Integer[4] Indicates the account type of the seventh

account.

0 means not used.

The default value is 0.

56 ChargeAmount7 Integer[8] Indicates the reward amount of the seventh

account.

0 means unchanged.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

57 CurrentAcctAmou

nt7

Integer[8] Indicates the current amount of the seventh

account.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

58 AccountType8 Integer[4] Indicates the account type of the eighth

account.

0 means not used.

The default value is 0.

59 ChargeAmount8 Integer[8] Indicates the reward amount of the eighth

account.

0 means unchanged.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

60 CurrentAcctAmou

nt8

Integer[8] Indicates the current amount of the eighth

account.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

61 AccountType9 Integer[4] Indicates the account type of the ninth

account.

0 means not used.

The default value is 0.

62 ChargeAmount9 Integer[8] Indicates the reward amount of the ninth

account.

0 means unchanged.

Unit: minimum currency unit

Value range: -263

-263

-1

Page 206: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

196

SN Field Name Field Type Description

The default value is 0.

63 CurrentAcctAmou

nt9

Integer[8] Indicates the current amount of the ninth

account.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

64 AccountType10 Integer[4] Indicates the account type of the tenth

account.

0 means not used.

The default value is 0.

65 ChargeAmount10 Integer[8] Indicates the reward amount of the tenth

account.

0 means unchanged.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

66 CurrentAcctAmou

nt10

Integer[8] Indicates the current amount of the tenth

account.

Unit: minimum currency unit

Value range: -263

-263

-1

The default value is 0.

67 Reserved Char[20] -

68 BonusValidity1 Char[14] Indicates the validity period of the first

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

69 BonusValidity2 Char[14] Indicates the validity period of the second

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

70 BonusValidity3 Char[14] Indicates the validity period of the third

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

71 BonusValidity4 Char[14] Indicates the validity period of the fourth

rewarded resource. The validity period does

Page 207: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

197

SN Field Name Field Type Description

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

72 BonusValidity5 Char[14] Indicates the validity period of the fifth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

73 BonusValidity6 Char[14] Indicates the validity period of the sixth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

74 BonusValidity7 Char[14] Indicates the validity period of the seventh

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

75 BonusValidity8 Char[14] Indicates the validity period of the eighth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

76 BonusValidity9 Char[14] Indicates the validity period of the ninth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

77 BonusValidity10 Char[14] Indicates the validity period of the tenth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

78 FreeRBTRentFlag Integer[4] Indicates whether the RBT monthly rental

that is adopted is free of charge.

The options are as follows:

0: yes

1: no

Page 208: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

198

SN Field Name Field Type Description

The default value is 0.

79 Free_RBT_Monthl

yfee

Integer[4] Indicates the remaining number of events of

charging no RBT monthly fee.

For example, if the value of the field is 3,

you can infer that a subscriber can enjoy

charging no RBT monthly fee for three

times.

The default value is 0.

80 Reserved Char[24] -

81 AddtionalInfo Char[256] Indicates the additional information about the

service.

Some additional information about the

service is recorded. In most cases, the

information is only useful for the specified

carrier.

82 StartTimeOfBillCy

cle

Char[14] Indicates the start time of bill cycle.

The default value is 0.

83 ChargePartyIndicat

or

Char[1] Indicates the charging party.

The options are as follows:

1: The calling party is charged

2: The called party is charged

3: Charge of third party

4: Charge of parent & child card

5: Charge of calling party & VPN

The default value is 1.

84 SecondChargingPa

rtyNumber

Char[64] Indicates the number of the other charging

party. In the example, the value of the field is

the number of subscriber C.

This field is null when the service is paid

only by account. There are several special

situations. Like Child-Parent card feature, the

calling party number is the child, the

charging party number is the parent's

number.

The number format is as follows:

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Page 209: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

199

SN Field Name Field Type Description

Value range: numerals within 0-9, *, #

Not null

85 SecondChargingPa

rtyPayType

Char[1] Indicates the payment type of the other

charging party.

The options are as follows:

0: Prepaid

1: Postpaid

NOTE

If the value of the field is null, the system records

the payment type of the parent card subscriber.

86 SecondChargingPa

rtyBillCycleID

Char[20] Indicates the bill cycle ID of the other

charging party. For example, the bill cycle

ID of the parent card.

Format: YYYYMMTT

YYYY: indicates the year.

MM: indicates the month.

TT: indicates the type of a bill cycle.

Value range: numerals within 0-9

87 CallingVPNTopGr

oupNumber

Char[15] Indicates the top group number of the calling

party.

Value range: numerals within 0-9

Can be null

88 CallingVPNGroup

Number

Char[10] Indicates the group number of the calling

party.

Value range: numerals within 0-9

Can be null

89 CallingVPNShort

Number

Char[10] Indicates the short number of the calling

party.

Value range: numerals within 0-9

Can be null

90 CalledVPNTopGro

upNumber

Char[15] Indicates the top group number of the called

party.

Value range: numerals within 0-9

Can be null

91 CalledVPNGroup

Number

Char[10] Indicates the group number of the called

party.

Value range: numerals within 0-9

Can be null

92 CalledVPNShortN

umber

Char[10] Indicates the short number of the called party

Value range: numerals within 0-9

Page 210: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

200

SN Field Name Field Type Description

Can be null

93 CallingNetworkTy

pe

Char[10] Indicates the type of the network accessed by

the calling party.

The options are as follows:

100: PSTN

200: GSM

Can be null

94 CalledNetworkTyp

e

Char[10] Indicates the type of the network accessed by

the called party.

The options are as follows:

100: PSTN

101: PBX

102: PHS

200: GSM

201: GPRS

202: EDGE

300: CDMA

301: CDMA 450

400: WCDMA

500: TD-SCDMA

600: IP/IMS

601: Wifi

602: WIMAX

Other to be extended

Can be null

95 GroupCallType Char[10] Reserved

96 GroupPayFlag Char[10] Indicates the payment mode of the group

users.

The options are as follows:

0: Personal payment

1: Group payment

2: Group and personal payment

Can be null

97 Reserved Integer[4] -

98 Reserved Char[10] -

99 Reserved Char[10] -

100 Reserved Char[10] -

101 Reserved Char[10] -

Page 211: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

201

SN Field Name Field Type Description

102 ChargeOfItemsSec

ondAccounts

Integer[8] Indicates the free call times used from others,

such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

103 ChargeOfDuration

SecondAccounts

Integer[8] Indicates the total call time charge using

reward resource from others, such as the

parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

104 ChargeOfFundSec

ondAccounts

Integer[8] Indicates the total cost amount charging from

fund account of others, such as the parent

card.

Value range: -263

-263

-1

Not null

The default value is 0.

105 ChargeFromSecon

dPrepaidAccount

Integer[8] Indicates the charge amount from other

prepaid account.

Value range: -263

-263

-1

Not null

The default value is 0.

106 SecondPrepaidAcc

ountBalance

Integer[8] Indicates the balance of other prepaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

107 ChargeFromSecon

dPostpaidAccount

Integer[8] Indicates the charge amount from other

postpaid account.

Value range: -263

-263

-1

Not null

The default value is 0.

108 SecondPostpaidAc

countBalance

Integer[8] Indicates the balance of other postpaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

109 SecondAccountID Char[20] Indicates the main account ID of the other

charging party that the system deducts fees

from.

Page 212: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

202

SN Field Name Field Type Description

Value range: characters in [0-9, a-z, A-Z]

110 SecondAccountKe

y

Integer[8] Indicates the main account key of the other

charging party that the system deducts fees

from.

Value range: -263

-263

-1

Not null

The default value is 0.

111 SecondAccountCu

rrencyCode

Integer[4] Currency code of others, such as the parent

card. Also, if this field missed or present be

Zero, it means the system use local minimal

currency as default, and no need to specify in

CDR.

Not null

The default value is 0.

112 Reserved Char[20] -

113 SecondAccountTy

pe1

Integer[4] Indicates the account type of the first account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

114 SecondFeeType1 Integer[4] Indicates the fee type of the first account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

115 SecondChargeAm

ount1

Integer[8] Indicates the changing amount of the first

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

116 SecondCurrentAcc

tAmount1

Integer[8] Indicates the current amount of the first

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

117 SecondAccountTy

pe2

Integer[4] Indicates the account type of the second

account of others, such as the parent card.

0 means not used.

Not null

Page 213: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

203

SN Field Name Field Type Description

The default value is 0.

118 SecondFeeType2 Integer[4] Indicates the fee type of the second account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

119 SecondChargeAm

ount2

Integer[8] Indicates the changing amount of the second

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

120 SecondCurrentAcc

tAmount2

Integer[8] Indicates the current amount of the second

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

121 SecondAccountTy

pe3

Integer[4] Indicates the account type of the third

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

122 SecondFeeType3 Integer[4] Indicates the fee type of the third account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

123 SecondChargeAm

ount3 Integer[8] Indicates the changing amount of the third

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

124 SecondCurrentAcc

tAmount3

Integer[8] Indicates the current amount of the third

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

125 SecondAccountTy

pe4

Integer[4] Indicates the account type of the fourth

account of others, such as the parent card.

Page 214: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

204

SN Field Name Field Type Description

0 means not used.

Not null

The default value is 0.

126 SecondFeeType4 Integer[4] Indicates the fee type of the fourth account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

127 SecondChargeAm

ount4 Integer[8] Indicates the changing amount of the fourth

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

128 SecondCurrentAcc

tAmount4

Integer[8] Indicates the current amount of the fourth

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

129 SecondAccountTy

pe5

Integer[4] Indicates the account type of the fifth

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

130 SecondFeeType5 Integer[4] Indicates the fee type of the fifth account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

131 SecondChargeAm

ount5

Integer[8] Indicates the changing amount of the fifth

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

132 SecondCurrentAcc

tAmount5

Integer[8] Indicates the current amount of the fifth

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

Page 215: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

205

SN Field Name Field Type Description

133 SecondBonusValid

ity1

Char[14] Indicates the validity period of the first

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

134 SecondBonusValid

ity2

Char[14] Indicates the validity period of the second

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

135 SecondBonusValid

ity3 Char[14] Indicates the validity period of the third

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

136 SecondBonusValid

ity4

Char[14] Indicates the validity period of the fourth

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

137 SecondBonusValid

ity5

Char[14] Indicates the validity period of the fifth

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

138 Reserved Integer[4] -

139 Reserved Integer[4] -

140 TransitionID Char[32] Indicates the ID of transition.

141 PreRentFlag Integer[4] Indicates the flag of pre-deduction of a

rental.

The default value is 0.

142 PreRentNum Integer[4] Indicates a number whose rental is

pre-deducted.

The default value is 0.

Page 216: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

206

SN Field Name Field Type Description

143 PreRentAmt Integer[8] Indicates an amount that is pre-deducted.

The default value is 0.

144 PreRentCycleOpen Char[16] Indicates the start time of the pre-deduction

bill cycle.

The default value is 19700101000000.

145 PreRentCycleEnd Char[16] Indicates the end time of the pre-deduction

bill cycle.

The default value is 19700101000000.

146 subscriberkey Integer[4] Indicates the key of a subscriber.

Not null

The default value is 0.

147 ExpiredAirTime Char[64] Indicates the upper limit of rewarded

resources and the exceeding resources.

Value range: characters in the range 0-9, a-z,

A-Z, and punctuation.

Example: 2227,40;

For intra-group resource rewarding, the two

values are separated by commas (,); for

inter-group resource rewarding, the two

values are separated by semicolons (;).

148 OriginCdrFilenam

e

Char[64] Indicates the name of a rated CDR.

149 CurCDRLineNo Integer[4] Indicates the number of the line where the

original CDR is located.

The default value is 0.

150 Reserved Integer[8] -

151 Reserved Integer[8] -

152 Reserved Integer[8] -

153 Reserved Integer[8] -

154 SecondSubscriber

Key

Integer[4] Indicates the key value of a

entrusted-payment subscriber.

The default value is 0.

155 SecondProductID Integer[4] Reserved

156 FeeType1 integer[4] Indicates the fee type of the first account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

Page 217: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

207

SN Field Name Field Type Description

157 FeeType2 integer[4] Indicates the fee type of the second account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

158 FeeType3 integer[4] Indicates the fee type of the third account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

159 FeeType4 integer[4] Indicates the fee type of the fourth account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

160 FeeType5 integer[4] Indicates the fee type of the fifth account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

161 FeeType6 integer[4] Indicates the fee type of the sixth account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

162 FeeType7 integer[4] Indicates the fee type of the seventh account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

163 FeeType8 integer[4] Indicates the fee type of the eighth account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Page 218: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

208

SN Field Name Field Type Description

Not null

The default value is 0.

164 FeeType9 integer[4] Indicates the fee type of the ninth account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

165 FeeType10 integer[4] Indicates the fee type of the tenth account.

Fee types record fee change information such

as consumption fees and rewarded fees.

0 means not used.

Not null

The default value is 0.

3.1.8 com CDR

Description

The com CDR indicates the general CDR.

Generation Scenario

A com CDR is generated when a subscriber of the OCS service uses the third-party interface.

For example, a subscriber is charged for downloading an RBT.

For the description of child-parent cards, see section 3.1.2 rec CDR .

CDR File Name Format

comYYYYMMDD_CBPNODE_Seqno.unl

Example of a com CDR file name: com20071112_101_000151.unl

Format

Table 3-9 describes each field of com CDR file.

Table 3-9 Format of com CDR

SN. Field Name Field Type Description

1 SerialNo Integer[8] Indicates the serial number.

It is generated by the system and the serial

Page 219: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

209

SN. Field Name Field Type Description

number is exclusive.

Not null

The default value is 0.

2 SubSequence Integer[4] Indicates the sequence number when the bill

is split for mid-night and end of the bill

cycle.

The default value is 0.

3 TimeStamp Char[14] Indicates the timestamp of the bill item

generation.

Format: YYYYMMDDhhmmss

Not null

4 ServiceKey Integer[4] Indicates the service key of the intelligent

service to which the subscriber subscribes.

The default value is 1.

Not null

5 ChargingPartyNu

mber

Char[64] Indicates the telephone number of the

charging party.

The number is same as calling party number

in MO and called party number in MT.

There are several special situations. Like

Child-Parent card feature, the calling party

number is the child, the charging party

number is the parent's number. This field is

null when the service is paid only by account.

The number format are as follows:

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

6 RequestAction Integer[4] Indicates the charging type, for example, fee

deduction or refunding.

The options are as follows:

0: Deduct fees.

1: Refund fees

Not null

The default value is 0.

7 ChargeType Char[10] Indicates service-related information that is

Page 220: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

210

SN. Field Name Field Type Description

sent from external systems.

Some fields are reserved for recording the

original information (such as the RBT

download charging information) sent from

external systems.

It is customized according to the special

requirement.

1001: RBT fee deduction interface

1002: Content fee deduction interface

1003: RTBP 2.0 interface

1004: RTBP 3.0 interface

8 ServiceType Integer[4] Indicates the service-related information that

is sent from external systems.

1: Voice

2: SMS

3: MMS

4: GPRS

5: Recharge

It is customized according to the special

requirement.

When the value of Charge type is 1001:

RBT fee deduction interface, the values

of Service type are as follows:

− 1: Deducting the fees of downloading

RBTs

− 2: Deducting the fees of the music box

When the value of Charge type is 1002:

content fee deduction interface,

indicating the directly deducting content

fees

The default value is 0.

9 BearedService Char[20] Indicates the beared service customized

according to the special requirement.

10 SPID Char[20] Indicates the SP ID or CP ID.

11 CategoryID Char[20] Indicates the number of the category got

from charge interface and field into CDR for

customized CDR.

12 ContentID Char[20] Indicates the number of the content got from

charge interface and field into CDR for

customized CDR.

13 ServiceID Char[20] Indicates the service detail of the SP.

14 CalledPartyNumbe Char[64] Indicates the called (receiver) number. Keep

Page 221: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

211

SN. Field Name Field Type Description

r the original format.

15 ChargeAmount Integer[8] Indicates information about the deducted or

refunded amount. The information is sent

from external systems.

The default value is 0.

16 BrandID Integer[4] Indicates the brand ID of subscribers.

Not null

The default value is 0.

17 SubCOSID Integer[4] Indicates the main product ID of subscribers.

Not null

The default value is 0.

18 PayType Char[1] Indicates the pay type of subscribers.

The options are as follows:

0: Prepaid

1: Postpaid

19 BillCycleID Char[20] Indicates the bill cycle ID.

Format: YYYYMMTT

YYYY: indicates the year.

MM: indicates the month.

TT: indicates the type of a bill cycle.

Value range: numerals within 0-9

20 ServiceBeginTime Char[14] Indicates the start time for charging, which is

reported by the service.

When the service network element does not

report the start time, the value is the time

when the OCS charges the service.

Format: YYYYMMDDhhmmss

Not null

The default value is null.

21 ServiceEndTime Char[14] Indicates the end time for charging, which is

reported by the service. The end time can be

calculated according to the start time. If the

end time is unavailable, the value of this field

is equal to the value of the

ServiceBeginTime field.

Format: YYYYMMDDhhmmss

Not null

The default value is null.

22 UsageAmount Integer[4] Indicates service usage amount.

Not null

Page 222: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

212

SN. Field Name Field Type Description

The default value is 0.

23 ServiceUnit Integer[4] Indicates the measurement methods

corresponding to the metric table.

For example, times or second. If the system

deducts fee or refunds fees, the unit is times.

For the one-off charging, the value of

useageamount is 1, and the value of

Serviceunit is 3.

Not null

The default value is 0.

24 ChargingTime Char[14] Indicates the time stamp of the charging

beginning.

Format: YYYYMMDDhhmmss

Not null

25 TransitionID Char[32] Indicates the sequence number of a

transaction.

26 UserState Char[10] Indicates the life cycle state and the

management state of a subscriber.

The UserState parameter is a numeric string

of seven digits, in the format CCMMMMM.

The first and second digits C indicate the life

cycle state of a subscriber. The first digit C

indicates the state of a prepaid subscriber,

and the second digit C indicates the state of a

postpaid subscriber. The options are as

follows:

0: Idle

1: Active

2: Suspended

3: Disable

4: Pool

5: Pool without activation

The next five digits MMMMM indicate the

management state of a subscriber. The

options are as follows:

Third digit: Whether the subscriber claims

missing.

0: no

1: yes

Fourth digit: Whether the subscriber

suspends the service.

0: non-suspend

1: suspend

Page 223: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

213

SN. Field Name Field Type Description

2: suspend by operator (B1W)

3: suspend by operator (B2W)

Fifth digit: Whether the subscriber applies for

suspension with the number being reserved.

0: no

1: yes

Sixth digit: Whether the subscriber is

blocked.

0: no

1: yes

Seventh digit: Whether the subscriber is

blacklisted.

0: no

1: yes

27 SubscriberID Char[20] Indicates the subscriber ID.

Value range: characters in [0-9, a-z, A-Z]

28 Reserved Char[20] -

29 Reserved Char[20] -

30 ResultCode Integer[4] Indicates the internal result code.

Value range: -231

-231

-1

The default value is 0.

31 ChargeOfItemsAc

counts

Integer[8] Indicates the free times used.

Value range: -263

-263

-1

Not null

The default value is 0.

32 ChargeOfDuration

Accounts

Integer[8] Indicates the total call time charge using

reword resource.

Value range: -263

-263

-1

Not null

The default value is 0.

33 ChargeOfFundAcc

ounts

Integer[8] Indicates the total cost amount charging from

fund account.

Value range: -263

-263

-1

Not null

The default value is 0.

34 ChargeFromPrepai

d

Integer[8] Indicates the charge amount from prepaid

account.

Value range: -263

-263

-1

Not null

Page 224: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

214

SN. Field Name Field Type Description

The default value is 0.

35 PrepaidBalance Integer[8] Indicates the balance of prepaid account.

Value range: -263

-263

-1

Not null

The default value is 0.

36 ChargeFromPostpa

id

Integer[8] Indicates the charge amount from postpaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

37 PostPaidBalance Integer[8] Indicates the balance of postpaid available

limitation.

Value range: -263

-263

-1

Not null

The default value is 0.

38 AccountID Char[20] Indicates the ID of the main account.

Value range: characters in [0-9, a-z, A-Z]

39 AccountKey Integer[8] Indicates the key of the main account.

Value range: -263

-263

-1

Not null

The default value is 0.

40 CurrencyCode Integer[4] Indicates currency code.

Also, if this field missed or present be zero, it

means the system use local minimal currency

as default, and no need to specify in CDR.

The default value is 0.

41 Original Amount Integer[4] Indicates the original amount through RTBP

interface.

42 AccountType1 Integer[4] Indicates the account type of the first

account.

0 means not used.

Not null

The default value is 0.

43 FeeType1 Integer[4] Indicates the fee type of the first account.

0 means not used.

Not null

The default value is 0.

44 ChargeAmount1 Integer[8] Indicates the changing amount of the first

account.

Page 225: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

215

SN. Field Name Field Type Description

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

45 CurrentAcctAmou

nt1

Integer[8] Indicates the current amount of the first

account.

Value range: -263

-263

-1

Not null

The default value is 0.

46 AccountType2 Integer[4] Indicates the account type of the second

account.

0 means not used.

Not null

The default value is 0.

47 FeeType2 Integer[4] Indicates the fee type of the second account.

0 means not used.

Not null

The default value is 0.

48 ChargeAmount2 Integer[8] Indicates the changing amount of the second

account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

49 CurrentAcctAmou

nt2

Integer[8] Indicates the current amount of the second

account.

Value range: -263

-263

-1

Not null

The default value is 0.

50 AccountType3 Integer[4] Indicates the account type of the third

account.

0 means not used.

Not null

The default value is 0.

51 FeeType3 Integer[4] Indicates the fee type of the third account.

0 means not used.

Not null

The default value is 0.

52 ChargeAmount3 Integer[8] Indicates the changing amount of the third

Page 226: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

216

SN. Field Name Field Type Description

account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

53 CurrentAcctAmou

nt3

Integer[8] Indicates the current amount of the third

account.

Value range: -263

-263

-1

Not null

The default value is 0.

54 AccountType4 Integer[4] Indicates the account type of the fourth

account.

0 means not used.

Not null

The default value is 0.

55 FeeType4 Integer[4] Indicates the fee type of the fourth account.

0 means not used.

Not null

The default value is 0.

56 ChargeAmount4 Integer[8] Indicates the changing amount of the fourth

account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

57 CurrentAcctAmou

nt4

Integer[8] Indicates the current amount of the fourth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

58 AccountType5 Integer[4] Indicates the account type of the fifth

account.

0 means not used.

Not null

The default value is 0.

59 FeeType5 Integer[4] Indicates the fee type of the fifth account.

0 means not used.

Not null

The default value is 0.

Page 227: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

217

SN. Field Name Field Type Description

60 ChargeAmount5 Integer[8] Indicates the changing amount of the fifth

account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

61 CurrentAcctAmou

nt5

Integer[8] Indicates the current amount of the fifth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

62 AccountType6 Integer[4] Indicates the account type of the sixth

account.

0 means not used.

Not null

The default value is 0.

63 FeeType6 Integer[4] Indicates the fee type of the sixth account.

0 means not used.

Not null

The default value is 0.

64 ChargeAmount6 Integer[8] Indicates the changing amount of the sixth

account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

65 CurrentAcctAmou

nt6

Integer[8] Indicates the current amount of the sixth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

66 AccountType7 Integer[4] Indicates the account type of the seventh

account.

0 means not used.

Not null

The default value is 0.

67 FeeType7 Integer[4] Indicates the fee type of the seventh account.

0 means not used.

Not null

Page 228: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

218

SN. Field Name Field Type Description

The default value is 0.

68 ChargeAmount7 Integer[8] Indicates the changing amount of the seventh

account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

69 CurrentAcctAmou

nt7

Integer[8] Indicates the current amount of the seventh

account.

Value range: -263

-263

-1

Not null

The default value is 0.

70 AccountType8 Integer[4] Indicates the account type of the eighth

account.

0 means not used.

Not null

The default value is 0.

71 FeeType8 Integer[4] Indicates the fee type of the eighth account.

0 means not used.

Not null

The default value is 0.

72 ChargeAmount8 Integer[8] Indicates the changing amount of the eighth

account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

73 CurrentAcctAmou

nt8

Integer[8] Indicates the current amount of the eighth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

74 AccountType9 Integer[4] Indicates the account type of the ninth

account.

0 means not used.

Not null

The default value is 0.

75 FeeType9 Integer[4] Indicates the fee type of the ninth account.

0 means not used.

Page 229: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

219

SN. Field Name Field Type Description

Not null

The default value is 0.

76 ChargeAmount9 Integer[8] Indicates the changing amount of the ninth

account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

77 CurrentAcctAmou

nt9 Integer[8] Indicates the current amount of the ninth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

78 AccountType10 Integer[4] Indicates the account type of the tenth

account.

0 means not used.

Not null

The default value is 0.

79 FeeType10 Integer[4] Indicates the fee type of the tenth account.

0 means not used.

Not null

The default value is 0.

80 ChargeAmount10 Integer[8] Indicates the changing amount of the tenth

account.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

81 CurrentAcctAmou

nt10

Integer[8] Indicates the current amount of the tenth

account.

Value range: -263

-263

-1

Not null

The default value is 0.

82 BonusValidity1 Char[14] Indicates the validity period of the first

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

83 BonusValidity2 Char[14] Indicates the validity period of the second

Page 230: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

220

SN. Field Name Field Type Description

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

84 BonusValidity3 Char[14] Indicates the validity period of the third

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

85 BonusValidity4 Char[14] Indicates the validity period of the fourth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

86 BonusValidity5 Char[14] Indicates the validity period of the fifth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

87 BonusValidity6 Char[14] Indicates the validity period of the sixth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

88 BonusValidity7 Char[14] Indicates the validity period of the seventh

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

89 BonusValidity8 Char[14] Indicates the validity period of the eighth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

90 BonusValidity9 Char[14] Indicates the validity period of the ninth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Page 231: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

221

SN. Field Name Field Type Description

Format: YYYYMMDDhhmmss

91 BonusValidity10 Char[14] Indicates the validity period of the tenth

rewarded resource. The validity period does

not change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

92 msg id Char[20] Indicates the ID of a message.

93 session id Char[20] Indicates the ID of a sequence.

94 Service Name Char[32] Indicates the service name. The information

is from PSA.

95 Consumed

Resources

Integer[4] Indicates the Date service tariff. The

information is from PSA.

NOTE

In the deduction processes, this parameter

records amount.

In the refunding processes, this parameter

records used amount.

96 AddtionalInfo Char[512] Indicates the additional information about the

service.

Some additional information about the

service is recorded. In most cases, the

information is only useful for the specified

carrier.

97 ChargeMode Integer[4] Indicates the charge mode.

The options are as follows:

0: times

Indicates charging by events.

1: volume

Indicates charging by volume.

2: duration

Indicates charging by duration.

3: reserved

The default value is 0.

98 CDRProductID Char[20] Indicates the last effect rating product.

99 CDRChargeMode Integer[4] Indicates the charge mode.

The default value is 0.

100 CDRTimes Integer[4] Indicates the number of consumption times

of a subscriber that is recorded in the CDR of

charging by times.

The default value is 0.

Page 232: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

222

SN. Field Name Field Type Description

101 CDRDuration Integer[4] Indicates the consumed duration of a

subscriber that is recorded in the CDR of

charging by duration.

The default value is 0.

102 CDRVolume Integer[4] Indicates the consumed volume of a

subscriber that is recorded in the CDR of

charging by volume.

The default value is 0.

103 CDRCDRType Integer[4] Indicates the CDR type.

The default value is 0.

104 CDRServiceType Integer[4] Indicates the service type referring to the

following values:

0: wap

1: kjava

2: sms

3: mms

4: Mail

5: LBS

6: StreamMedia

7: IMPS

8: UM

9: WapPush

11: CRBT

12: General

13: MC

14: PIM

15: VMB

16: CMB

17: PaymentGW

18: Storage

20: Service Package

The default value is 0.

105 CDRBeginTime Integer[4] Indicates the time that a subscriber starts to

use a service, such as surfing Internet.

The default value is 0.

106 CDREndTime Integer[4] Indicates the time that a subscriber stops

using a service, such as surfing Internet.

The default value is 0.

107 CDRPkgSpid Char[20] Indicates the SP ID or CP ID.

Page 233: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

223

SN. Field Name Field Type Description

108 CDRPkgServiceid Char[20] Indicates the service ID of the SP.

109 CDRPkgProductid Char[20] Indicates the last effect rating product.

110 CDRSPName Char[256] Indicates the name of the SP or CP.

111 CDRServiceName Char[256] Indicates the name of the service.

112 StartTimeOfBillCy

cle Char[14] Indicates the start time of bill cycle.

The default value is 0.

113 ChargePartyIndica

tor

Char[1] Indicates the charging party.

The options are as follows:

1: The calling party is charged

2: The called party is charged

3: Charge of third party

4: Charge of parent & child card

5: Charge of calling party & VPN

114 SecondChargingPa

rtyNumber

Char[64] Indicates the number of the other charging

party. In the example, the value of the field is

the number of subscriber C.

This field is null when the service is paid

only by account. There are several special

situations. Like Child-Parent card feature, the

calling party number is the child, the

charging party number is the parent's

number.

The number format is as follows:

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

115 SecondChargingPa

rtyPayType Char[1] Indicates the payment type of the other

charging party. For example, the payment

type of the parent card.

The options are as follows:

0: Prepaid

1: Postpaid

NOTE

If the value of the field is null, the system records

the payment type of the parent card subscriber.

Page 234: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

224

SN. Field Name Field Type Description

116 SecondChargingPa

rtyBillCycleID

Char[20] Indicates the bill cycle ID of the other

charging party.

Format: YYYYMMTT

The description of the format is as follows:

YYYY: indicates the year.

MM: indicates the month.

TT: indicates the type of a bill cycle.

117 Reserved Char[15] -

118 Reserved Char[10] -

119 Reserved Char[10] -

120 Reserved Char[15] -

121 Reserved Char[10] -

122 Reserved Char[10] -

123 Reserved Char[10] -

124 Reserved Char[10] -

125 Reserved Char[10] -

126 Reserved Char[10] -

127 Reserved Integer[4] -

128 call ID Char[32] Indicates the call ID of the subscriber. The

information is from PSA.

129 package Char[32] Indicates the package of the subscriber. The

information is from PSA.

130 APN Char[22] Indicates the access point.

131 Reserved Char[10] -

132 ChargeOfItemsSec

ondAccounts Integer[8] Indicates the free call times used from others,

such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

133 ChargeOfDuration

SecondAccounts Integer[8] Indicates the total call time charge using

reward resource from others, such as the

parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

134 ChargeOfFundSec Integer[8] Indicates the total cost amount charging from

Page 235: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

225

SN. Field Name Field Type Description

ondAccounts fund account of others, such as the parent

card.

Value range: -263

-263

-1

Not null

The default value is 0.

135 ChargeFromSecon

dPrepaidAccount

Integer[8] Indicates the charge amount from other

prepaid account.

Value range: -263

-263

-1

Not null

The default value is 0.

136 SecondPrepaidAcc

ountBalance

Integer[8] Indicates the balance of other prepaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

137 ChargeFromSecon

dPostpaidAccount

Integer[8] Indicates the charge amount from other

postpaid account.

Value range: -263

-263

-1

Not null

The default value is 0.

138 SecondPostpaidAc

countBalance

Integer[8] Indicates the balance of other postpaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

139 SecondAccountID Char[20] Indicates the main account ID of the other

charging party that the system deducts fees

from.

Value range: characters in [0-9, a-z, A-Z]

140 SecondAccountKe

y

Integer[8] Indicates the main account key of the other

charging party that the system deducts fees

from.

Value range: -263

-263

-1

Not null

The default value is 0.

141 SecondAccountCu

rrencyCode

Integer[4] Indicates currency code of others, such as the

parent card.

Also, if this field missed or present be Zero,

it means the system use local minimal

currency as default, and no need to specify in

CDR.

Page 236: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

226

SN. Field Name Field Type Description

The default value is 0.

142 Reserved Char[20] -

143 SecondAccountTy

pe1

Integer[4] Indicates the account type of the first account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

144 SecondFeeType1 Integer[4] Indicates the fee type of the first account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

145 SecondChargeAm

ount1

Integer[8] Indicates the changing amount of the first

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

146 SecondCurrentAcc

tAmount1

Integer[8] Indicates the current amount of the first

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

147 SecondAccountTy

pe2

Integer[4] Indicates the account type of the second

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

148 SecondFeeType2 Integer[4] Indicates the fee type of the second account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

149 SecondChargeAm

ount2

Integer[8] Indicates the changing amount of the second

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

Page 237: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

227

SN. Field Name Field Type Description

150 SecondCurrentAcc

tAmount2

Integer[8] Indicates the current amount of the second

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

151 SecondAccountTy

pe3

Integer[4] Indicates the account type of the third

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

152 SecondFeeType3 Integer[4] Indicates the fee type of the third account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

153 SecondChargeAm

ount3

Integer[8] Indicates the changing amount of the third

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

154 SecondCurrentAcc

tAmount3

Integer[8] Indicates the current amount of the third

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

155 SecondAccountTy

pe4

Integer[4] Indicates the account type of the fourth

account of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

156 SecondFeeType4 Integer[4] Indicates the fee type of the fourth account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

157 SecondChargeAm

ount4

Integer[8] Indicates the changing amount of the fourth

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Page 238: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

228

SN. Field Name Field Type Description

Not null

The default value is 0.

158 SecondCurrentAcc

tAmount4

Integer[8] Indicates the current amount of the fourth

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

159 SecondAccountTy

pe5

Integer[4] Indicates the account type of the fifth account

of others, such as the parent card.

0 means not used.

Not null

The default value is 0.

160 SecondFeeType5 Integer[4] Indicates the fee type of the fifth account of

others, such as the parent card.

0 means not used.

Not null

The default value is 0.

161 SecondChargeAm

ount5

Integer[8] Indicates the changing amount of the fifth

account of others, such as the parent card.

0 means unchanged.

Value range: -263

-263

-1

Not null

The default value is 0.

162 SecondCurrentAcc

tAmount5

Integer[8] Indicates the current amount of the fifth

account of others, such as the parent card.

Value range: -263

-263

-1

Not null

The default value is 0.

163 SecondBonusValid

ity1

Char[14] Indicates the validity period of the first

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

164 SecondBonusValid

ity2

Char[14] Indicates the validity period of the second

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

Page 239: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

229

SN. Field Name Field Type Description

165 SecondBonusValid

ity3

Char[14] Indicates the validity period of the third

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

166 SecondBonusValid

ity4

Char[14] Indicates the validity period of the fourth

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

167 SecondBonusValid

ity5 Char[14] Indicates the validity period of the fifth

rewarded resource of others, such as the

parent card. The validity period does not

change when fees are deducted from

accounts. In this case, the validity periods of

consumption resources are not recorded.

Format: YYYYMMDDhhmmss

168 DiameterSessionI

D

Char[128] Indicates a diameter session ID.

The format is as follows:

<DiameterIdentity>;<high 32 bits>;<low 32

bits>[;<optional value>]

<DiameterIdentity>: the same as the field

in the Origin-Host AVP.

<high 32 bits>: indicates the current time

of the system.

<low 32 bits>: indicates the cycle

count-up. The initial value is 0. When you

restart the system, set the value to 0.

<optional value>: indicates

implementation specific but may include

a modem's device Id, a layer 2 address,

timestamp, etc.

Separate the preceding fields with the

character ";".

For example:

SCP001.huawei.com;1876543210;523

169 Reserved Char[20] -

170 Reserved Char[20] -

171 Reserved Integer[4] -

172 Reserved Integer[4] -

Page 240: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

230

SN. Field Name Field Type Description

173 Reserved Char[25] -

174 Reserved Integer[4] -

175 Reserved Integer[4] -

176 subscriberkey Integer[4] Indicates the key of a subscriber.

The default value is 0.

177 accumulationchan

ge

Char[256] Indicates the change value of an

accumulative item.

The value format is as follows:

Accumulation ID 1, accumulation switch

time 1, change value 1; accumulation ID 2,

accumulation switch time 2, change value 2...

The value contains only numerals. The

account ID and balance change is separated

by a comma (,), and information of different

accounts is separated by a semicolon (;). The

information about up to 10 accounts can be

included. The excess account information

will be discarded.

178 UsageServiceType Integer[4] Indicates the type of a real-time service.

The default value is 1500.

179 ChargePartyIMSI Char[64] Indicates IMSI of the charged party.

180 SourceSerialNo Integer[8] For the CDRs that are generated not for

re-rating, the default value of this field is 0.

For the CDRs that are generated for re-rating,

the value of this field is the corresponding

value in the original CDRs for re-rating. If

the re-rating is performed multiple times, the

value of this field remains unchanged.

Not null

The default value is 0.

181 SourceSubSequenc

e

Integer[4] Indicates the sequence number when the bill

is split. For example, special requirement of

splitting on mid-night and end of the bill

cycle.

For the CDRs that are generated not for

re-rating, the default value of this field is 0.

For the CDRs that are generated for re-rating,

the value of this field is the corresponding

value in the original CDRs for re-rating. If

the re-rating is performed multiple times, the

value of this field remains unchanged.

The default value is 0.

182 AcctBalChgList Char[768] Indicates the change value of balance change.

Page 241: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

231

SN. Field Name Field Type Description

The value format is as follows:

lAcctBalanceID, iProductKey, iFeeID,

iAmount0, iAmount1, iAcctBalanceType,

MeasureID, billCycleID;

The value contains only numerals. The fields

in each group are separated by commas (,),

and groups are separated by semicolons (;).

Up to 10 groups can be included. The

contents exceeding 10 groups will be

discarded.

183 OriginCdrFilenam

e

Char[64] Indicates the name of a rated CDR.

The default value is 0.

184 CurCDRLineNo Integer[4] Indicates the number of the line where the

original CDR is located.

The default value is 0.

185 Reserved Integer[8] -

186 Reserved Integer[8] -

187 Reserved Integer[8] -

188 Reserved Integer[8] -

189 SecondSubscriber

Key Integer[4] Indicates the key value of a

entrusted-payment subscriber.

The default value is 0.

190 SecondProductID Integer[4] Reserved.

191 accounttype1 Integer[4] Indicates the account type of the first fund

account.

The default value is 0.

192 BalanceBeforeCha

rge1

Integer[8] Indicates the balance of the first account

before the system deducts the fee from.

The default value is 0.

193 BalanceAfterChar

ge1

Integer[8] Indicates the balance of the first account after

the system deducts the fee from.

The default value is 0.

194 ChargeFee1 Integer[8] Indicates the cost amount charging from the

first account.

The default value is 0.

195 accounttype2 Integer[4] Indicates the account type of the second fund

account.

The default value is 0.

196 BalanceBeforeCha Integer[8] Indicates the balance of the second account

Page 242: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

232

SN. Field Name Field Type Description

rge2 before the system deducts the fee from.

The default value is 0.

197 BalanceAfterChar

ge2

Integer[8] Indicates the balance of the second account

after the system deducts the fee from.

The default value is 0.

198 ChargeFee2 Integer[8] Indicates the cost amount charging from the

second account.

The default value is 0.

199 accounttype3 Integer[4] Indicates the account type of the third fund

account.

The default value is 0.

200 BalanceBeforeCha

rge3

Integer[8] Indicates the balance of the third account

before the system deducts the fee from.

The default value is 0.

201 BalanceAfterChar

ge3

Integer[8] Indicates the balance of the third account

after the system deducts the fee from.

The default value is 0.

202 ChargeFee3 Integer[8] Indicates the cost amount charging from the

third account.

The default value is 0.

203 accounttype4 Integer[4] Indicates the account type of the forth fund

account.

The default value is 0.

204 BalanceBeforeCha

rge4

Integer[8] Indicates the balance of the forth account

before the system deducts the fee from.

The default value is 0.

205 BalanceAfterChar

ge4

Integer[8] Indicates the balance of the forth account

after the system deducts the fee from.

The default value is 0.

206 ChargeFee4 Integer[8] Indicates the cost amount charging from the

forth account.

The default value is 0.

207 accounttype5 Integer[4] Indicates the account type of the fifth

account.

The default value is 0.

208 BalanceBeforeCha

rge5

Integer[8] Indicates the balance of the fifth account

before the system deducts the fee from.

The default value is 0.

209 BalanceAfterChar Integer[8] Indicates the balance of the fifth account

Page 243: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

233

SN. Field Name Field Type Description

ge5 after the system deducts the fee from.

The default value is 0.

210 ChargeFee5 Integer[8] Indicates the cost amount charging from the

fifth account.

The default value is 0.

211 accounttype6 Integer[4] Indicates the account type of the sixth

account.

The default value is 0.

212 BalanceBeforeCha

rge6

Integer[8] Indicates the balance of the sixth account

before the system deducts the fee from.

The default value is 0.

213 BalanceAfterChar

ge6

Integer[8] Indicates the balance of the sixth account

after the system deducts the fee from.

The default value is 0.

214 ChargeFee6 Integer[8] Indicates the cost amount charging from the

sixth account.

The default value is 0.

215 accounttype7 Integer[4] Indicates the account type of the seventh

fund account.

The default value is 0.

216 BalanceBeforeCha

rge7

Integer[8] Indicates the balance of the seventh account

before the system deducts the fee from.

The default value is 0.

217 BalanceAfterChar

ge7

Integer[8] Indicates the balance of the seventh account

after the system deducts the fee from.

The default value is 0.

218 ChargeFee7 Integer[8] Indicates the cost amount charging from the

seventh account.

The default value is 0.

219 accounttype8 Integer[4] Indicates the account type of the eighth fund

account.

The default value is 0.

220 BalanceBeforeCha

rge8 Integer[8] Indicates the balance of the eighth account

before the system deducts the fee from.

The default value is 0.

221 BalanceAfterChar

ge8

Integer[8] Indicates the balance of the eighth account

after the system deducts the fee from.

The default value is 0.

222 ChargeFee8 Integer[8] Indicates the cost amount charging from the

Page 244: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

234

SN. Field Name Field Type Description

eighth account.

The default value is 0.

223 accounttype9 Integer[4] Indicates the account type of the ninth fund

account.

The default value is 0.

224 BalanceBeforeCha

rge9

Integer[8] Indicates the balance of the ninth account

before the system deducts the fee from.

The default value is 0.

225 BalanceAfterChar

ge9

Integer[8] Indicates the balance of the ninth account

after the system deducts the fee from.

The default value is 0.

226 ChargeFee9 Integer[8] Indicates the cost amount charging from the

ninth account.

The default value is 0.

227 accounttype10 Integer[4] Indicates the account type of the tenth fund

account.

The default value is 0.

228 BalanceBeforeCha

rge10

Integer[8] Indicates the balance of the tenth account

before the system deducts the fee from.

The default value is 0.

229 BalanceAfterChar

ge10

Integer[8] Indicates the balance of the tenth account

after the system deducts the fee from.

The default value is 0.

230 ChargeFee10 Integer[8] Indicates the cost amount charging from the

tenth account.

The default value is 0.

231 accounttype11 Integer[4] Indicates the account type of the eleventh

fund account.

The default value is 0.

232 BalanceBeforeCha

rge11

Integer[8] Indicates the balance of the eleventh account

before the system deducts the fee from.

The default value is 0.

233 BalanceAfterChar

ge11 Integer[8] Indicates the balance of the eleventh account

after the system deducts the fee from.

The default value is 0.

234 ChargeFee11 Integer[8] Indicates the cost amount charging from the

eleventh account.

The default value is 0.

235 accounttype12 Integer[4] Indicates the account type of the twelfth fund

Page 245: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

235

SN. Field Name Field Type Description

account.

The default value is 0.

236 BalanceBeforeCha

rge12

Integer[8] Indicates the balance of the twelfth account

before the system deducts the fee from.

The default value is 0.

237 BalanceAfterChar

ge12

Integer[8] Indicates the balance of the twelfth account

after the system deducts the fee from.

The default value is 0.

238 ChargeFee12 Integer[8] Indicates the cost amount charging from the

twelfth account.

The default value is 0.

239 accounttype13 Integer[4] Indicates the account type of the thirteenth

fund account.

The default value is 0.

240 BalanceBeforeCha

rge13

Integer[8] Indicates the balance of the thirteenth

account before the system deducts the fee

from.

The default value is 0.

241 BalanceAfterChar

ge13

Integer[8] Indicates the balance of the thirteenth

account after the system deducts the fee

from.

The default value is 0.

242 ChargeFee13 Integer[8] Indicates the cost amount charging from the

thirteenth account.

The default value is 0.

243 accounttype14 Integer[4] Indicates the account type of the fourteenth

fund account.

The default value is 0.

244 BalanceBeforeCha

rge14

Integer[8] Indicates the balance of the fourteenth

account before the system deducts the fee

from.

The default value is 0.

245 BalanceAfterChar

ge14

Integer[8] Indicates the balance of the fourteenth

account after the system deducts the fee

from.

The default value is 0.

246 ChargeFee14 Integer[8] Indicates the cost amount charging from the

fourteenth account.

The default value is 0.

247 accounttype15 Integer[4] Indicates the account type of the fifteenth

Page 246: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

236

SN. Field Name Field Type Description

fund account.

The default value is 0.

248 BalanceBeforeCha

rge15

Integer[8] Indicates the balance of the fifteenth account

before the system deducts the fee from.

The default value is 0.

249 BalanceAfterChar

ge15

Integer[8] Indicates the balance of the fifteenth account

after the system deducts the fee from.

The default value is 0.

250 ChargeFee15 Integer[8] Indicates the cost amount charging from the

fifteenth account.

The default value is 0.

251 accounttype16 Integer[4] Indicates the account type of the sixteenth

fund account.

The default value is 0.

252 BalanceBeforeCha

rge16

Integer[8] Indicates the balance of the sixteenth account

before the system deducts the fee from.

The default value is 0.

253 BalanceAfterChar

ge16

Integer[8] Indicates the balance of the sixteenth account

after the system deducts the fee from.

The default value is 0.

254 ChargeFee16 Integer[8] Indicates the cost amount charging from the

sixteenth account.

The default value is 0.

255 accounttype17 Integer[4] Indicates the account type of the seventeenth

fund account.

The default value is 0.

256 BalanceBeforeCha

rge17

Integer[8] Indicates the balance of the seventeenth

account before the system deducts the fee

from.

The default value is 0.

257 BalanceAfterChar

ge17

Integer[8] Indicates the balance of the seventeenth

account after the system deducts the fee

from.

The default value is 0.

258 ChargeFee17 Integer[8] Indicates the cost amount charging from the

seventeenth account.

The default value is 0.

259 accounttype18 Integer[4] Indicates the account type of the eighteenth

fund account.

The default value is 0.

Page 247: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

237

SN. Field Name Field Type Description

260 BalanceBeforeCha

rge18

Integer[8] Indicates the balance of the eighteenth

account before the system deducts the fee

from.

The default value is 0.

261 BalanceAfterChar

ge18

Integer[8] Indicates the balance of the eighteenth

account after the system deducts the fee

from.

The default value is 0.

262 ChargeFee18 Integer[8] Indicates the cost amount charging from the

eighteenth account.

The default value is 0.

263 accounttype19 Integer[4] Indicates the account type of the nineteenth

fund account.

The default value is 0.

264 BalanceBeforeCha

rge19

Integer[8] Indicates the balance of the nineteenth

account before the system deducts the fee

from.

The default value is 0.

265 BalanceAfterChar

ge19

Integer[8] Indicates the balance of the nineteenth

account after the system deducts the fee

from.

The default value is 0.

266 ChargeFee19 Integer[8] Indicates the cost amount charging from the

nineteenth account.

The default value is 0.

267 accounttype20 Integer[4] Indicates the account type of the twentieth

fund account.

The default value is 0.

268 BalanceBeforeCha

rge20

Integer[8] Indicates the balance of the twentieth account

before the system deducts the fee from.

The default value is 0.

269 BalanceAfterChar

ge20

Integer[8] Indicates the balance of the twentieth account

after the system deducts the fee from.

The default value is 0.

270 ChargeFee20 Integer[8] Indicates the cost amount charging from the

twentieth account.

The default value is 0.

Page 248: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

238

3.1.9 mgr CDR

Description

An mgr CDR records the information about management charging.

Generation Scenario

An mgr CDR is generated in the following scenarios:

When a subscriber queries the balance of his/her account successfully.

CDR File Name Format

mgrYYYYMMDD_CBPNODE_Seqno.unl

Example of an mgr CDR file name: mgr20071112_101_000151.unl

Format

Table 3-10 describes each field of mgr CDR file.

Table 3-10 Format of mgr CDR

SN. Field Name Field Type Description

1 SerialNo Integer[8] Indicates the serial number.

It is generated by the system and the serial

number is exclusive.

Not null

The default value is 0.

2 SubSequence Integer[4] Indicates the sequence number when the bill is

split for mid-night and end of the bill cycle.

The default value is 0.

3 TimeStamp Char[16] Indicates the time stamp of the bill item

generation.

Format: YYYYMMDDhhmmss

Not null

4 ServiceKey Integer[4] Reserved

5 ChargingPartyN

umber

Char[64] Indicates the telephone number of the charging

party.

The number is same as calling party number in

MO and called party number in MT.

There are several special situations. Like

Child-Parent card feature, the calling party

number is the child, the charging party number

is the parent's number. This field is null when

the service is paid only by account.

Page 249: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

239

SN. Field Name Field Type Description

The number format are as follows:

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

6 RequestAction Integer[4] Indicates the charging type, for example, fee

deduction or refunding.

The options are as follows:

0: Deduct fees

1: Refund fees

Not null

The default value is 0.

NOTE

The parameter RequestAction is invalid in the

Adjust Account flow.

7 OperatorID Char[24] Indicates the number of the operator.

8 OperationID Integer[4] Indicates the ID of an operation.

For example, FN, transferring balances or

adjusting balances. The value is configured

according to the configurations on the BME.

Please refer to Table 3-11.

Not null

The default value is 0.

9 OperationType Integer[4] Indicates the operation type.

The options are as follows:

0: Cancel

1: Enable

4: Add

5: Modify

6: Delete

7: Query

22: Transfer-in

23: Transfer-out

999: Not specified

NOTE

When this value is used, the system does not specify

the operation type. This operation type is used in

Page 250: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

240

SN. Field Name Field Type Description

special cases such as one-off fee deduction.

The default value is 0.

Not null

10 OtherPartyNum

ber

Char[64] Indicates the number of the third party.

For URI, the format is [email protected].

For example, [email protected]

For transfer service, it is the other party

number. It is the transferor number in the bill

of transferee, and it is the transferee number in

the bill of transferor.

11 TransitionFee Integer[8] Indicates the operating charge.

The operating charge, which is defined by

external interfaces, can be rated by internal

interfaces.

Unit: minimum currency unit

The default value is 0.

12 TranferAmount Integer[8] Indicates the adjusted or transferred amount of

the main capital account.

Unit: minimum currency unit

The default value is 0.

13 SPID Char[20] Indicates the SP ID or CP ID.

14 ServiceID Char[20] Indicates the service detail of the SP.

15 ServiceType Integer[4] Indicates the service-related information that is

sent from external systems.

It is customized according to the special

requirement.

The default value is 0.

16 Reserved Integer[4] -

17 Reserved Integer[4] -

18 Reserved Integer[4] -

19 AccessNumber Char[32] Indicates the access number for querying the

balance by IVR, SMS, or USSD.

Can be null

20 Reserved Integer[4] -

21 IsARAdjustAcc

ount

Integer[4] Indicates whether the adjustment is initiated by

the AR. The value is follows:

0: No

1: Yes

The default value is 0.

Page 251: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

241

SN. Field Name Field Type Description

Not null

22 BrandID Integer[4] Indicates the brand ID of subscribers.

Not null

The default value is 0.

23 SubCOSID Integer[4] Indicates the main product ID of subscribers.

Not null

The default value is 0.

24 PayType Char[4] Indicates the pay type of subscribers.

The options are as follows:

0: Prepaid

1: Postpaid

Not null

25 BillCycleID Char[20] Indicates the bill cycle ID.

Format: YYYYMMTT

The description of the format is as follows:

YYYY: indicates the year.

MM: indicates the month.

TT: indicates the type of a bill cycle.

26 ServiceBeginTi

me

Char[16] Indicates the start time for charging, which is

reported by the service.

When the service network element does not

report the start time, the value is the time when

the OCS charges the service.

Format: YYYYMMDDhhmmss

Not null

27 ServiceEndTim

e

Char[16] Indicates the end time for charging, which is

reported by the service.

The end time can be calculated according to the

start time. If the end time is unavailable, the

value of this field is equal to the value of the

ServiceBeginTime field.

Format: YYYYMMDDhhmmss

28 ChargeAmount Integer[8] Indicates the amount of deducted fees or owing

fees of the main capital account.

The amount is a positive number.

The value of the ChargeAmount field is equal

to or greater than 0 all the time.

The default value is 0.

29 TotalOperation Integer[4] Indicates the service amount used.

The value of TotalOperation equals the total

Page 252: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

242

SN. Field Name Field Type Description

values of QueryOperation, AddOperation,

DeleteOperation, and ModifyOperation.

The default value is 0.

30 QueryOperation Integer[4] Indicates the service amount queried.

In the one-off fee query or balance check

process, the QueryOperation parameter is set

to 1.

The default value is 0.

31 AddOperation Integer[4] Indicates the service amount added.

In the one-off fee adding operation, the

AddOperation parameter is set to 1.

The default value is 0.

32 DeleteOperation Integer[4] Indicates the service amount deleted.

In the one-off fee deletion operation, the

DeleteOperation parameter is set to 1.

The default value is 0.

Not null

33 ModifyOperatio

n

Integer[4] Indicates the service amount modified.

Presently, the ModifyOperation parameter

does not need to be configured for any

processes. Therefore, its value is fixed to 0.

Not null

The default value is 0.

34 ServiceUnit Integer[4] Indicates the measurement methods

corresponding to the metric table.

For example, times, or second. If the system

deducts fee or refunds fees, the unit is times.

For the one-off charging, the value of

useageamount is 1, and the value of

Serviceunit is 3.

Not null

The default value is 0.

35 ChargingTime Char[16] Indicates the time stamp of the charging

beginning.

Format: YYYYMMDDhhmmss

Not null

36 TransitionID Char[32] Indicates the sequence number of a transaction.

37 OldUserState Char[12] Indicates the life cycle state and the

management state of a subscriber before

recharging.

The OldUserState parameter is a numeric

string of seven digits, in the format

Page 253: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

243

SN. Field Name Field Type Description

CCMMMMM.

The first and second digits C indicate the life

cycle state of a subscriber. The first digit C

indicates the state of a prepaid subscriber, and

the second digit C indicates the state of a

postpaid subscriber. The options are as follows:

0: Idle

1: Active

2: Suspended

3: Disable

4: Pool

5: Pool without activation

The next five digits MMMMM indicate the

management state of a subscriber. The options

are as follows:

Third digit: Whether the subscriber claims

missing.

0: no

1: yes

Fourth digit: Whether the subscriber suspends

the service.

0: non-suspend

1: suspend

2: suspend by operator (B1W)

3: suspend by operator (B2W)

Fifth digit: Whether the subscriber applies for

suspension with the number being reserved.

0: no

1: yes

Sixth digit: Whether the subscriber is blocked.

0: no

1: yes

Seventh digit: Whether the subscriber is

blacklisted.

0: no

1: yes

Not null

38 SubscriberID Char[32] Indicates the subscriber ID.

Value range: characters in [0-9, a-z, A-Z]

Not null

39 ValidDayAdded Integer[4] When transfer money into validity, or extend

validity, this field will record the extend

Page 254: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

244

SN. Field Name Field Type Description

validity.

The default value is 0.

40 CurrUserState Char[10] Indicates the life cycle state and the

management state of a subscriber after

recharging.

The CurrUserState parameter is a numeric

string of seven digits, in the format

CCMMMMM.

The first and second digits C indicate the life

cycle state of a subscriber. The first digit C

indicates the state of a prepaid subscriber, and

the second digit C indicates the state of a

postpaid subscriber. The options are as follows:

0: Idle

1: Active

2: Suspended

3: Disable

4: Pool

5: Pool without activation

The next five digits MMMMM indicate the

management state of a subscriber. The options

are as follows:

Third digit: Whether the subscriber claims

missing.

0: no

1: yes

Fourth digit: Whether the subscriber suspends

the service.

0: non-suspend

1: suspend

2: suspend by operator (B1W)

3: suspend by operator (B2W)

Fifth digit: Whether the subscriber applies for

suspension with the number being reserved.

0: no

1: yes

Sixth digit: Whether the subscriber is blocked.

0: no

1: yes

Seventh digit: Whether the subscriber is

blacklisted.

0: no

1: yes

Page 255: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

245

SN. Field Name Field Type Description

Not null

41 Reserved Char[32] -

42 Reserved Char[32] -

43 Reserved Char[32] -

44 Reserved Char[32] -

45 ResultCode Integer[4] Indicates the internal result code.

Value range: -231

-231

-1

The default value is 0.

46 ChargeOfItems

Accounts

Integer[8] Indicates the free call times used.

Value range: -263

-263

-1

Not null

The default value is 0.

47 ChargeOfDurati

onAccounts

Integer[8] Indicates the total call time charge using

reword resource.

Value range: -263

-263

-1

Not null

The default value is 0.

48 ChargeOfFund

Accounts

Integer[8] Indicates the total cost amount charging from

fund account.

Not null

The default value is 0.

49 ChargeFromPre

paid

Integer[8] Indicates the charge amount from prepaid

account.

Value range: -263

-263

-1

Not null

The default value is 0.

50 PrepaidBalance Integer[8] Indicates the charge amount from prepaid

account.

Not null

The default value is 0.

51 ChargeFromPos

tpaid

Integer[8] Indicates the balance of prepaid account.

Not null

The default value is 0.

52 PostPaidBalanc

e

Integer[8] Indicates the charge amount from postpaid

account.

Not null

The default value is 0.

Page 256: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

246

SN. Field Name Field Type Description

53 AccountID Char[20] Indicates the balance of postpaid account.

Not null

54 CurrencyCode Integer[4] Currency code. Also, if this field missed or

present be Zero, it means the system use local

minimal currency as default, and no need to

specify in CDR.

The default value is 0.

55 Reserved Char[20] -

56 AccountType1 Integer[4] Indicates the account type of the first account.

0 means not used.

Not null

The default value is 0.

57 FeeType1 Integer[4] Indicates the fee type of the first account.

0 means not used.

Not null

The default value is 0.

58 ChargeAmount

1 Integer[8] Indicates the changing amount of the first

account.

0 means not unchanged.

Not null

The default value is 0.

59 CurrentAcctAm

ount1 Integer[8] Indicates the current amount of the first

account.

Not null

The default value is 0.

60 AccountType2 Integer[4] Indicates the account type of the second

account.

0 means not used.

Not null

The default value is 0.

61 FeeType2 Integer[4] Indicates the fee type of the second account.

0 means not used.

Not null

The default value is 0.

62 ChargeAmount

2

Integer[8] Indicates the changing amount of the second

account.

0 means not unchanged.

Not null

The default value is 0.

Page 257: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

247

SN. Field Name Field Type Description

63 CurrentAcctAm

ount2

Integer[8] Indicates the current amount of the second

account.

Not null

The default value is 0.

64 AccountType3 Integer[4] Indicates the account type of the third account.

0 means not used.

Not null

The default value is 0.

65 FeeType3 Integer[4] Indicates the fee type of the third account.

0 means not used.

Not null

The default value is 0.

66 ChargeAmount

3

Integer[8] Indicates the changing amount of the third

account.

0 means not unchanged.

Not null

The default value is 0.

67 CurrentAcctAm

ount3

Integer[8] Indicates the current amount of the third

account.

Not null

The default value is 0.

68 AccountType4 Integer[4] Indicates the account type of the fourth

account.

0 means not used.

Not null

The default value is 0.

69 FeeType4 Integer[4] Indicates the fee type of the fourth account.

0 means not used.

Not null

The default value is 0.

70 ChargeAmount

4

Integer[8] Indicates the changing amount of the fourth

account.

0 means not unchanged.

Not null

The default value is 0.

71 CurrentAcctAm

ount4

Integer[8] Indicates the current amount of the fourth

account.

Not null

The default value is 0.

Page 258: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

248

SN. Field Name Field Type Description

72 AccountType5 Integer[4] Indicates the account type of the fifth account.

0 means not used.

Not null

The default value is 0.

73 FeeType5 Integer[4] Indicates the fee type of the fifth account.

0 means not used.

Not null

The default value is 0.

74 ChargeAmount

5

Integer[8] Indicates the changing amount of the fifth

account.

0 means not unchanged.

Not null

The default value is 0.

75 CurrentAcctAm

ount5

Integer[8] Indicates the current amount of the fifth

account.

Not null

The default value is 0.

76 AccountType6 Integer[4] Indicates the account type of the sixth account.

0 means not used.

Not null

The default value is 0.

77 FeeType6 Integer[4] Indicates the fee type of the sixth account.

0 means not used.

Not null

The default value is 0.

78 ChargeAmount

6

Integer[8] Indicates the changing amount of the sixth

account.

0 means not unchanged.

Not null

The default value is 0.

79 CurrentAcctAm

ount6

Integer[8] Indicates the current amount of the sixth

account.

Not null

The default value is 0.

80 AccountType7 Integer[4] Indicates the account type of the seventh

account.

0 means not used.

Not null

The default value is 0.

Page 259: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

249

SN. Field Name Field Type Description

81 FeeType7 Integer[4] Indicates the fee type of the seventh account.

0 means not used.

Not null

The default value is 0.

82 ChargeAmount

7

Integer[8] Indicates the changing amount of the seventh

account.

0 means not unchanged.

Not null

The default value is 0.

83 CurrentAcctAm

ount7

Integer[8] Indicates the current amount of the seventh

account.

Not null

The default value is 0.

84 AccountType8 Integer[4] Indicates the account type of the eighth

account.

0 means not used.

Not null

The default value is 0.

85 FeeType8 Integer[4] Indicates the fee type of the eighth account.

0 means not used.

Not null

The default value is 0.

86 ChargeAmount

8

Integer[8] Indicates the changing amount of the eighth

account.

0 means not unchanged.

Not null

The default value is 0.

87 CurrentAcctAm

ount8

Integer[8] Indicates the current amount of the eighth

account.

Not null

The default value is 0.

88 AccountType9 Integer[4] Indicates the account type of the ninth account.

0 means not used.

Not null

The default value is 0.

89 FeeType9 Integer[4] Indicates the fee type of the ninth account.

0 means not used.

Not null

The default value is 0.

Page 260: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

250

SN. Field Name Field Type Description

90 ChargeAmount

9

Integer[8] Indicates the changing amount of the ninth

account.

0 means not unchanged.

Not null

The default value is 0.

91 CurrentAcctAm

ount9

Integer[8] Indicates the current amount of the ninth

account.

Not null

The default value is 0.

92 AccountType10 Integer[4] Indicates the account type of the tenth account.

0 means not used.

Not null

The default value is 0.

93 FeeType10 Integer[4] Indicates the fee type of the tenth account.

0 means not used.

Not null

The default value is 0.

94 ChargeAmount

10

Integer[8] Indicates the changing amount of the tenth

account.

0 means not unchanged.

Not null

The default value is 0.

95 CurrentAcctAm

ount10

Integer[8] Indicates the current amount of the tenth

account.

Not null

The default value is 0.

96 PreviousActives

top

Char[14] Indicates Activestop before operation.

Format: YYYYMMDDhhmmss

97 NewActivestop Char[14] Indicates Activestop after operation.

Format: YYYYMMDDhhmmss

98 PreviousSuspen

dStop

Char[14] Indicates SuspendStop before operation.

Format: YYYYMMDDhhmmss

99 NewSuspendSto

p

Char[14] Indicates SuspendStop after operation.

Format: YYYYMMDDhhmmss

100 PreviousDisable

Stop

Char[14] Indicates DisableStop before operation.

Format: YYYYMMDDhhmmss

101 NewDisableSto

p

Char[14] Indicates DisableStop after operation.

Page 261: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

251

SN. Field Name Field Type Description

Format: YYYYMMDDhhmmss

102 StandardEventI

D

Integer[4] Indicates the ID of the standard event.

103 EventRatingStar

tTime

Char[14] Indicates the start time of the event rating.

104 EventChargedSt

artTime

Char[14] Indicates the start time of the event charged.

105 CurChargerSub

scriberObject

Integer[4] Indicates the subscriber object of the standard

cur charger.

106 ChargedService

Number

Char[64] Indicates the service number of charged.

107 Reserved Char[20] -

108 Reserved Char[20] -

109 Reserved Char[20] -

110 AddtionalInfo Char[512] Indicates the additional information about the

service.

Some additional information about the service

is recorded. In most cases, the information is

only useful for the specified carrier.

111 StartTimeOfBill

Cycle

Char[14] Indicates the start time of bill cycle.

The default value is 0.

112 AccountKey1 Integer[8] Indicates the key value of the first account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

The changes of the values of the AccountKey1,

PreviousAcctExpireTime1,

NewAcctExpireTime1, AccountType1,

FeeType1, ChargeAmount1, and

CurrentAcctAmount1 parameters indicate the

change of a subaccount instance.

The default value is 0.

113 PreviousAcctEx

pireTime1 Char[14] Indicates the previous expire time of the first

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

114 NewAcctExpire

Time1

Char[14] Indicates the current expire time of the first

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

Page 262: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

252

SN. Field Name Field Type Description

115 AccountKey2 Integer[8] Indicates the key value of the second account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

The default value is 0.

116 PreviousAcctEx

pireTime2

Char[14] Indicates the previous expire time of the second

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

117 NewAcctExpire

Time2

Char[14] Indicates the current expire time of the second

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

118 AccountKey3 Integer[8] Indicates the key value of the third account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

The default value is 0.

119 PreviousAcctEx

pireTime3

Char[14] Indicates the previous expire time of the third

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

120 NewAcctExpire

Time3

Char[14] Indicates the current expire time of the third

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

121 AccountKey4 Integer[8] Indicates the key value of the fourth account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

The default value is 0.

122 PreviousAcctEx

pireTime4

Char[14] Indicates the previous expire time of the fourth

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

123 NewAcctExpire

Time4

Char[14] Indicates the current expire time of the fourth

account.

NOTE

When changing the validity period of the account

Page 263: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

253

SN. Field Name Field Type Description

balance, you need to record this parameter.

124 AccountKey5 Integer[8] Indicates the key value of the fifth account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

The default value is 0.

125 PreviousAcctEx

pireTime5

Char[14] Indicates the previous expire time of the fifth

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

126 NewAcctExpire

Time5

Char[14] Indicates the current expire time of the fifth

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

127 AccountKey6 Integer[8] Indicates the key value of the sixth account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

The default value is 0.

128 PreviousAcctEx

pireTime6

Char[14] Indicates the previous expire time of the sixth

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

129 NewAcctExpire

Time6

Char[14] Indicates the current expire time of the sixth

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

130 AccountKey7 Integer[8] Indicates the key value of the seventh account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

The default value is 0.

131 PreviousAcctEx

pireTime7

Char[14] Indicates the previous expire time of the

seventh account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

132 NewAcctExpire

Time7

Char[14] Indicates the current expire time of the seventh

account.

NOTE

Page 264: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

254

SN. Field Name Field Type Description

When changing the validity period of the account

balance, you need to record this parameter.

133 AccountKey8 Integer[8] Indicates the key value of the eighth account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

The default value is 0.

134 PreviousAcctEx

pireTime8

Char[14] Indicates the previous expire time of the eighth

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

135 NewAcctExpire

Time8

Char[14] Indicates the current expire time of the eighth

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

136 AccountKey9 Integer[8] Indicates the key value of the ninth account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

The default value is 0.

137 PreviousAcctEx

pireTime9

Char[14] Indicates the previous expire time of the ninth

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

138 NewAcctExpire

Time9

Char[14] Indicates the current expire time of the ninth

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

139 AccountKey10 Integer[8] Indicates the key value of the tenth account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

The default value is 0.

140 PreviousAcctEx

pireTime10

Char[14] Indicates the previous expire time of the tenth

account.

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

141 NewAcctExpire

Time10

Char[14] Indicates the current expire time of the tenth

account.

Page 265: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

255

SN. Field Name Field Type Description

NOTE

When changing the validity period of the account

balance, you need to record this parameter.

142 Reserved Char[20] -

143 Reserved Char[20] -

144 Reserved Char[20] -

145 Reserved Integer[8] -

146 Reserved Integer[8] -

147 Reserved Integer[4] -

148 Reserved Integer[4] -

149 DiameterSessio

nID

Char[128] Indicates the session id that generated during

the interaction between the SCP and the CBP.

The field includes parts as follows:

<DiameterIdentity>;<high 32 bits>;<low 32

bits>[;<optional value>].

<DiameterIdentity>: same as Origin-Host;

<high 32 bits>: the current day

<low 32 bits>: increase by degrees

circulatory, the start value is 0. Set the value

is 0 when the system restarts.

<optional value>: reserved.

Every fields are separated by a character ";".

Example:

SCP001.huawei.com;1876543210;523

150 NewProductID Integer[4] Indicates the ID of the new product that the

subscriber subscribes and unsubscribes.

The default value is 0.

Value range: -263

-263

-1

151 ExpireTimeofN

ewProduct

Char[32] Indicates the expire time of the new product

that the subscriber subscribes.

Format: YYYYMMDDhhmmss

152 subscriberkey Integer[4] Indicates the key of a subscriber.

Not null

The default value is 0.

153 accountkey Integer[8] Indicates the key of a account.

Not null

The default value is 0.

154 HistoryBillCycl

eFlag

Integer[4] Indicates whether an adjustment is a history

adjustment. The value is follows:

Page 266: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

256

SN. Field Name Field Type Description

0: No

1: Yes

The default value is 0.

Not null

155 UsageServiceTy

pe

Integer[4] Indicates the type of a real-time service.

The default value is 3901.

156 OriginCdrFilena

me

Char[64] Indicates the name of a rated CDR.

The default value is 0.

157 CurCDRLineNo Integer[4] Indicates the number of the line where the

original CDR is located.

The default value is 0.

158 ISQueryAccFre

e Char[1] Indicates whether the subscriber queries

account balance is free.

0: no

1: yes

The default value is 0.

159 Reserved Integer[8] -

160 Reserved Integer[8] -

161 Reserved Integer[8] -

162 Reserved Integer[8] -

163 ChargeOfItems

SecondAccount

s

Integer[8] Free call times be used from others, such as

parent card, VPN.

Not null

164 ChargeOfDurati

onSecondAccou

nts

Integer[8] Indicates total call time charge using reword

resource from others, such as parent card,

VPN.

Not null

165 ChargeOfFundS

econdAccounts

Integer[8] Indicates total cost amount charging from fund

account.

Not null

166 ChargeFromSec

ondAccount

Integer[8] Indicates charge amount from other account,

such as the parent card, VPN.

Not null

167 SecondAccount

Balance

Integer[8] Reserved

168 SecondAccount

ID

Char[20] Indicates the ID of the main capital account

from which fees are deducted.

The ID is transferred into the internal system

Page 267: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

257

SN. Field Name Field Type Description

by an external system when the account is

created.

169 SecondAccount

CurrencyCode

Integer[4] Indicates the currency code, in minimum

currency unit by default.

The default value is 0.

170 SecondAccount

Type1

Integer[4] 1st group of account change info. Including:

Account Type, 0 means not used.

Fee Type, 0 means not used.

Changed Amount, 0 means unchanged.

Current Amount.

Not null

The default value is 0.

171 SecondFeeType

1

Integer[4] Fee Type, 0 means not used.

Not null

The default value is 0.

172 SecondChargeA

mount1

Integer[8] Changed Amount, 0 means unchanged.

Not null

The default value is 0.

173 SecondCurrent

AcctAmount1

Integer[8] Reserved

174 SecondAccount

Type2

Integer[4] 2nd group of account change info. The

structure is same as the first group.

Not null

The default value is 0.

175 SecondFeeType

2

Integer[4] Fee Type, 0 means not used.

Not null

The default value is 0.

176 SecondChargeA

mount2

Integer[8] Changed Amount, 0 means unchanged.

Not null

The default value is 0.

177 SecondCurrent

AcctAmount2

Integer[8] Reserved

178 SecondAccount

Type3

Integer[4] 3rd group of account change info. The structure

is same as the first group.

Not null

The default value is 0.

179 SecondFeeType

3

Integer[4] Fee Type, 0 means not used.

Not null

Page 268: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

258

SN. Field Name Field Type Description

The default value is 0.

180 SecondChargeA

mount3

Integer[8] Changed Amount, 0 means unchanged.

Not null

The default value is 0.

181 SecondCurrent

AcctAmount3

Integer[8] Reserved

182 SecondAccount

Type4

Integer[4] 4th group of account change info. The structure

is same as the first group.

The default value is 0.

183 SecondFeeType

4

Integer[4] Fee Type, 0 means not used.

Not null

The default value is 0.

184 SecondChargeA

mount4

Integer[8] Changed Amount, 0 means unchanged.

Not null

The default value is 0.

185 SecondCurrent

AcctAmount4

Integer[8] Reserved

188 SecondAccount

Type5

Integer[4] 5th group of account change info. The structure

is same as the first group.

The default value is 0.

187 SecondFeeType

5

Integer[4] Fee Type, 0 means not used.

Not null

The default value is 0.

188 SecondChargeA

mount5

Integer[8] Changed Amount, 0 means unchanged.

Not null

The default value is 0.

189 SecondCurrent

AcctAmount5

Integer[8] Reserved

190 SecondBonusV

alidity1

Char[14] Indicates the validity period of the first

rewarded resource. Only the validity period of

rewarded resources is recorded. The valid

period of consumption resources is not

recorded.

191 SecondBonusV

alidity2

Char[14] Indicates the validity period of the second

rewarded resource. Only the validity period of

rewarded resources is recorded. The valid

period of consumption resources is not

recorded.

192 SecondBonusV

alidity3

Char[14] Indicates the validity period of the third

rewarded resource. Only the validity period of

Page 269: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

259

SN. Field Name Field Type Description

rewarded resources is recorded. The valid

period of consumption resources is not

recorded.

193 SecondBonusV

alidity4

Char[14] Indicates the validity period of the fourth

rewarded resource. Only the validity period of

rewarded resources is recorded. The valid

period of consumption resources is not

recorded.

194 SecondBonusV

alidity5

Char[14] Indicates the validity period of the fifth

rewarded resource. Only the validity period of

rewarded resources is recorded. The valid

period of consumption resources is not

recorded

195 SecondSubscrib

erKey

Integer[4] Indicates the key value of a entrusted-payment

subscriber.

The default value is 0.

196 SecondAccount

Key

Integer[8] Indicates the key value of a entrusted-payment

account.

The default value is 0.

197 SecondProductI

D

Integer[4] Reserved

198 SecondChargeF

romPostpaid

Integer[8] Indicates the amount that is paid by the

postpaid account of a entrusted-payment

subscriber.

The default value is 0.

199 SecondChargeF

romPrepaid

Integer[8] Indicates the amount that is paid by the prepaid

account of a entrusted-payment subscriber.

The default value is 0.

200 SecondChargin

gPartyNumber

Char[32] Indicates the number of the entrusted-payment

account.

The number format are as follows:

Fixed-line telephone number: area number

+ PSTN.

Mobile phone number: MSISDN.

201 SecondChargin

gPartyPayType

Char[1] Indicates the payment mode of the

entrusted-payment account, for example, the

payment mode of a parent card.

By default the parameter is the payment mode

in the subscriber attribute.

202 SecondChargin

gPartyBillCycle

ID

Char[20] Indicates the bill cycle of the

entrusted-payment account, for example, the

bill cycle of the parent account. The parameter

Bill cycle ID is in the format YYYYMMTT, in

Page 270: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

260

SN. Field Name Field Type Description

which YYYYMM is the year and month of the

bill cycle and TT is the bill cycle type.

203 ChargePartyIndi

cator

Char[1] Charging party indicator.

1: The calling party is charged.

2: The called party is charged.

3: charge of third party.

4: charge of parent and child card.

5: charge of calling party and VPN.

The default value is 1.

204 AccessMethod Integer[4] Indicates the access method.

The options are as follows:

0: Other

1: IVR

2: USSD

3: SMS

4: SMAP

5: WebService interface

7: MML

9: HTTP

The default value is 0.

Operation ID

Table 3-11 The list of operation ID

Operation ID Description

4050001 Subscribe to product for individual subscriber

4050003 Suspend service

4050009 Change the number of a subscriber

4050022 Change subscriber password

4052101 Transfer account balance

4052112 Change main product

4052114 Manage FN service

4052133 Query account balance

4052135 Manage home zone service

4052417 Deduct the fee for a Call Me Back service

Page 271: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

261

Operation ID Description

4052956 Manage Super Buddy numbers

3.1.10 clr CDR

Description

When the life cycles of subscribers change, the clr CDRs record the information if the OCS

clears the account balances or reward resources of the subscribers.

Generation Scenario

In the following scenario will generate the clr CDR.

When the life cycles of subscribers change, the system clears the account balances or

reward recourses of the subscribers. In this case, clr CDRs are generated. For example,

when subscriber A enters the pool state, the system clears all resources of the subscriber's

accounts and records a clr CDR.

The CBP clears expired subaccounts during background scan, and the system generates a

clr CDR.

CDR File Name Format

clrYYYYMMDD_CBPNODE_Seqno.unl

Example of a clr CDR file name: clr20071112_101_000151.unl

Format

Table 3-12 describes each field of clr CDR file.

Table 3-12 Format of clr CDR

SN. Field Name Field Type

Description

1 SerialNo Integer[8] Indicates the serial number.

It is generated by the system and the serial

number is exclusive.

Not null

The default value is 0.

2 SubSequence Integer[4] Indicates the sequence number when the bill is

split for mid-night and end of the bill cycle.

The default value is 0.

3 TimeStamp Char[14] Indicates the time stamp of the bill item

generation.

Format: YYYYMMDDhhmmss

Page 272: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

262

SN. Field Name Field Type

Description

Not null

The default value is null.

4 ChargingPartyNu

mber

Char[64] Indicates the telephone number of the charging

party.

The number is same as calling party number in

MO and called party number in MT.

There are several special situations. Like

Child-Parent card feature, the calling party

number is the child, the charging party number

is the parent's number. This field is null when

the service is paid only by account.

The number format are as follows:

Country code + Area number + PSTN

The number format is the format of the

fixed-line phone number.

Country code + MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

The default value is null.

5 ChargeEvent Char[16] Indicates the type of the current charge event.

6 SubChargeEvent Char[16] Indicates the type of the current sub charge

event.

7 Reserved Char[20] -

8 Reserved Char[20] -

9 Reserved Char[20] -

10 Reserved Char[20] -

11 BrandID Integer[4] Indicates the brand ID of subscribers.

Not null

The default value is 0.

12 SubCOSID Integer[4] Indicates the main product ID of subscribers.

Not null

The default value is 0.

13 PayType Char[1] Indicates the pay type of subscribers.

The options are as follows:

0: Prepaid

1: Postpaid

Page 273: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

263

SN. Field Name Field Type

Description

2: Hybrid

Not null

14 BillCycleID Char[20] Indicates the bill cycle ID.

Format: YYYYMMTT

The description of the format is as follows:

YYYY: indicates the year.

MM: indicates the month.

TT: indicates the type of a bill cycle.

15 TransitionID Char[32] Indicates a transaction ID.

16 SubscriberID Char[20] Indicates the subscriber ID.

Value range: characters in [0-9, a-z, A-Z]

Not null

17 CurrUserState Char[10] Indicates the life cycle state and the

management state of a subscriber after

operation.

The CurrUserState parameter is a numeric

string of seven digits, in the format

CCMMMMM.

The first and second digits C indicate the life

cycle state of a subscriber. The first digit C

indicates the state of a prepaid subscriber, and

the second digit C indicates the state of a

postpaid subscriber. The options are as follows:

0: Idle

1: Active

2: Suspended

3: Disable

4: Pool

5: Pool without activation

The next five digits MMMMM indicate the

management state of a subscriber. The options

are as follows:

Third digit: Whether the subscriber claims

missing.

0: no

1: yes

Fourth digit: Whether the subscriber suspends

the service.

0: non-suspend

1: suspend

2: suspend by operator (B1W)

Page 274: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

264

SN. Field Name Field Type

Description

3: suspend by operator (B2W)

Fifth digit: Whether the subscriber applies for

suspension with the number being reserved.

0: no

1: yes

Sixth digit: Whether the subscriber is blocked.

0: no

1: yes

Seventh digit: Whether the subscriber is

blacklisted.

0: no

1: yes

Not null

18 ResultCode Integer[4] Indicates the internal result code.

Value range: -231

-231

-1

The default value is 0.

19 Reserved Char[20] -

20 Reserved Char[20] -

21 Reserved Char[20] -

22 PrepaidBalance Integer[8] Indicates the balance of prepaid account.

Value range: -263

-263

-1

The default value is 0.

23 PostPaidBalance Integer[8] Indicates the balance of postpaid account.

Value range: -263

-263

-1

The default value is 0.

24 Reserved Char[20] -

25 Reserved Char[20] -

26 AccountType1 Integer[4] Indicates the type of the first account that is

cleared.

The default value is 0.

27 CleanedAmount1 Integer[8] Indicates the change range of the first account

that is cleared.

Value range: -263

-263

-1

The default value is 0.

28 AccountType2 Integer[4] Indicates the type of the second account that is

cleared.

The default value is 0.

Page 275: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

265

SN. Field Name Field Type

Description

29 CleanedAmount2 Integer[8] Indicates the change range of the second

account that is cleared.

Value range: -263

-263

-1

The default value is 0.

30 AccountType3 Integer[4] Indicates the type of the third account that is

cleared.

The default value is 0.

31 CleanedAmount3 Integer[8] Indicates the change range of the third account

that is cleared.

Value range: -263

-263

-1

The default value is 0.

32 AccountType4 Integer[4] Indicates the type of the fourth account that is

cleared.

The default value is 0.

33 CleanedAmount4 Integer[8] Indicates the change range of the fourth account

that is cleared.

Value range: -263

-263

-1

The default value is 0.

34 AccountType5 Integer[4] Indicates the type of the fifth account that is

cleared.

The default value is 0.

35 CleanedAmount5 Integer[8] Indicates the change range of the fifth account

that is cleared.

Value range: -263

-263

-1

The default value is 0.

36 AccountType6 Integer[4] Indicates the type of the sixth account that is

cleared.

The default value is 0.

37 CleanedAmount6 Integer[8] Indicates the change range of the sixth account

that is cleared.

Value range: -263

-263

-1

The default value is 0.

38 AccountType7 Integer[4] Indicates the type of the seventh account that is

cleared.

The default value is 0.

39 CleanedAmount7 Integer[8] Indicates the change range of the seventh

account that is cleared.

Value range: -263

-263

-1

The default value is 0.

Page 276: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

266

SN. Field Name Field Type

Description

40 AccountType8 Integer[4] Indicates the type of the eighth account that is

cleared.

The default value is 0.

41 CleanedAmount8 Integer[8] Indicates the change range of the eighth

account that is cleared.

Value range: -263

-263

-1

The default value is 0.

42 AccountType9 Integer[4] Indicates the type of the ninth account that is

cleared.

The default value is 0.

43 CleanedAmount9 Integer[8] Indicates the change range of the ninth account

that is cleared.

Value range: -263

-263

-1

The default value is 0.

44 AccountType10 Integer[4] Indicates the type of the tenth account that is

cleared.

The default value is 0.

45 CleanedAmount10 Integer[8] Indicates the change range of the tenth account

that is cleared.

Value range: -263

-263

-1

The default value is 0.

46 Reserved Integer[4] -

47 Reserved Integer[4] -

48 ExpireTimeOfAcc

ountType1

Char[14] Indicates the expire time of the first account

that is cleared.

Value format: YYYYMMDDhhmmss

49 ExpireTimeOfAcc

ountType2 Char[14] Indicates the expire time of the second account

that is cleared.

Value format: YYYYMMDDhhmmss

50 ExpireTimeOfAcc

ountType3

Char[14] Indicates the expire time of the third account

that is cleared.

Value format: YYYYMMDDhhmmss

51 ExpireTimeOfAcc

ountType4

Char[14] Indicates the expire time of the fourth account

that is cleared.

Value format: YYYYMMDDhhmmss

52 ExpireTimeOfAcc

ountType5

Char[14] Indicates the expire time of the fifth account

that is cleared.

Value format: YYYYMMDDhhmmss

Page 277: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

267

SN. Field Name Field Type

Description

53 ExpireTimeOfAcc

ountType6

Char[14] Indicates the expire time of the sixth account

that is cleared.

Value format: YYYYMMDDhhmmss

54 ExpireTimeOfAcc

ountType7

Char[14] Indicates the expire time of the seventh account

that is cleared.

Value format: YYYYMMDDhhmmss

55 ExpireTimeOfAcc

ountType8

Char[14] Indicates the expire time of the eighth account

that is cleared.

Value format: YYYYMMDDhhmmss

56 ExpireTimeOfAcc

ountType9

Char[14] Indicates the expire time of the ninth account

that is cleared.

Value format: YYYYMMDDhhmmss

57 ExpireTimeOfAcc

ountType10

Char[14] Indicates the expire time of the tenth account

that is cleared.

Value format: YYYYMMDDhhmmss

58 subscriberkey Integer[4] Indicates the key of a subscriber.

The default value is 0.

59 accountkey Integer[8] Indicates the key of a account.

The default value is 0.

3.1.11 return CDR

Description

The return CDR records the information of the subscriber pays amount of the loan after the

recharge or transfer.

Generation Scenario

The system records this CDR when a subscriber to pay for or forcing to pay for the loan

during recharge or transfer.

CDR File Name Format

returnYYYYMMDD_CBPNODE_Seqno.unl

Example of a return CDR file name: return20071112_101_000151.unl

Format

Table 3-13 describes each field of return CDR file.

Page 278: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

268

Table 3-13 Format of return CDR

SN. Field Name Field Type

Description

1 SerialNo Integer[8] Indicates the serial number.

The default value is 0.

Not null

2 TimeStamp Char[14] Indicates timestamp of the bill item generation.

Format: YYYYMMDDhhmmss

Not null

3 BrandID Integer[4] Indicates brand ID of a subscriber.

The default value is 0.

Not null

4 SubCOSID Integer[4] Indicates the main product ID of a subscriber.

The default value is 0.

Not null

5 MSISDN Char[64] Indicates the mobile number of a subscriber.

The default value is 0.

6 TriggerMSISDN Char[64] Indicates the calling number that initiates the

payment operation.

7 ReturnMode Integer[4] Indicates the payment mode.

1: recharge

2: transfer

3: forcible loan payment

8 ReturnAmount Integer[8] Indicates the payment amount.

The default value is 0.

9 AccountLeft Integer[8] Indicates the account balance before payment.

The default value is 0.

10 AftAccountLeft Integer[8] Indicates the account balance after payment.

The default value is 0.

11 BorrowValuesBf Integer[8] Indicates the loan before payment.

The default value is 0.

12 BorrowValuesAf Integer[8] Indicates the loan after payment.

The default value is 0.

13 ETUGracePeriod Char[14] Indicates the time when a subscriber enters the

ETU blacklist state.

14 GracePeriod Char[14] Indicates the forcible payment time.

15 ETUFraudState Char[1] Indicates the ETU blacklist state.

Page 279: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

269

SN. Field Name Field Type

Description

16 AccountType1 Integer[4] Indicates the type of the first account for loan

payment.

The default value is 0.

17 ChargeAmount1 Integer[8] Indicates the balance change of the first account

for loan payment.

The default value is 0.

Value range: -263

-263

-1

18 CurrentAcctAmou

nt1

Integer[8] Indicates current balance of the first account of

changed account list.

The default value is 0.

Value range: -263

-263

-1

19 AccountType2 Integer[4] Indicates the type of the second account for

loan payment.

The default value is 0.

20 ChargeAmount2 Integer[8] Indicates the balance change of the second

account for loan payment.

The default value is 0.

Value range: -263

-263

-1

21 CurrentAcctAmou

nt2

Integer[8] Indicates current balance of the second account

of changed account list.

The default value is 0.

Value range: -263

-263

-1

22 AccountType3 Integer[4] Indicates the type of the third account for loan

payment.

The default value is 0.

23 ChargeAmount3 Integer[8] Indicates the balance change of the third

account for loan payment.

The default value is 0.

Value range: -263

-263

-1

24 CurrentAcctAmou

nt3

Integer[8] Indicates current balance of the third account of

changed account list.

The default value is 0.

Value range: -263

-263

-1

25 AccountType4 Integer[4] Indicates the type of the fourth account for loan

payment.

The default value is 0.

26 ChargeAmount4 Integer[8] Indicates the balance change of the fourth

account for loan payment.

The default value is 0.

Page 280: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

270

SN. Field Name Field Type

Description

Value range: -263

-263

-1

27 CurrentAcctAmou

nt4

Integer[8] Indicates current balance of the fourth account

of changed account list.

The default value is 0.

Value range: -263

-263

-1

28 AccountType5 Integer[4] Indicates the type of the fifth account for loan

payment.

The default value is 0.

29 ChargeAmount5 Integer[8] Indicates the balance change of the fifth

account for loan payment.

The default value is 0.

Value range: -263

-263

-1

30 CurrentAcctAmou

nt5

Integer[8] Indicates current balance of the fifth account of

changed account list.

The default value is 0.

Value range: -263

-263

-1

31 ReturnLoanAmoun

t

Integer[8] Indicates the accurately amount for loan and

without the handling charge.

The default value is 0.

Value range: -263

-263

-1

32 LoanGrade Integer[4] Indicates the subscriber grade for loan service.

The default value is -1.

3.1.12 gft CDR

Description

The gft CDRs record the bonus information when a subscriber recharging or being charged

the month rental and there is bonus for a subscriber.

Generation Scenario

If there is bonus when a subscriber recharging or being charged the month rental, gft CDRs

are generated.

CDR File Name Format

gftYYYYMMDD_CBPNODE_Seqno.unl

Example of a gft CDR file name: gft20091112_101_000151.unl

Page 281: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

271

Format

Table 3-14 describes each field of gft CDR file.

Table 3-14 Format of gft CDR

No.

Field name Field type Description

1 SerialNo Integer[8] Indicates the serial Number.

Generated by OCS.

2 TimeStamp Char[14] Indicates the timestamp of the bill item generation.

Format: YYYYMMDDhhmmss.

3 BrandID Integer[4] Indicates the brand ID of subscribers.

4 SubCOSID Integer[4] Indicates the class ID of Subscribers (SubBrand

ID)

5 ChargingPartyN

umber

Char[64] Indicates the charging party number. Mainly, this

number is same as calling number in MO, and

called number in MT. But there are several special

situations.

For example, Child-Parent card feature, when the

fee is paid by one account (the parent's account),

the calling number is the child, the charging

number is null in the bill.

The number format are as follows:

For URI format, example, [email protected]

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the mobile

phone number.

For URI format, example,

[email protected]

6 TradeTime Char[19] Indicates the trade time.

Format: YYYYMMDDhhmmss

7 ProductID Char[256] Indicates the list of IDs of products that provide

bonus resources. There are ten product IDs

separated by semicolon (;), each mapping to a

unique AccountTypeX. There is no semicolon at

the end of the line, for example:

ProductID1;ProductID2;…ProductID10

Can be null.

NOTE

This field is recorded only in the recharge process.

8 ServiceType Char[20] Indicates the service type.

Page 282: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

272

No.

Field name Field type Description

0: bonus of recharging

1: bonus of first activation

5: bonus of accumulation

33: bonus of package

38: bonus of OneTimePackage

Can be null.

9 RebateSchemaI

D

Char[20] Indicates the rebate schema ID.

Can be null.

10 AccountType1 Integer[4] Indicates the account type of the 1st account that

the bonus is added in (or rollback from).

NOTE

1st group of account change info. Including:

Account type, 0 means not used

Amount, 0 means no change, minus number means

rollback

Current Amount

The flowing structure (account2-account10) is same as

the first group.

11 ChargeAmount1 Integer[8] Indicates the bonus amount added in (or rollback

from) the 1st account.

12 CurrentAcctAm

ount1

Integer[8] Indicates the current balance of the 1st account of

changed account list.

13 AccountType2 Integer[4] Indicates the account type of the 2nd account that

the bonus is added in (or rollback from).

14 ChargeAmount2 Integer[8] Indicates the bonus amount added in (or rollback

from) the 2nd account.

15 CurrentAcctAm

ount2

Integer[8] Indicates the current balance of the 2nd account of

changed account list.

16 AccountType3 Integer[4] Indicates the account type of the 3rd account that

the bonus is added in (or rollback from).

17 ChargeAmount3 Integer[8] Indicates the bonus amount added in (or rollback

from) the 3rd account.

18 CurrentAcctAm

ount3

Integer[8] Indicates the current balance of the 3rd account of

changed account list.

19 AccountType4 Integer[4] Indicates the account type of the 4th account that

the bonus is added in (or rollback from).

20 ChargeAmount4 Integer[8] Indicates the bonus amount added in (or rollback

from) the 4th account.

21 CurrentAcctAm

ount4

Integer[8] Indicates the current balance of the 4th account of

changed account list.

Page 283: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

273

No.

Field name Field type Description

22 AccountType5 Integer[4] Indicates the account type of the 5th account that

the bonus is added in (or rollback from).

23 ChargeAmount5 Integer[8] Indicates the bonus amount added in (or rollback

from) the 5th account.

24 CurrentAcctAm

ount5

Integer[8] Indicates the current balance of the 5th account of

changed account list.

25 AccountType6 Integer[4] Indicates the account type of the 6th account that

the bonus is added in (or rollback from).

26 ChargeAmount6 Integer[8] Indicates the bonus amount added in (or rollback

from) the 6th account.

27 CurrentAcctAm

ount6

Integer[8] Indicates the current balance of the 6th account of

changed account list.

28 AccountType7 Integer[4] Indicates the account type of the 7th account that

the bonus is added in (or rollback from).

29 ChargeAmount7 Integer[8] Indicates the bonus amount added in (or rollback

from) the 7th account.

30 CurrentAcctAm

ount7

Integer[8] Indicates the current balance of the 7th account of

changed account list.

31 AccountType8 Integer[4] Indicates the account type of the 8th account that

the bonus is added in (or rollback from).

32 ChargeAmount8 Integer[8] Indicates the bonus amount added in (or rollback

from) the 8th account.

33 CurrentAcctAm

ount8 Integer[8] Indicates the current balance of the 8th account of

changed account list.

34 AccountType9 Integer[4] Indicates the account type of the 9th account that

the bonus is added in (or rollback from).

35 ChargeAmount9 Integer[8] Indicates the bonus amount added in (or rollback

from) the 9th account.

36 CurrentAcctAm

ount9

Integer[8] Indicates the current balance of the 9th account of

changed account list.

37 AccountType10 Integer[4] Indicates the account type of the 10th account that

the bonus is added in (or rollback from).

38 ChargeAmount1

0

Integer[8] Indicates the bonus amount added in (or rollback

from) the 10th account.

39 CurrentAcctAm

ount10

Integer[8] Indicates the current balance of the 10th account

of changed account list.

40 BonusValidity1 Char[14] Indicates the expiry time of the 1st bonus.

Format: YYYYMMDDhhmmss.

Page 284: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

274

No.

Field name Field type Description

Can be null.

41 BonusValidity2 Char[14] Indicates the expiry time of the 2nd bonus.

Format: YYYYMMDDhhmmss.

Can be null.

42 BonusValidity3 Char[14] Indicates the expiry time of the 3rd bonus.

Format: YYYYMMDDhhmmss.

Can be null.

43 BonusValidity4 Char[14] Indicates the expiry time of the 4st bonus.

Format: YYYYMMDDhhmmss.

Can be null.

44 BonusValidity5 Char[14] Indicates the expiry time of the 5st bonus.

Format: YYYYMMDDhhmmss.

Can be null.

45 BonusValidity6 Char[14] Indicates the expiry time of the 6st bonus.

Format: YYYYMMDDhhmmss.

Can be null.

46 BonusValidity7 Char[14] Indicates the expiry time of the 7st bonus.

Format: YYYYMMDDhhmmss.

Can be null.

47 BonusValidity8 Char[14] Indicates the expiry time of the 8st bonus.

Format: YYYYMMDDhhmmss.

Can be null.

48 BonusValidity9 Char[14] Indicates the expiry time of the 9st bonus.

Format: YYYYMMDDhhmmss.

Can be null.

49 BonusValidity1

0

Char[14] Indicates the expiry time of the 10st bonus.

Format: YYYYMMDDhhmmss.

Can be null.

50 GiftProductID1 Char[20] Indicates the 1st product ID of the received

promotional appendent product.

Can be null.

51 GiftProductID2 Char[20] Indicates the 2nd product ID of the received

promotional appendent product.

Can be null.

52 GiftProductID3 Char[20] Indicates the 3rd product ID of the received

promotional appendent product.

Page 285: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

275

No.

Field name Field type Description

Can be null.

53 GiftProductID4 Char[20] Indicates the 4st product ID of the received

promotional appendent product.

Can be null.

54 GiftProductID5 Char[20] Indicates the 5st product ID of the received

promotional appendent product.

Can be null.

55 GiftProductID6 Char[20] Indicates the 6st product ID of the received

promotional appendent product.

Can be null.

56 GiftProductID7 Char[20] Indicates the 7st product ID of the received

promotional appendent product.

Can be null.

57 GiftProductID8 Char[20] Indicates the 8st product ID of the received

promotional appendent product.

Can be null.

58 GiftProductID9 Char[20] Indicates the 9st product ID of the received

promotional appendent product.

Can be null.

59 GiftProductID1

0

Char[20] Indicates the 10st product ID of the received

promotional appendent product.

Can be null.

3.2 SCP-Generated CDR

The section describes the file name format of SCP-generated CDRs of each type,

SCP-generated CDR storage directories and SCP-generated CDR generation scenarios.

3.2.1 General Description

The generated CDRs are stored in the SCP node. The directory for storing CDR files cannot

be configured.

Temporary directory: ${TELLIN_DIR}/sms/record/recbuf

Destination directory: ${TELLIN_DIR}/sms/record

Backup directory: ${TELLIN_DIR}/sms/record/backup

Here, ${TELLIN_DIR} refers to the installation directory of the SCP and can be configured

in the .cshrc file. You are not advised to change the installation directory because the change

affects the system running.

Page 286: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

276

For description about the CDR storage directories, see 1.2 CDR Storage Directories.

3.2.2 w_rec CDR

Description

w_rec indicates voice call CDR.

The w_rec CDR records the call information about subscribers.

Generation Scenario

In the OCS service,

When subscriber A makes a voice call successfully, the SCP generates a w_rec CDR for

the calling party after the call.

When subscriber B answers a voice call successfully, the SCP generates a w_recCDR for

the called party after the call.

CDR File Name Format

w_recYYYYMMDD_SCPIDBBCC_Seqno.unl

Example of a w_rec CDR file name: w_rec20071012_1820001_0001.unl

Format

Table 3-15 describes each field of w_rec CDR file.

Table 3-15 Format of w_rec CDR

SN Field Name Field Type Description

1 ServiceKey Integer[4] Indicates the service key.

This CDR is recorded during multiple

processes, and the service keys of different

processes are not the same. Therefore, the

field value is not unique.

For example, when the value is 91, it

indicates the call process

2 SubCosID Integer[4] Indicates the sub brand ID of a subscriber.

3 CallingPartyNumb

er

Char[32] Indicates the calling number.

The number format are as follows:

Country code + Area number + PSTN

The number format is the format of the

fixed-line phone number.

Country code + MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

Page 287: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

277

SN Field Name Field Type Description

[email protected]

4 CalledPartyNumbe

r

Char[32] Indicates the called number.

Records the original called number which is

reported by IDP.

5 Real-Called-Numb

er

Char[32] Indicates the real called number.

The number format are as follows:

Country code + Area number + PSTN

The number format is the format of the

fixed-line phone number.

Country code + MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

6 Connect-Called-N

umber

Char[32] Indicates the called number for connection.

Records the number which is truly took in

Connect.

7 Charge-Flow-Type Integer[4] Indicates the charge process type. The

options are as follows:

1: the calling process

2: the called process

3: the forwarding process

8 Calling-Partys-Cat

egory

Integer[4] Indicates the category of the calling party.

Example, a carrier, a public call office, or a

user.

9 Calling-Vlr-Numb

er

Char[32] Indicates the VLR number of the visitor

location of the calling party.

The field can be null in the called process

and forwarding process.

10 CallingCellID Char[32] Indicates the cell ID of the calling party.

The field can be null in the called process

and forwarding process.

11 Called-Vlr-Numbe

r

Char[32] Indicates the VLR number of the visitor

location of the called party.

The field can be null in the calling process

and forwarding process.

12 CalledCellID Char[32] Indicates the cell ID of the called party.

The field can be null in the calling process

and forwarding process.

13 Original-Called-Pa Char[32] Indicates the original called number.

Page 288: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

278

SN Field Name Field Type Description

rty-Id In the forwarding process, the MSC

reports the original called number.

In the calling process, the MSC does not

report the original called number.

Therefore, the field is null.

14 Redirecting-Party-

Id

Char[32] Indicates the redirection number in the

forwarding process. It is the calling number

in the forwarding process.

In the forwarding process, the MSC

reports the redirection number.

In the calling process, the MSC does not

report the redirection number. Therefore,

the field is null.

15 Redirection-Reaso

n

Integer[4] Indicates the forwarding reason.

The options are as follows:

0: not forward

1: forward unconditionally

2: forward on the busy mobile

3: forward on no reply

16 MSC-Address Char[32] Indicates the MSC address.

17 CallBeginTime Char[14] The start time of call.

Format: YYYYMMDDhhmmss

18 CallDuration Integer[4] The duration of a call, used as charge basis.

Unit: second

19 TerminationReaso

n

Integer[4] Indicates the reason why the call cannot be

connected.

The options are as follows:

0: success

1: insufficient balance

2: incorrect account status

3: invalid called number

4: barred call

5: call authority restriction

6: system error

7: route selection failure

8: the called having no answer

9: the called being busy

10: the caller abandoning the call

12: wrong input of the subscriber

13: recharge card resetting failure

Page 289: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

279

SN Field Name Field Type Description

14: network connection failure

15: over maximum call duration

16: balance used up

99: other

20 CallReferenceNu

mber

Char[128] Indicates the reference number of a call. It is

used to uniquely identify a call.

The options are as follows:

For the CDMA network, obtain the value

of BillID in the ORREQ message for this

field.

For the GSM network, obtain the value of

CallReferenceNumber that is reported in

the IDP signaling for this field.

For the NGN and IMS networks, obtain

the value of CallID that is reported in the

SIP signaling for this field.

If the system cannot obtain the required

information (excluding the preceding

conditions), the value of this field is in

the format YYYYMMDDhhmmss (14

digits) + SCPID (3 digits) + automaton

number (4 digits).

NOTE

If the length of the automaton number is less than

four digits, prefix 0 for the automaton number. If

the length of the automaton number is more than

four digits, obtain the last four digits for the

automaton number.

21 DiameterSessionI

D

Char[128] Indicates a diameter session ID.

Records this field only when the system

alternated with the CBP and set up a

conversation.

The format is as follows:

<DiameterIdentity>;<high 32 bits>;<low 32

bits>[;<optional value>]

<DiameterIdentity>: the same as the field

in the Origin-Host AVP.

<high 32 bits>: indicates the current time

of the system.

<low 32 bits>: indicates the cycle

count-up. The initial value is 0. When

you restart the system, set the value to 0.

<optional value>: reserved.

Separate the preceding fields with the

character ";".

For example:

Page 290: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

280

SN Field Name Field Type Description

SCP001.huawei.com;1876543210;523

22 NPPrefix Char[10] Indicates the NP prefix of a called number,

that is, an RN prefix.

NOTE

NP: Number Portable

RN: Routing Number

23 CalledHomeNetW

ork

Char[10] Indicates the home network code of a called

number after the NP.

24 FirstActiveFlag Char[1] Indicates whether the account is activated

during this call.

0: No

1: Yes

3.2.3 w_abr CDR

Description

w_abr indicates the CDR generated in case of CBP error.

Generation Scenario

When a subscriber uses the call service as a calling party, called party, or call forwarding party,

if an error occurs during the interaction between the SCP and the CBP, and the system allows

the subscriber to go on using the call service, the SCP generates an Abr CDR.

CDR File Name Format

w_abrYYYYMMDD_SCPIDBBCC_Seqno.unl

Example of a w_abr CDR file name: w_abr20071012_1820001_0001.unl

Format

Table 3-16 describes each field of w_abr CDR file.

Table 3-16 Format of w_abr CDR

SN Field Name Field Type Description

1 ServiceKey Integer[4] Indicates the service key.

This CDR is recorded during multiple

processes, and the service keys of different

processes are not the same. Therefore, the

field value is not unique.

For example, when the value is 91, it

indicates the call process

Page 291: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

281

SN Field Name Field Type Description

2 SubCosID Integer[4] Indicates the sub brand ID of a subscriber.

3 Calling-Party-Add

ress

Char[20] Indicates the calling number.

Fixed-line telephone number with an area

code, mobile phone number without an area

code (international number form).

4 Called-Party-Addr

ess

Char[20] Indicates the called number (with prefix).

5 Calling-Party-NP Char[16] Indicates the number portability prefix of the

calling number. It refers to the routing prefix

of the calling number after the calling party

transfers from one network to another.

6 Called-Party-NP Char[16] Indicates the number portability prefix of the

called number. It refers to the routing prefix

of the called number after the called party

transfers from one network to another.

7 SSP-Time Char[14] Indicates the time reported by the SSP.

Format: YYYYMMDDhhmmss

8 MF-Indicator Integer[4] Indicates the indicator of called forwarding.

The options are as follows:

0: not forward

1: forward

9 Real-Called-Numb

er

Char[20] Indicates the real called number.

10 Connect-Called-N

umber

Char[20] Indicates the called number for connection.

For example, when an IP address is preset,

the value of Connect-Called-Number is the

IP prefix + the called number.

11 Charge-Flow-Type Integer[4] Indicates the charge process type.

The options are as follows:

0: the calling process

1: the called process

3: the forwarding process

12 Calling-Partys-Cat

egory

Integer[4] Indicates the category of the calling party.

Example: a carrier, a public call office, or a

user.

The value of the field

Calling-Partys-Category depends on the

value of the variable CAP_InitialDP_

callingPartysCategory.

13 Calling-Vlr-Numb

er Char[10] Indicates the VLR number of the visitor

location of the calling party.

Page 292: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

282

SN Field Name Field Type Description

If the number exists in the IDP message,

enter that; otherwise, the value is null.

The field can be null in the called process

and forwarding process.

14 Calling-CellID Char[36] Indicates the cell ID of the calling party.

The field can be null in the called process

and forwarding process.

15 Called-Vlr-Numbe

r

Char[10] Indicates the VLR number of the visitor

location of the called party.

The field can be null in the called process

and forwarding process.

16 Called-CellID Char[36] Indicates the cell ID of the called party.

The field can be null in the called process

and forwarding process.

17 Original-Called-Pa

rty-Id

Char[20] Indicates the original called number.

In the forwarding process, the MSC

reports the original called number.

In the calling process, the MSC does not

report the original called number.

Therefore, the field is null.

18 Additional-Calling

-Party-Number

Char[20] Indicates the additional calling number.

19 Bearer-Capability Char[10] Indicates the bearer capacity of subscriber

connection.

20 EventType-BCSM Integer[4] Indicates the event report.

21 Redirecting-Party-

Id

Char[20] Indicates the redirected number in the

forwarding process. It is the calling number

in the forwarding process.

22 Redirection-Infor

mation

Char[36] Indicates the redirection information. It is

used in the forwarding process.

23 Redirection-Reaso

n

Integer[4] Indicates the forwarding reason.

The options are as follows:

0: not forward

1: forward conditionally

2: forward on the busy mobile

3: forward unconditionally

6: forward on no reply

24 UE-IMSI Char[20] Indicates the IMSI of the calling party or

called party.

25 CallReferenceNu Char[128] Indicates the reference number of a call. It is

Page 293: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

283

SN Field Name Field Type Description

mber used to uniquely identify a call.

The options are as follows:

For the CDMA network, obtain the value

of BillID in the ORREQ message for this

field.

For the GSM network, obtain the value of

CallReferenceNumber that is reported in

the IDP signaling for this field.

For the NGN and IMS networks, obtain

the value of CallID that is reported in the

SIP signaling for this field.

If the system cannot obtain the required

information (excluding the preceding

conditions), the value of this field is in

the format YYYYMMDDhhmmss (14 digits) + SCPID (3 digits) + automaton

number (4 digits).

NOTE

If the length of the automaton number is less than

four digits, prefix 0 for the automaton number. If

the length of the automaton number is more than

four digits, obtain the last four digits for the

automaton number.

26 MSC-Address Char[20] Indicates the MSC address.

27 Time-Zone Integer[4] Indicates the time zone of the area where a

subscriber is.

28 CallBeginTime Char[14] Indicates the time of the calling beginning.

Format: YYYYMMDDhhmmss

29 CallDuration Integer[4] Indicates the call duration.

Unit: second

30 SuccessACDuratio

n

Integer[4] Indicates the duration of which the fee has

been deducted.

Unit: second

31 FailACDuration Integer[4] Indicates the AC duration during which an

error occurs.

Unit: second

32 VPMNCallFlag Integer[4] Indicates the flag of calls in a VPN group.

33 CBEResultCode Integer[4] Indicates the error code returned by the CBE.

In other cases, the value of this field is 0.

34 DDS-Discount Integer[4] Indicates the discount value of the MTN

zone.

35 DiameterSessionI

D

Char[128] Indicates a diameter session ID.

Page 294: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

284

SN Field Name Field Type Description

The format is as follows:

<DiameterIdentity>;<high 32 bits>;<low 32

bits>[;<optional value>]

<DiameterIdentity>: the same as the field

in the Origin-Host AVP.

<high 32 bits>: indicates the current time

of the system.

<low 32 bits>: indicates the cycle

count-up. The initial value is 0. When

you restart the system, set the value to 0.

<optional value>: reserved.

Separate the preceding fields with the

character ";".

For example:

SCP001.huawei.com;1876543210;523

36 NPPrefix Char[10] Indicates the NP prefix of a called number,

that is, an RN prefix.

NOTE

NP: Number Portable

RN: Routing Number

37 CalledHomeNetW

ork Char[10] Indicates the home network code of a called

number after the NP.

38 OpposeTenantID Integer Reserved.

3.2.4 w_vou CDR

Description

w_vou indicates the CDR generated when recharging accounts using recharge cards succeed.

Generation Scenario

In the OCS service, when subscriber A recharge accounts using ordinary recharge cards, the

SCP generates a w_vou CDR after the successful recharging.

CDR File Name Format

w_vouYYYYMMDD_SCPIDBBCC_Seqno.unl

Example of a w_vou CDR file name: w_vou20071012_1820001_0001.unl

Format

Table 3-17 describes each field of w_vou CDR file.

Page 295: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

285

Table 3-17 Format of w_vou CDR

SN Field Name Field Type

Description

1 MSISDN Char[16] Indicates the recharged phone number.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

2 SubCosID Integer[4] Indicates the sub brand ID of a subscriber.

3 CallingPartyNumb

er

Char[32] Indicates the phone number of a subscriber

who recharges an account.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

4 CalledPartyNumbe

r

Char[32] Indicates the called party number.

During IVR recharge, the value is the

access code of the IVR flow (with

Country code).

During SMS recharge, the value is blank.

During USSD recharge, the value is the

USSD string entered by a subscriber (in

clear format).

5 Calling-Partys-Cat

egory

Integer[4] Indicates the type of the calling party.

6 Calling-Vlr-Numb

er

Char[32] Indicates the VLR number of the calling

party.

7 CallingCellID Char[32] Indicates the cell ID of the calling party.

8 UE-IMSI Char[32] Indicates the terminal of the IMSI of the

calling party.

9 MSC-Address Char[32] Indicates the MSC address.

10 GMSC-Address Char[32] Indicates the GMSC address.

11 Time-Zone Integer[4] Indicates the time zone of the area where a

subscriber is.

12 Charge-Number Char[32] Indicates the recharged phone number.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

13 CardCosID Integer[4] Indicates the ID of the card type.

Page 296: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

286

SN Field Name Field Type

Description

14 Recharge Type Integer[4] Indicates the recharge type.

The options are as follows:

0: the first activation

1: Voucher recharge through IVR from

other phone

2: Voucher recharge through IVR from

self phone

3: Voucher recharge through SMS from

other phone

4: Voucher recharge through SMS from

self phone

5: Voucher recharge through USSD from

other phone

6: Voucher recharge through USSD from

self phone

7: Voucher recharge by operator/external

system (manual recharge)

999: EVC recharge

15 BatchNumber Char[11] Indicates the batch number of a recharge

card.

16 SerialNumber Char[16] Indicates the serial number of a recharge

card.

17 Card Number Char[20] Indicates the recharge card number in clear

format.

18 FaceValue Integer[4] Indicates the face value of a recharge card.

19 ValidityPeriod Integer[4] Indicates the validity period of a recharge

card.

Unit: day

20 TradeTime Char[14] Indicates the recharge time.

Format: YYYYMMDDhhmmss

21 OperatedBy Char[32] Indicates the mobile phone number used to

perform the recharge operation.

When the recharge is performed through

IVR, SM, or USSD, the value of the field

is the mobile phone number used to

perform the recharge.

When the recharge is performed at the

customer service center, the value of the

field is the ID of the operator at the

customer service center.

22 RechargeResult Integer[4] Indicates the result of normal recharge.

Page 297: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

287

SN Field Name Field Type

Description

The options are as follows:

1: Resetting the recharge card and

requesting recharge confirmation succeed.

2: Resetting the recharge card succeeds

but requesting recharge confirmation fails.

The CBE returns the failure result.

3: Resetting the recharge card fails. The

VC returns the failure result. Requesting

recharge cancellation succeeds.

4: Resetting the recharge card fails. The

VC returns the failure result. Requesting

recharge cancellation fails. The CBE

returns the failure result.

5: The StreamWide VC resets the

recharge card successfully, but the initial

recharge request fails (the CBE returns the

failure result).

6: The StreamWide VC resets the

recharge card successfully, but the

recharge confirmation request fails (the

CBE returns the failure result).

7: Authenticating the recharge card fails.

0, Voucher card is not valid or not exist

8: Authenticating the recharge card fails.

2, Voucher card is expired or used up

9: Authenticating the recharge card fails.

3, Voucher card is inactive

10: Authenticating the recharge card fails.

4, Voucher card is used up

11: Authenticating the recharge card fails.

5, Voucher card is locked

12: Authenticating the subscriber fails.

The subscriber does not exist.

13: Authenticating the subscriber fails.

The subscriber state is incorrect.

24: The CBE has not received the

recharge request.

23 UniformSerialNo Char[32] Indicates a unified sequence number.

For the manual recharge initiated by the

business system, it indicates the sequence

number of the external system. For the card

recharge initiated by a subscriber through self

service, the value of this field is null.

24 DiameterSessionI

D

Char[128] Indicate the session id that generated during

the interaction between the SCP and the CBP.

Page 298: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

288

SN Field Name Field Type

Description

The field includes parts as follows:

<DiameterIdentity>;<high 32 bits>;<low 32

bits>[;<optional value>].

<DiameterIdentity>: same as Origin-Host;

<high 32 bits>: the current day

<low 32 bits>: increase by degrees

circulatory, the start value is 0. Set the

value is 0 when the system restarts.

<optional value>: reserved.

Every fields are separated by a character ";".

Example:

SCP001.huawei.com;1876543210;523

3.2.5 w_abu CDR

Description

w_abu indicates the CDR generated when errors occur in recharging accounts using recharge

cards.

Generation Scenario

In the OCS service, when subscriber A recharge accounts using ordinary recharge cards, the

SCP generates a w_abu CDR after the failing recharging.

CDR File Name Format

w_abuYYYYMMDD_SCPIDBBCC_Seqno.unl

Example of a w_abu CDR file name: w_abu20071012_1820001_0001.unl

Format

Table 3-18 describes each field of w_abu CDR file.

Table 3-18 Format of w_abu CDR

SN Field Name Field Type Description

1 MSISDN Char[16] Indicates the recharged phone number.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

2 SubCosID Integer[4] Indicates the sub brand ID of a subscriber.

Page 299: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

289

SN Field Name Field Type Description

3 CallingPartyNumb

er

Char[32] Indicates the phone number of a subscriber

who recharges an account.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

4 CalledPartyNumbe

r

Char[32] Indicates the called party number.

During IVR recharge, the value is the

access code of the IVR flow (with

Country code).

During SMS recharge, the value is blank.

During USSD recharge, the value is the

USSD string entered by a subscriber (in

clear format).

5 Calling-Partys-Cat

egory

Integer[4] Indicates the calling subscriber type.

6 Calling-Vlr-Numb

er

Char[32] Indicates the VLR number of the calling

subscriber.

7 CallingCellID Char[32] Indicates the cell ID of the calling party.

8 UE-IMSI Char[32] Indicates the terminal of the IMSI of the

calling party.

9 MSC-Address Char[32] Indicates the MSC address.

10 GMSC-Address Char[32] Indicates the GMSC address.

11 Time-Zone Integer[4] Indicates the time zone of the area where a

subscriber is.

12 Charge-Number Char[32] Indicates the recharged phone number.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

13 CardCosID Integer[4] Indicates the ID of the card service class.

14 Recharge Type Integer[4] Indicates the recharge type.

The options are as follows:

0: first activation

1: recharge with another number through

the IVR system

2: recharge with the personal number

through the IVR system

3: recharge with another number through

SM

Page 300: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

290

SN Field Name Field Type Description

4: recharge with the personal number

through SM

5: recharge with another number through

USSD

6: recharge with the personal number

through USSD

7: recharge at the customer service center

999: EVC recharge

15 BatchNumber Char[11] Indicates the batch number of a recharge

card.

16 SerialNumber Char[16] Indicates the serial number of a recharge

card.

17 Card Number Char[20] Indicates the recharge card number in clear

format.

18 FaceValue Integer[4] Indicates the face value of a recharge card.

19 ValidityPeriod Integer[4] Indicates the validity period of a recharge

card.

Unit: day

20 TradeTime Char[14] Indicates the recharge time.

Format: YYYYMMDDhhmmss

21 OperatedBy Char[32] Indicates the mobile phone number used to

perform the recharge operation.

When the recharge is performed through

IVR, SM, or USSD, the value of the field

is the mobile phone number used to

perform the recharge.

When the recharge is performed at the

customer service center, the value of the

field is the ID of the operator at the

customer service center.

22 RechargeResult Integer[4] Indicates the recharge exception result.

The options are as follows:

1: Resetting the recharge card succeeds

but requesting recharge confirmation

fails. (An error occurs in CBE network

communication.)

2: Resetting the recharge card succeeds.

(The interconnection for resetting the

recharge card times out and the

interconnection for retrieving data fails.)

Requesting recharge confirmation fails.

(An error occurs in CBE network

communication.)

Page 301: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

291

SN Field Name Field Type Description

3: Resetting the recharge card succeeds.

(The interconnection for resetting the

recharge card times out and the

interconnection for retrieving data fails.)

Requesting recharge confirmation

succeeds.

4: Resetting the recharge card succeeds.

(The interconnection for resetting the

recharge card times out and the

interconnection for retrieving data fails.)

Requesting recharge confirmation fails.

(An error occurs in CBE network

communication.)

5: Resetting the recharge card fails. (The

VC returns the failure result.) Requesting

recharge cancellation fails. (An error

occurs in CBE network communication.)

6: Resetting the recharge card fails. (An

error occurs in VC network

communication.) Requesting recharge

cancellation succeeds.

7: Resetting the recharge card fails. (An

error occurs in VC network

communication.) Requesting recharge

cancellation fails. (The CBE returns the

failure result.)

8: Resetting the recharge card fails. (An

error occurs in VC network

communication.) Requesting recharge

cancellation fails. (An error occurs in

CBE network communication.)

9: The StreamWide VC resets the

recharge card successfully, but the initial

recharge request fails (an error occurs in

the network communications with the

CBE).

10: The StreamWide VC resets the

recharge card successfully, but the

recharge confirmation request fails (an

error occurs in the network

communications with the CBE).

24: The recharge request times out, and

the recharge card is reset successfully.

23 UniformSerialNo Char[32] Indicates a unified sequence number.

For the manual recharge initiated by the

business system, it indicates the sequence

number of the external system. For the card

recharge initiated by a subscriber through

self service, the value of this field is null.

Page 302: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

292

SN Field Name Field Type Description

24 DiameterSessionI

D

Char[128] Indicate the session id that generated during

the interaction between the SCP and the

CBP.

The field includes parts as follows:

<DiameterIdentity>;<high 32 bits>;<low 32

bits>[;<optional value>].

<DiameterIdentity>: same as

Origin-Host;

<high 32 bits>: the current day

<low 32 bits>: increase by degrees

circulatory, the start value is 0. Set the

value is 0 when the system restarts.

<optional value>: reserved.

Every fields are separated by a character ";".

Example:

SCP001.huawei.com;1876543210;523

3.2.6 w_smr CDR

Description

The w_smr CDR records the bills of short message.

Generation Scenario

In the OCS service, when a subscriber sends or receives a short message, the SCP generates a

w_smr CDR.

CDR File Name Format

w_smrYYYYMMDD_SCPIDBBCC_Seqno.unl

Example of a w_smr CDR file name: w_smr20071012_1820001_0001.unl

Format

Table 3-19 describes each field of w_smr CDR file.

Table 3-19 Format of w_smr CDR

SN Field Name Field Type Description

1 ServiceKey Integer[4] Indicates the service key.

2 SubCosID Integer[4] Indicates the sub brand ID of a subscriber.

3 SM Center flag Char[21] Indicates the short message service center

(SMSC).

Page 303: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

293

SN Field Name Field Type Description

4 SM-Id Char[64] Indicates the ID of an SM.

5 SM-Length Integer[4] Indicates the length of SM contents, which is

used for charging traffics.

6 MO/MTflag Char Indicates the flag of calling numbers and

called numbers.

The options are as follows:

1: MO process

2: MT process

7 CallingPartyNumb

er

Char[32] Indicates the sender number.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

8 CalledPartyNumbe

r

Char[32] Indicates the receiver number.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

9 status_report_requ

est

Integer[4] Whether a status report is needed after a

request message is sent.

The options are as follows:

0: fee deduction request

1: no (A status report is not needed.)

2: yes (A status report is needed.)

10 SMS-Receive-Tim

e

Char[14] Indicates the time when the system receives

short messages.

After receiving the refund message, the CBS

rates and refunds based on the time that the

SM is received.

11 send_result Integer[4] Indicates the result sent by the CBP.

The options are as follows:

0: requesting fee deduction

1: confirming the successful sending of a

message

2: refunding the fee if sending a message

fails

12 SP sms Flag Integer[4] Indicates the flag of an SP SM.

The options are as follows:

0: non SP

1: SP

Page 304: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

294

SN Field Name Field Type Description

13 mo_msc_addr Char[32] Indicates the MSC address of the roaming

location of the sender.

The number has the country code, but

without the international prefix.

14 mt_msc_addr Char[32] Indicates the MSC address of the roaming

location of the receiver.

The number has the country code, but

without the international prefix.

15 ThirdPartyNumber Char[32] Indicates the number of third-party fee

deduction, which is contained in RCOMM

messages.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

16 TerminationReaso

n

Integer[4] Indicates the reason why the call cannot be

connected.

The options are as follows:

0: normal

2: MAP MO, system aborting when sends

TERMINATION_REQUEST to the CBE

3: MAP MO, network aborting when SCP

interacts with the CBE

5: MAP MT, system aborting when the

SCP sends TERMINATION_REQUEST

to the CBE

6: MAP MT, network aborting when the

SCP interacts with the CBE

7: CAP3, system aborting when the SCP

sends TERMINATION_REQUEST to

the CBE

8: CAP3, network aborting when the SCP

interacts with the CBE

9: SMPP+ ,System abort when SCP send

TERMINATION_REQUEST to CBE

10: SMPP+ ,Network abort when SCP

interact with CBE

11: CAP2 , System abort when SCP send

TERMINATION_REQUEST to CBE

12: CAP2 , Network abort when SCP

interact with CBE

17 SubDataFlag Integer[4] Indicates the flag of service data.

The options are as follows:

Page 305: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

295

SN Field Name Field Type Description

0: GSM

1: PPS

18 ORG_IMSI Char[20] Indicates the IMSI of the calling party.

19 DEST_IMSI Char[20] Indicates the IMSI of the called party.

20 DiameterSessionI

D

Char[128] Indicates a diameter session ID.

The format is as follows:

<DiameterIdentity>;<high 32 bits>;<low 32

bits>[;<optional value>]

<DiameterIdentity>: the same as the field

in the Origin-Host AVP.

<high 32 bits>: indicates the current time

of the system.

<low 32 bits>: indicates the cycle

count-up. The initial value is 0. When

you restart the system, set the value to 0.

<optional value>: indicates

implementation specific but may include

a modem's device Id, a layer 2 address,

timestamp, etc.

Separate the preceding fields with the

character ";".

For example:

SCP001.huawei.com;1876543210;523

21 NPPrefix Char[10] Indicates the NP prefix of a called number,

that is, an RN prefix.

NOTE

NP: Number Portable

RN: Routing Number

22 CalledHomeNetW

ork

Char[10] Indicates the home network code of a called

number after the NP.

3.2.7 w_smo CDR

Description

w_smo indicates the CDR generated in case of SM fee deduction failure.

Generation Scenario

In the OCS service, when a subscriber succeeds in sending SMs, but the CBP fails to deduct

fees due to system error, the SCP generates a w_smo CDR. The CBE rates and deducts fees

based on the CDR after the CBE recovers.

Page 306: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

296

The fields contained in the w_smo CDR are the same as the fields contained in the DCC

interface between the SCP and CBP. For the fields of which the corresponding information

cannot be obtained, the values are null.

CDR File Name Format

w_smoYYYYMMDD_SCPIDBBCC_Seqno.unl

Example of a w_smo CDR file name: w_smo20071012_1820001_0001.unl

Format

Table 3-20 describes each field of w_smo CDR file.

Table 3-20 Format of w_smo CDR

SN Field Name Field Type Description

1 SmsType Char[1] Indicates the type of an SM.

The options are as follows:

1: SMPP+ and MAP3 SM

3: CAP2 and CAP3 SM

2 MessageType Char[1] Indicates the message type.

The options are as follows:

1: a message for requesting fee deduction

2: a confirmation message

3 SMSCAddress Char[21] Indicates the address of the SMSC.

4 SMID UTF8String Indicates the ID of an SM.

5 SMLength Integer[4] Indicates the length of an SM, which is used

for charging traffics.

6 MoMSCAddr UTF8String Indicates the MSC address of the roaming

location of the sender.

The number has the country code, but

without the international prefix.

7 MtMSCAddr UTF8String Indicates the MSC address of the roaming

location of the receiver.

The number has the country code, but

without the international prefix.

8 SourceAddr Char[32] Indicates the sender number.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

9 DestAddr Char[32] Indicates the receiver number.

The number format is as follows:

Page 307: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

297

SN Field Name Field Type Description

Country code + MSISDN

The number format is the format of the

mobile phone number.

10 FeeAddr Char[32] Indicates the charge number.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

11 FeeFlag Integer[4] Indicates the charge flag.

The options are as follows:

0: To charge by the original method.

The value 0 indicates an exception.

1: To charge the calling number.

2: To charge the called number.

3: To charge the charge number.

12 FeeType Integer[4] Indicates the fee type.

The options are as follows:

0: To charge in the default mode. (For the

common point-to-point SMs, the fee is

configured in the CBS. For other SMs,

fees must be charged based on the

charging policy sent by the SMSC. )

1: To charge by the number of SMs by

the SP.

2: To charge by months (deducting fees)

by the SP.

3: To charge by months (checking).

4: To charge by upper limit based on the

number of SMs.

5: To charge the fee of monthly SM

package with the limited number of SMs

(deducting fees).

6: To charge the fee of monthly SM

package with the limited number of SMs

(checking).

13 FeeItdMsgNum Integer[4] Indicates the number of SMs in a monthly

SM package, of which the number of SMs is

limited. (It is not realized.)

14 FeeSingle Integer[4] Indicates the charge rate of a single SM

when the SP charges the fee by the number

of SMs.

15 FeeFixed Integer[4] Indicates the charge rate of each SM that is

contained in a monthly SM package.

Page 308: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

298

SN Field Name Field Type Description

If the number of SMs exceeds the limited

number, the charge rates of the excess SMs

are counted based on the value of the

FeeSingle field. The field FeeFixed is used

when SMs are charged by months.

16 MessagePID Integer[4] Indicates the message PID such as a picture

and voice.

17 StatusReportRequ

est

Integer[4] Whether a status report is needed after a

request message is sent.

The options are as follows:

0: no (The status report is not needed.)

1: yes (The status report is needed.)

18 OriginalNetType Integer[4] Indicates the type of the source network.

The options are as follows:

0: GSM

1: CDMA

2: TDMA

3: SMPP

19 SMSReceiveTime Time Indicates the time that an SM is received.

After receiving the refund message, the CBS

rates and refunds based on the time that the

SM is received.

The field SMSReceiveTime is valid to fee

deduction request messages. For

confirmation messages, the value is null.

20 CallingService OctetString Indicates the calling service, an array of 16

bytes with each byte representing a type of

services.

If the value of a byte is 0, it indicates no

service. If the value of a byte is 1, it indicates

that the current message contains the service.

The options are as follows:

CallingServcie[0]: SM signature

CallingServcie[1]: enhanced return

notification of MO SM

CallingServcie[2]: notification of

power-on

21 CalledService OctetString Indicates the called service, an array of 16

bytes with each byte representing a type of

services.

If the value of a byte is 0, it indicates no

service. If the value of a byte is 1, it indicates

that the current message contains the service.

Page 309: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

299

SN Field Name Field Type Description

The options are as follows:

CallingServcie[0]: SM transfer

CallingServcie[1]: automatic reply

22 OriginalMsgID OctetString Indicates the ID of the original SM that is

associated with the current message.

23 SMDSendResult Integer[4] The value of this field varies with the

SMPP+ message.

24 MsgID OctetString Indicates the message ID that the gateway

generates.

The field MsgID is valid to inter-network

SMs and Monternet SMs. For intra-network

SMs, the value is null.

25 GWID OctetString Indicates the ID of the gateway that sends the

message.

The field GWID is valid to inter-network

SMs and Monternet SMs. For intra-network

SMs, the value is null.

26 MsgSeq OctetString Indicates the SM sequence number generated

by the SMSC.

The field MsgSeq is valid to inter-network

SMs and Monternet SMs. For intra-network

SMs, the value is null.

27 SPID OctetString Indicates the SPID.

The field SPID is valid to inter-network SMs

and Monternet SMs. For intra-network SMs,

the value is null.

28 ServiceCode OctetString Indicates the code of the service type.

The field ServiceCode is valid to

inter-network SMs and Monternet SMs. For

intra-network SMs, the value is null.

29 SourceGWID OctetString Indicates the ID of the gateway that forwards

the SM.

The field SourceGWID is valid to

inter-network SMs and Monternet SMs. For

intra-network SMs, the value is null.

30 PriorityFlag Integer[4] Indicates the priority level of an SM.

The field PriorityFlag is valid to

inter-network SMs and Monternet SMs. For

intra-network SMs, the value is null.

31 ChargingRate Integer[4] Indicates the charge rate.

The field ChargingRate is valid to

inter-network SMs and Monternet SMs. For

Page 310: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

300

SN Field Name Field Type Description

intra-network SMs, the value is null.

32 ChargingType Integer[4] Indicates the charge rate class, used in

Monternet SMs and inter-network SMs.

The options are as follows:

0: No charge. Only the channel fee of the

SP is deducted.

1: To charge for free.

2: To charge by the number of SMs.

3: To charge by months.

4: To charge by upper limit.

For inter-network SMs, the value is 2.

For intra-network SMs, the value is null.

33 CDRType Integer[4] Indicates the CDR type, used in Monternet

SMs and inter-network SMs.

For inter-network SMs, the options are as

follows:

11: the MO CDR when an inter-network

SM interconnects with an SM of China

Unicom

12: the MT CDR when an inter-network

SM interconnects with an SM of China

Unicom

For inter-network SMs, the value is 11.

For Monternet SMs, the options are as

follows:

1: an MO CDR

2: an MT CDR

3: monthly SM control

For intra-network SMs, the value is null.

34 Discount Integer[4] Indicates the discount, a percent.

The value 100 indicates no discount.

The field Discount is valid to inter-network

SMs and Monternet SMs. For intra-network

SMs, the value is null.

35 GiftResult Integer[4] The default value of this field is null.

36 Subscription-Id-D

ata

Char[32] Indicates the end user number.

37 DiameterSessionI

D

Char[128] Indicates a diameter session ID.

The format is as follows:

<DiameterIdentity>;<high 32 bits>;<low 32

bits>[;<optional value>]

<DiameterIdentity>: the same as the field

Page 311: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

301

SN Field Name Field Type Description

in the Origin-Host AVP.

<high 32 bits>: indicates the current time

of the system.

<low 32 bits>: indicates the cycle

count-up. The initial value is 0. When

you restart the system, set the value to 0.

<optional value>: indicates

implementation specific but may include

a modem's device Id, a layer 2 address,

timestamp, etc.

Separate the preceding fields with the

character ";".

For example:

SCP001.huawei.com;1876543210;523

38 NPPrefix Char[10] Indicates the NP prefix of a called number,

that is, an RN prefix.

NOTE

NP: Number Portable

RN: Routing Number

39 CalledHomeNetW

ork

Char[10] Indicates the home network code of a called

number after the NP.

40 OpposeTenantID Integer Reserved

3.2.8 w_trans CDR

Description

w_trans indicates the balance transfer CDR.

Generation Scenario

In the OCS service, when a subscriber transfer balance, the SCP generates a w_trans CDR.

Whether transferring balance succeeds or not, the system generates a w_trans CDR for an

operation.

CDR File Name Format

w_transYYYYMMDD_SCPIDBBCC_Seqno.unl

Example of a w_trans CDR file name: w_trans20071012_1820001_0001.unl

Format

Table 3-21 describes each field of w_trans CDR file.

Page 312: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

302

Table 3-21 Format of w_trans CDR

SN Field Name Field Type Description

1 StreamNo Char[32] Indicates the stream number.

2 MSISDN Char[32] Indicates the operation number.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

3 IsConfirm Integer[4] Indicates the flag of query operation

charging information.

The options are as follows:

0: default, do operation

1: only return the operation charging

information

4 OperationType Integer[4] Indicates the operation type.

The value is 5 in this CDR, which indicates

transfer.

5 OperationTime Char[14] Indicates the time of balance transfer.

Format: YYYYMMDDhhmmss

6 TransferType Integer[4] Indicates the type of balance transfer.

The options are as follows:

0: Transfer balance from the subscriber

accounts of other systems (for ordinary

subscribers) to the subscriber accounts

of the current system.

1: Transfer balance from the subscriber

accounts of the current system to the

subscriber accounts of other systems.

2: Transfer balance between subscriber

accounts in the current system.

3: Transfer money to validate from other

system to OCS system.

4: Transfer money to validate inside

OCS system.

99: Transfer balance from the subscriber

accounts of other systems (for Resellers)

to the subscriber accounts of the current

system.

7 TransInMSISDN Char[32] Indicates the mobile phone number of the

transferred account.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

Page 313: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

303

SN Field Name Field Type Description

mobile phone number.

8 Money Integer[4] Indicates the transfer amount.

9 TransOutMSISDN Char[32] Indicates the mobile phone number of the

transferring account.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

NOTE

When the value of TransferType is 99, the value

of this field is Reseller ID.

10 AccessMethod Integer[4] Indicates the access methods of transfer.

The options are as follows:

0: IVR

1: USSD

2: SMS

3: reserved

12: IPCC SMS

11 VisitAreaNumber Char[10] Indicates the visit Area Number.

NOTE

NULL means don't analyze the visit area

number

"000000" means analyze visit area number

failed

Reserved for feature use

12 Content Char[32] Indicates the additional information that not

needs to be process, only for log, reserved

for feature use.

13 Result Code Integer[4] Indicates the result code.

The options are as follows:

0: Operation succeeds.

2: The transferee subscriber does not

exist.

3: The transferor subscriber is in idle

status.

4: The transferor subscriber is in suspend

status.

5: The transferor subscriber is in disable

status.

6: The transferor subscriber is in pool

status.

7: The transferee subscriber is in idle

Page 314: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

304

SN Field Name Field Type Description

status.

8: The transferee subscriber is in

suspend status.

9: The transferee subscriber is in disable

status.

10: The transferee subscriber is in pool

status.

11: Exceed maximum transfer times.

12: The transfer amount is less than the

minimum amount.

13: The transfer amount is more than the

maximum amount.

14: The current balance of the transferor

subscriber is less than the minimum

balance.

15: The new balance of the transferor

subscriber is less than the minimum

balance.

16: Exceed the maximum transfer

amount of every day.

17: The transferor subscriber does not

have the account specified by account

type.

18: The transferor subscriber's balance is

insufficient.

19: The transferor subscriber's password

is incorrect.

20: The transferor subscriber's validity is

not allowed.

21: The transferee subscriber's validity is

not allowed

23: The transferee subscriber does not

have the account specified by account

type .

24: The transfer amount must be

multiple of $TransAmtBase.

25: Exceed maximum balance of

transferee.

30: Normal child card can not do this

operation.

31: Transfer amount less than loan and

poundage.

32: The transfer-in subscriber is in the

recharge blacklist.

33: Exceed maximum transfer times of

month.

Page 315: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

305

SN Field Name Field Type Description

34: Exceed the maximum transfer

amount of month.

35: The current state of the transfer-out

subscriber does not support the account

transfer function.

36: The current state of the transfer-in

subscriber does not support the account

transfer function.

37: A subscriber cannot transfer the

account balance if the subscriber does

not recharges the account after being

activated.

38: The transfer amount exceeds the

maximum amount allowed for the

current cycle.

90: The brand of the transfer-out

subscriber does not support the account

transfer function.

91: The main product of the transfer-out

subscriber does not support the account

transfer function.

92: The account transfer function is

unavailable for the transfer-out

subscriber.

96: The transferor's consumption amount

does not reach the threshold.

100: The account transfer of the

transfer-out subscriber succeeded. The

transfer-in subscriber fails to return the

account information (the transfer-in

subscriber fails to return the

CCA{Termination} message).

101: The account transfer of the

transfer-out subscriber succeeded. The

account information submission of the

transfer-in subscriber times out (the

response message CCA{Termination} of

the transfer-in subscriber times out).

102: The request of the transfer-in

subscriber times out (the response

message CCA{Initial} of the transfer-in

subscriber times out). The rollback of

the transfer-out subscriber succeeded.

103: The request of the transfer-in

subscriber times out (the response

message CCA{Initial} of the transfer-in

subscriber times out). The rollback of

the transfer-out subscriber failed.

104: The request of the transfer-in

Page 316: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

306

SN Field Name Field Type Description

subscriber times out (the response

message CCA{Initial} of the transfer-in

subscriber times out). The rollback of

the transfer-out subscriber times out.

105: The request of the transfer-out

subscriber times out (the response

message CCA{Initial} of the transfer-out

subscriber times out).

109: The confirmation of the transfer-out

subscriber times out (the response

message CCA{Termination} of the

transfer-out subscriber times out). The

rollback of the transfer-in subscriber

succeeded.

110: The confirmation of the transfer-out

subscriber times out (the response

message CCA{Termination} of the

transfer-out subscriber times out). The

rollback of the transfer-in subscriber

failed.

111: The confirmation of the transfer-out

subscriber times out (the response

message CCA{Termination} of the

transfer-out subscriber times out). The

rollback of the transfer-in subscriber

times out.

112: Sending or receiving the RCOMM

message for account transfer failed.

113: The RCOMM message for account

transfer times out.

114: The confirmation of the transfer-out

subscriber failed. The rollback of the

transfer-in subscriber succeeded.

115: The confirmation of the transfer-out

subscriber failed. The rollback of the

transfer-in subscriber failed.

116: The confirmation of the transfer-out

subscriber failed. The rollback of the

transfer-in subscriber times out.

117: Obtaining the subcos id of the

transfer-in subscriber failed.

1038: The transfer-in authentication

failed.

1050: The transfer-in amount exceeds

the maximum amount allowed for the

transferee for the current cycle.

998: System error.

999: Other failure reasons.

Page 317: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

307

SN Field Name Field Type Description

The default value is -1.

14 OriPreSum Integer[4] Indicates the balance of the transferring

account before the balance transfer.

When the value of TransferType is 1, 2,

this field is valid.

When the value of TransferType is

other values, this field is invalid and the

value is 0.

15 OriCurSum Integer[4] Indicates the balance of the transferring

account after the balance transfer.

When the value of TransferType is 1, 2,

this field is valid.

When the value of TransferType is

other values, this field is invalid and the

value is 0.

16 OriPreValidate Char[8] Indicates the validity period of the

transferring account before the balance

transfer.

When the value of TransferType is 1, 2,

this field is valid.

When the value of TransferType is

other values, this field is invalid and the

value is 0.

17 OriCurValidate Char[8] Indicates the validity period of the

transferring account after the balance

transfer.

When the value of TransferType is 1, 2,

this field is valid.

When the value of TransferType is

other values, this field is invalid and the

value is 0.

18 TerPreSum Integer[8] Balance of the transferred account before

the balance transfer.

When the value of TransferType is 0, 2

or 99, this field is valid.

When the value of TransferType is

other values, this field is invalid and the

value is 0.

19 TerCurSum Integer[8] Balance of the transferred account after the

balance transfer.

When the value of TransferType is 0, 2

or 99, this field is valid.

When the value of TransferType is

other values, this field is invalid and the

value is 0.

Page 318: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

308

SN Field Name Field Type Description

20 TerPreValidate Char[8] Validity period of the transferred account

before the balance transfer.

Unit: day

When the value of TransferType is 0, 2

or 99, this field is valid.

When the value of TransferType is

other values, this field is invalid and the

value is 0.

21 TerCurValidate Char[8] Indicates the validity period of the

transferred account after the balance

transfer.

Unit: day

When the value of TransferType is 0, 2

or 99, this field is valid.

When the value of TransferType is

other values, this field is invalid and the

value is 0.

3.2.9 w_kpi CDR

Description

The w_kpi CDR records the information about various operations, and the information is the

data source of the statistic feature. The w_kpi CDR is generated regardless of operation

success or failure.

Generation Scenario

In the CBS service, when multiple operations or service processes are triggered, such as the

calling and called processes, or query operations, the SCP generates a w_kpi CDR.

CDR File Name Format

w_kpiYYYYMMDD_SCPIDBBCC_Seqno.unl

Example of a w_kpi CDR file name: w_kpi20071112_1020001_000151.unl

Format

Table 3-22 describes each field of w_kpi CDR file.

Table 3-22 Format of w_kpi CDR

SN Field Name Field Type

Description

1 OperateType Integer[4] Indicates the type of operation.

Page 319: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

309

SN Field Name Field Type

Description

The options are as follows:

1: MO call

2: MT call

3: SM MO call (authentication)

7: IVR recharge

8: IVR query

10: Calls connecting SSP and Leg A and

Leg B

11: System short message

12: Callscreen management processes

13: Recharging through USSD

14: Querying through USSD

15: SM query

16: SM recharge

17: SM transfer

19: Prompt of SMS in voice query

20: MCN management processes

21: IVR fn management processes

22: SMS fn management processes

23: USSD fn management processes

24: USSD/IVR/SM transfer money

management flow

25: Homezone management processes

29: IVR transfer money

31: EVC recharge

32: ICF number management processes

33: USSD first activate

34: SMS management process

35: USSD management process

39: SMS First Activate

42: IPCC recharges through RCOMM.

47: Purchasing packages flexibly

51: AOC

52: Parent and children cards service

management process

55: Switching main packages through

IVR

61: USSD Loan

62: IVR Loan

75: Query current loan information by

Page 320: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

310

SN Field Name Field Type

Description

USSD

76: Query current loan information by

SMS

77: SMS Loan

79: Query accumulator by USSD

80: Query accumulator by SMS

83: IVR modify the subcos id

84: SMS modify the subcos id

85: USSD modify the subcos id

99: Others (identify the abnormal process

termination before an operation,

including analyzing operation type failure

during SMS access, and failure due to

multiple input failure in the IVR process,

etc.)

143: SMS modify COS

144: USSD modify COS

151: Query accumulator by IVR

156: Subscribe bucket by SMS

157: Activate subscriber through EVC

top up

158: Activate subscriber through

RCVS/VC top up

159: Activate subscriber by making first

call

160: Other management flows

161: Modify BrandID through IVR

162: Modify BrandID through USSD

163: Modify BrandID through SMS

164: Activate subscriber through IVR

RCVS/VC top up by another subscriber

165: Activate subscriber through SMS

RCVS/VC top up by another subscriber

166: IVR Modify COS

167: Enable AOC function by USSD

168: Disable AOC function by USSD

169: Enable AOC function by IVR

170: Disable AOC function by IVR

171: MCN Process

172: Sponsor service

173: Manage self-help IVR transfer

function

Page 321: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

311

SN Field Name Field Type

Description

185: IVRSM Loan

187: MCN Confirmation (Indicates the

MCN ackowledgement message received

by the SCP from an SMSC.)

190: One key super buddy

191: Notify called party in MO if balance

of calling party is insufficient

193: Query current loan information by

IVR

196: Recharge by dialing a direct IVR

access code

2 OperateResult Integer[4] Indicates the operation result.

The options are as follows:

0: Success

1: Insufficient balance

2: Incorrect account status

3: Invalid called number

4: Barred call

5: Call authority restriction

6: System error

7: Route selection failure

8: The called having no answer

9: The called being busy

10: The caller abandoning the call

11: The called abandoning the call

12: Wrong input of the subscriber

13: Recharge card resetting failure

14: Network connection error

15: Over maximum call duration

16: Balance used up

17: First connection to the CBE being

abnormal (service process ends)

18: Failed service fee deduction on the

CBE (service process continues)

19: Failed service fee deduction on the

CBE (service process ends)

20: First connection to the CBE being

abnormal (service is passed by)

22: Signal exceptions

23: Failed voice playing during the call

process

24: Failed CBP authentication or fee

Page 322: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

312

SN Field Name Field Type

Description

deduction which results in service logic

interruption.

25: Key data error when the SCP is

queried.

26: Default error of a service.

27: The ACR is not reported during the

switch.

28: Failed to lock or unlock a number

33: Lack of accumulation for SM transfer

42: Operation before a sponsor

announcement

43: Operation after playing a sponsor

announcement

44: Cancelled by subscriber

45: The subscriber inputs times out.

46: Adding super buddy number has

timed out.

47: Adding super buddy number has

failed.

48: A super buddy adding request times

out (exceeding 120 seconds).

51: No matching record in 'Manage main

product switch information'. [Table name:

w_uvs_switchsubcos]

52: The CBE has not received the

recharge request.

53: The current location of the subscriber

does not support this operation.

99: Others

201: The service duration has not reached

the lower limit.

202: Subscriber had not paid for the last

loan.

203: The subscriber is not a prepaid

subscriber.

204: Loan operation failed.

205: Subscriber claimed missing.

206: Loan Amount is not configured in

system.

207: Subscriber balance has not reached

the system limit.

208: Normal child card can not do this

operation.

209: The entered loan level does not

Page 323: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

313

SN Field Name Field Type

Description

exist.

210: Loan application is not allowed in

the current time period (for the subbrand).

211: The subscriber's consumption

amount has not reached the loan

threshold.

212: One of the Service not enabled.

214: One of the Service already enabled.

216: The recharge amount has exceed the

upper limit.

217: The existing balance plus the

recharge amount exceeds the upper limit.

218: The recharge amount is insufficient

for repaying the loan.

219: Failed to send a called party

notification to GFEP.

220: A called party notification sent to

GFEP times out.

221: The GFEP returns a failure response

for a called party notification sent to

GFEP.

222: The GFEP returns a success

response for a called party notification

sent to GFEP.

NOTE

The options 46, 47 and 48 of the

OperateResult field takes effect only when

OperateType is set to 190.

The options 201-211 of the OperateResult

field takes effect only when OperateType is

set to 61, 62, 77 or 185.

The options 212 and 214 of the

OperateResult field takes effect only when

OperateType is set to 47 or 156.

The options 216-218 of the OperateResult

field takes effect only when OperateType is

set to 7, 13, 16, 31 , 42, 158 or 196.

3 OperateTime Char[6] Indicates the operation time.

Format: hhmmss

4 CallingParty Char[32] Indicates the calling number.

5 CalledParty Char[32] Indicates the called number.

NOTE

For the operation of recharging a personal

account, the value of this parameter is the

management process access code.

For the operation of recharging an account of

Page 324: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

314

SN Field Name Field Type

Description

another subscriber, the value of this parameter

is the number of the recharged subscriber.

For the balance transfer operation, the value of

this parameter is the number of the transfer-in

subscriber.

For the missing claim operation, the value of

this parameter is the number which is claimed

missing.

3.2.10 w_postop CDR

Description

w_postop indicates the CDR generated when the postpaid subscriber recharging.

Generation Scenario

In the OCS service, when a postpaid subscriber recharges accounts, the SCP generates a

w_postop CDR after the successful recharging.

CDR File Name Format

w_postopYYYYMMDD_SCPIDBBCC_Seqno.unl

Example of a w_postop CDR file name: w_postop20071012_1820001_0001.unl

Format

Table 3-23 describes each field of w_postop CDR file.

Table 3-23 Format of w_postop CDR

SN Field Name Field Type

Description

1 MSISDN Char[20] Indicates the phone number for a postpaid

subscriber. It is the international format.

The number format is as follows:

Country code + MSISDN

The number format is the format of the

mobile phone number.

2 AccountNumber Char[20] Indicates the information that proclaimed in

writing of card.

3 Facevalue Integer[4] Indicates the face value of the recharge card.

4 ValidityPeriod Integer[4] Indicates the validity period of a recharge

card.

Page 325: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

315

SN Field Name Field Type

Description

5 BatchNo Char[12] Indicates the batch number of a recharge

card.

6 SerialNo Char[16] Indicates the serial number of a recharge

card.

7 CardSpID Integer[4] Indicates the type of the recharge card.

8 CardCosID Integer[4] Indicates the tariff of the recharge card.

9 CardState Char[1] Indicates the state of the recharge card:

0: No card information

1: Card is valid

2: Card is out of validity or used

3: Card is locked

10 Errorflag Char[1] Indicates the recharge exception result.

0: Success to recharge

1: Fail to recharge

2: Fail to reset card

11 TradeTime DateAndTi

me

Indicates the recharge time.

12 ValueAdded Integer[4] Indicates the money for preference.

13 RRMPoint Integer[4] Indicates the point for preference.

14 PRMSM Integer[4] Indicates the free short messages for

preference.

15 PRMMinute Integer[4] Indicates the free talk duration for preference.

The unit is seconds.

16 ExtraVideoMinute Integer[4] Indicates the free video call duration

rewarded for subscriber when recharging.

17 ExtraFreeMMS Integer[4] Indicates the free MMS rewarded for

subscriber when recharging.

18 ExtraFreeVolume Integer[4] Indicates the free volume rewarded for

subscriber when recharging.

19 ExtraFreeMinute2 Integer[4] Indicates the second free minute obtained by

subscriber when recharging.

20 ExtraFreeMinute3 Integer[4] Indicates the third free minute obtained by

subscriber when recharging.

21 ExtraFreeSM2 Integer[4] Indicates the second free SMs obtained by

subscriber when recharging.

22 ExtraFreeSM3 Integer[4] Indicates the third free SMs obtained by

subscriber when recharging.

Page 326: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

316

SN Field Name Field Type

Description

23 ExtraSMMoney Integer[4] Indicates the short message money obtained

by subscriber when recharging.

24 ExtraMMSMoney Integer[4] Indicate the MMS money obtained by

subscriber when recharging.

25 ExtraGPRSMoney Integer[4] Indicates the GPRS money obtained by

subscriber when recharging.

26 RealAddBalance Integer[4] Indicates the real amount added in the

balance account.

27 ValidityAdded Integer[4] Indicates the validity period for preference.

28 Recharge Type Char[1] Indicates the Recharge type.

0: the first activation

1: recharge by IVR

2: recharge by USSD

3: recharge by SMAP or MML interface

4: recharge by SMS

3.2.11 w_aoc CDR

Description

w_aoc CDR records the USSD notify information about the call cost, call time and remain

balance to subscriber after a call.

Generation Scenario

In the OCS service, a w_aoc CDR is generated when the subscriber finished a charge call, the

system prompts the call cost, call time and remain balance to subscriber through USSD.

CDR File Name Format

w_aocYYYYMMDD_SCPIDBBCC_Seqno.unl

Example of a w_aoc CDR file name: w_aoc20071012_1820001_0001.unl

Format

Table 3-24 describes each field of w_aoc CDR file.

Table 3-24 The format of w_aoc CDR

SN Field Name Field Type Description

1 DateTime Char[14] Indicates the date time of USSD notify

Page 327: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

317

SN Field Name Field Type Description

function.

2 MSISDN Char[20] Indicates the mobile phone number of

a subscriber who was notified.

3 OperateResult Char[8] Indicates the operate result of USSD

notify function:

0: Success

1: Other failed

− 200: USSNNoAnswer

− 201: USSNSystemFailure

− 202: USSNDataMissing

− 203:

USSNUnexpertedDataValue

− 204: USSNAbsentSubscriber

− 205: USSNIllegalSubscriber

− 206: USSNIllegalEquipment

− 207: USSNUnknownAlphabet

− 208: USSNUSSDBusy

− 209: USSNFacilityNotSurported

4 OperateType Char[1] Indicates the operate type of USSD

notify function:

0: USSD

Other digits are reserved

3.2.12 w_loan CDR

Description

w_loan indicates the CDR generated when loan occurs.

Generation Scenario

A loan CDR is generated in the following scenarios:

A loan CDR is generated when a subscriber makes a USSD call to successfully apply for

a loan.

A loan CDR is generated when a subscriber calls IVR management flow to successfully

apply for a loan.

A loan CDR is generated when a subscriber sends message to successfully apply for a

loan.

CDR File Name Format

w_loanMMDDYYYY_SCPIDBBCC_Seqno.unl

Page 328: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

318

Example of a w_loan CDR file name: w_loan10122012_1820001_0001.unl

Format

Table 3-25 describes each field of w_loan CDR file.

Table 3-25 The format of w_loan CDR

SN Field Name Field Type Description

1 StreamNo Char[32] CDR serial number supported by SCP

platform. The serial number for different

prefixes of CDR supports different counts.

2 MSISDN Char[32] Indicates the phone number of a subscriber

who wants to loan, including mobile phone

number and fixed-line phone number.

3 IsConfirm Integer[4] Query operation charging information flag.

The values are as follows:

0: Do operation

1: Only return the operation charging

information

4 OperationType Integer[4] Indicates the operation type when sends

RCOMM request.

The values are as follows:

0: Close the service

1: Enable the service

5: Modify data

7: Query data

5 OperationTime Char[14] Indicates the time operation.

Format: MMDDYYYYhhmmss

6 LoanType Integer[4] Indicates the loan type.

The values are as follows:

0: Loan for legacy IN subscribers

1: Loan for OCS subscribers

The default value is 1.

7 AccessMethod Integer[4] Indicates the access method.

0: IVR

1: USSD

2: SMS

3: Reserved

8 VisitAreaNumber Char[10] Indicates the visit area number.

NULL means don't analyze the visit area

number.

"000000" means analyze visit area number

Page 329: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

319

SN Field Name Field Type Description

failed.

9 Content Char[32] Additional information that not need to be

process, only for log.

10 Result Code Integer[4] Indicates the code of loan result.

The values are as follows:

0: Operation succeeded

2: Subscriber has been in active state less

than three months

6: The subscriber is not in active state

11: The loan level subscriber entered does

not exist

12: It does not allow the loan in the

current time segment

99: Other error

999: The BMP system responding to

RCOMM messages times out.

11 LoanAmount Integer[4] Indicates the value of loan.

12 Poundage Integer[4] Indicates the subscriber for loan need to

charge poundage.

3.3 BMP-Generated CDR

The section describes the file name format of BMP-generated CDR of each type,

BMP-generated CDR storage directories and BMP-generated CDR generation scenarios.

3.3.1 General Description

The generated CDR is stored in the BMP node. The directory for storing CDR files cannot be

configured.

Temporary directory: ${HOME}/cdr/output/temp

Destination directory: ${HOME}/cdr/output

Backup directory: ${HOME}/cdr/output/bak

For description about the CDR storage directories, see 1.2 CDR Storage Directories.

3.3.2 package CDR

Description

The OCS records the package CDR when the subscriber changes the main product.

Page 330: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

320

Generation Scenario

In the OCS service, when the subscriber changes the main product, the BMP generates a

package CDR.

CDR File Name Format

packageYYYYMMDDHHMMSS_BMPID_BBBBBB.unl

Example of a package CDR file name: package20071012235959_1_000001.unl

Format

Table 3-26 describes each field of package CDR file.

Table 3-26 Format of package CDR

SN Field Name Field Type

Description

1 MSISDN Char[20] Indicates the mobile phone number of a

subscriber.

2 ServiceClass Integer[4] Indicates the charge class of a subscriber.

3 OldServiceClass Integer[4] Indicates the charge class of a subscriber

before changing.

4 NewServiceClass Integer[4] Indicates the charge class of a subscriber after

changing.

5 OperType Integer[4] Indicates the operation type.

The options are as follows:

1: GUI

2: WebService

3: Inter-process

10: changing through IVR

166: changing through SMS

163: changing through USSD

6 OperTime Char[14] Indicates the operation date and time.

3.3.3 pack_revert CDR

Description

When the system automatically changes the main product of a subscriber, the OCS generates

the pack_revert CDR.

Page 331: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

321

Generation Scenario

The system automatically changes the main product of a subscriber when a specific bonus

account expires. At the same time, the BMP generates the pack_revert CDR.

CDR File Name Format

pack_revertYYYYMMDDHHMMSS_BMPID_BBBBBB.unl

Example of a pack_revert CDR file name: pack_revert20071012235959_1_000001.unl

Format

Table 3-27 describes each field of pack_revert CDR file.

Table 3-27 Format of pack_revert CDR

SN Field Name Field Type

Description

1 MSISDN Char[20] Indicates the mobile phone number of a

subscriber.

2 OrgSubCosID Integer[4] Indicates the original charge class of a

subscriber.

3 Prmmoney Integer[4] Indicates the balance of a bonus account to be

deleted.

3.3.4 manproduct CDR

Description

The OCS records the manproduct CDR when product subscription relation is changed.

Generation Scenario

In the OCS service, when the product subscription relation is changed, the BMP generates a

manproduct CDR.

CDR File Name Format

manproductYYYYMMDDHHMMSS_BMPID_BBBBBB.unl

Example of a manproduct CDR file name: manproduct20071012235959_1_000001.unl

Format

Table 3-28 describes each field of manproduct CDR file.

Page 332: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 3 CDR Format Details

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

322

Table 3-28 Format of manproduct CDR

SN Field Name Field Type

Description

1 SubscriberNo Char[32] Indicates the subscriber number.

The number format are as follows:

Area number + PSTN

The number format is the format of the

fixed-line telephone number.

MSISDN

The number format is the format of the

mobile phone number.

For URI format, example,

[email protected]

Value range: numerals within 0-9, *, #

2 OperateType Integer[4] Indicates the operate type.

The options are as follows:

1: suspend product subscription

2: resume product subscription

3: subscribe product

4: cancel product subscription

3 ProductID Char[20] Indicates the product id.

4 SubCosID Integer[4] Indicates the main product ID of subscribers.

5 AccessMode Integer[4] Indicates the access mode.

The options are as follows:

1: GUI

2: WebService

3: IVR

4: SMS

5: USSD

6: WorkOrder

6 OperateTime Char[14] Indicates the time when an operation is

performed.

7 Reserved.

8 Reserved.

9 Reserved.

10 Reserved.

11 Reserved.

Page 333: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 4 Work Orders Exported by a Scheduled Task

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

323

4 Work Orders Exported by a Scheduled Task

Description

The system supports the function for exporting last failed work orders by product and

submitting the failed work orders to the CARES for caparison and rework. A scheduled task is

configured in the BMP to export records in the retrial completed and failed status periodically

(for example, daily or once several days) from the DONE table.

Files exported by the scheduled task are in the same format as CDRs, and are stored in the

${HOME}/export/output path.

Generation Scenario

Files are exported by the system periodically.

File Name Format

WorkorderYYYYMMDDHHMMSS_BMPID_BBBB.unl

Example of a file name: Workorder20120220165910_1_0001.unl

List Format

4 Work Orders Exported by a Scheduled Task describes each field of the task control list.

Table 4-1 Format of the task control

SN Field Name Description

1 Serial Number Indicates the serial number of an operation.

2 Work Order Type Indicates the type of a work order.

3 Work Order Creation

Time

Indicates the time when a work order is created.

Format: YYYYMMDDHHMMSS

4 Previous Execution

Time

Indicates the previous execution time of a work order.

Format: YYYYMMDDHHMMSS

Page 334: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 4 Work Orders Exported by a Scheduled Task

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

324

SN Field Name Description

5 Status Indicates the work order execution status.

6 Subscriber Number Indicates the number of a subscriber.

7 Product ID Indicates the ID of a product.

NOTE

This field is valid only for work orders of the 3, 6, and 7

types.

Page 335: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

325

5 CDR Instances

About This Chapter

The section describes the CDRs with instances.

The following lists the contents of this chapter.

5.1 CBP-Generated CDR Instance-rec CDR

The section describes the rec CDR with an instance.

5.2 SCP-Generated CDR Instance-w_abr CDR

The section describes the w_abr CDR with an instance.

5.3 BMP-Generated CDR Instance package CDR

The section describes the package CDR with an instance.

5.1 CBP-Generated CDR Instance-rec CDR

The section describes the rec CDR with an instance.

Service Usage Scenario

Assume that John in country A calls Jack in the same country. The mobile phone number of

John is 8765432. The mobile phone number of Jack is 7654321. The country code of country

A is 92. Jack receives the call from John at 2008-06-05 14:06:06.

CDR Details Original CDR record

10|0|20080605140606|1|92612345678|927654321||1||927654321|2|00|92993909|1050|92

9675020|1010|20080605140623|0|0||20080605140829|0|420|0|3146||420|00928765432||0|

108|10062|7654321|2|0|20080502|3|2|2|0||92|11|2|92|11|2|92|10|1|92|11|1|10062|10000000

000000000000|0|0|0||0|0|1000000|66|2||0|0|70|70|9930|0|0|710101000|2147483647|0||200

0|68|70|9930|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|||||||||||||||||||||||||||

0||||0|0|0|12453|0|12456|0||2147483623|0||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0||||||0|0||||2123

45678|0||1000||0|0||||||||||100|0||1100|0|0||0|0|0|0|||||0|0|||0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|

Page 336: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

326

0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|

0|0|0|0|0|0|0|0|0|0

CDR field description

Table 5-1 Format of rec CDR

SN Value Field Name Description

1 10 SerialNo Indicates that the serial number is 10.

2 0 SubSequence Indicates that the sequence number is 0 when the

bill is split for mid-night and end of the bill cycle.

3 20080605

140606

TimeStamp Indicates that the timestamp of the bill item

generation is 20080605140606.

4 1 ServiceKey Indicates that the service key is 1.

5 92876543

2

CallingPartyN

umber

Indicates that the calling number is 928765432.

6 92765432

1

CalledPartyNu

mber

Indicates that the called number is 927654321.

7 - CallingPartyI

MSI

Indicates that the relevant value cannot be

obtained.

8 1 CalledPartyIM

SI

Indicates that the IMSI of the called party is 1.

9 - DialedNumber Indicates that the original called number does not

exist. That is, the called party is not forwarded.

10 92765432

1

OriginalCalled

Party

Indicates that the original called number is

927654321.

11 2 ServiceFlow Indicates that the call process is called process.

12 00 CallForwardIn

dicator

Indicates that the call forwarding flag is 00.

13 92993909 CallingRoamIn

fo

Indicates that the information used to analyze the

roaming state of calling party is 92993909.

14 1050 CallingCellID Indicates that the cell ID of the calling party is

1050.

15 92967502

0

CalledRoamInf

o

Indicates that the information used to analyze the

roaming state of called party is 929675020.

16 1010 CalledCellID Indicates that the cell ID is 1010.

17 20080605

140623

TimeStampOf

SSP

Indicates that the time stamp report from SSP in

IDP is 20080605140623.

18 0 TimeZoneOfS

SP

Indicates that the time zone report from SSP in IDP

is 0.

19 0 BearerCapabili

ty

Indicates that the beared service is reserved.

Page 337: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

327

SN Value Field Name Description

20 Reserved

21 20080605

140829

ChargingTime Indicates that the time stamp of the charging

beginning is 20080605140829.

22 0 WaitDuration Indicates that the wait duration for calling party is

0.

23 420 CallDuration Indicates that the call duration is 420.

24 0 TerminationRe

ason

Indicates that the termination reason of the call is

unknown.

25 3146 CallReference

Number

Indicates that the call reference number is 3146. It

is reported by the SSP and is used to synchronized

CDRs generated on both the IN and the SSP.

26 - IMEI Indicates that the IE containing the IMEISV of the

ME in use by the served subscriber is null.

27 420 ChargeDuratio

n

Indicates that the charge duration is 420.

28 00928765

432

AccessPrefix Indicates that the special prefix dialed by a

subscriber for making calls is 00928765432.

29 - RoutingPrefix Indicates that the route prefix for re-routing a call

is null.

30 0 RedirectingPar

tyID

Indicates that the redirection number in the

forwarding process is 0.

31 108 BrandID Indicates that the brand ID of subscribers is 108.

32 10062 SubCOSID Indicates the main product ID of subscribers is

10062.

33 7654321 ChargingParty

Number

Indicates that the telephone number of the charging

party is 7654321.

34 2 ChargePartyIn

dicator

Indicates that the called party is charged.

35 0 PayType Indicates that the pay type of subscribers is

prepaid.

36 20080502 BillCycleID Indicates that the bill cycle ID is 20080502.

37 3 ChargingType Indicates that the charging type is H-V.

38 2 CallType Indicates that the analyzed call type is toll call

between charging area.

39 2 RoamState Indicates that the roaming state of charging party is

roaming out of charging area.

40 0 ResultCode Indicates that the internal result code is 0.

Page 338: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

328

SN Value Field Name Description

41 - FPHPrefix Indicates the prefix for called party payment is

unknown.

42 92 CallingHomeC

ountryCode

Indicates that the home country code information

of calling party is 92.

43 11 CallingHomeA

reaNumber

Indicates that the home area number of the calling

party is 11.

44 2 CallingHomeN

etworkCode

Indicates that the home network code of the calling

party is 2.

45 92 CallingRoamC

ountryCode

Indicates that the roam country code of the calling

party is 92.

46 11 CallingRoamA

reaNumber

Indicates that the roam area number of the calling

party is 11.

47 2 CallingRoamN

etworkCode

Indicates that the roam network code of the calling

party is 2.

48 92 CalledHomeC

ountryCode

Indicates that the home country code of the called

party is 92.

49 10 CalledHomeAr

eaNumber

Indicates that the home area number of the called

party is 10.

50 1 CalledHomeN

etworkCode

Indicates that the home network code of the called

party is 1.

51 92 CalledRoamCo

untryCode

Indicates the roam country code of the called party

is 92.

52 11 CalledRoamAr

eaNumber

Indicates that the roam area number of the called

party is 11.

53 1 CalledRoamNe

tworkCode

Indicates that the roam network code of the called

party is 1.

54 10062 ProductID Indicates that the last effect rating product is

10062.

55 10000000

00000000

0000

ServiceType Indicates that the normal voice tariff.

56 0 HotLineIndicat

or

Indicates that the special number type is predefined

hot line type.

57 0 HomeZoneID Indicates that the home zone ID is 0.

58 0 NPFlag Indicates that the number portability is not enabled.

59 - NPPrefix Indicates that the calling number does not contain

the number portability prefix. That is, the calling

party is not enabled with the number portability

function.

Page 339: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

329

SN Value Field Name Description

60 0 CallingGroup

No

Indicates that the group number of the calling party

is 0 when enjoying CUG service. It is the group

number related to the rating.

61 0 CalledGroupN

o

Indicates that the group number of the called party

is 0 when enjoying CUG or VPN service.

62 1000000 UserState Indicates the life cycle state and the management

state of a subscriber is active.

63 66 SubscriberID Indicates that the subscriber ID is 66.

64 2 OpposeNetwor

kType

Indicates that the network type of oppose side is

Mobile.

65 Reserved

66 0 ChargeOfItems

Accounts

Indicates that the free call times used is 0.

67 0 ChargeOfDura

tionAccounts

Indicates that the total call time charge using

reword resource is 0.

68 70 ChargeOfFund

Accounts

Indicates that the total cost amount charging from

fund account is 70.

69 70 ChargeFromPr

epaid

Indicates that the charge amount from prepaid

account is 70.

70 9930 PrepaidBalanc

e

Indicates that the balance of prepaid account is

9930.

71 0 ChargeFromPo

stpaid

Indicates that the charge amount from postpaid

account is 0.

72 0 PostPaidBalan

ce

Indicates that the balance of postpaid account is 0.

73 71010100

0

AccountID Indicates that the ID of the main account is

710101000.

74 21474836

47

AccountKey Indicates the key of the main account is

2147483647.

75 0 CurrencyCode Indicates that the system use local minimal

currency as default.

76 Reserved

77 2000 AccountType1 Indicates that the account type of the first account

is 2000.

78 68 FeeType1 Indicates that the fee type of the first account is 68.

79 70 ChargeAmount

1

Indicates that the changing amount of the first

account is 70.

80 9930 CurrentAcctA Indicates that the current amount of the first

Page 340: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

330

SN Value Field Name Description

mount1 account is 9930.

81 0 AccountType2 Indicates that the account is not used.

82 0 FeeType2 Indicates that the fee type is not used.

83 0 ChargeAmount

2

Indicates that the changing amount of the second

account is 0.

84 0 CurrentAcctA

mount2

Indicates that the current amount of the second

account is 0.

85 0 AccountType3 Indicates that the account is not used.

86 0 FeeType3 Indicates that the fee type is not used.

87 0 ChargeAmount

3

Indicates that the changing amount of the third

account has not been changed.

88 0 CurrentAcctA

mount3

Indicates that the current amount of the third

account is 0.

89 0 AccountType4 Indicates that the account is not used.

90 0 FeeType4 Indicates that the fee type is not used.

91 0 ChargeAmount

4

Indicates that the changing amount of the fourth

account has not been changed.

92 0 CurrentAcctA

mount4

Indicates that the current amount of the fourth

account is 0.

93 0 AccountType5 Indicates that the account is not used.

94 0 FeeType5 Indicates that the fee type is not used.

95 0 ChargeAmount

5

Indicates that the changing amount of the fifth

account has not been changed.

96 0 CurrentAcctA

mount5

Indicates that the current amount of the fifth

account is 0.

97 0 AccountType6 Indicates that the account is not used.

98 0 FeeType6 Indicates that the fee type is not used.

99 0 ChargeAmount

6

Indicates that the changing amount of the sixth

account has not been changed.

100 0 CurrentAcctA

mount6

Indicates that the current amount of the sixth

account is 0.

101 0 AccountType7 Indicates that the account is not used.

102 0 FeeType7 Indicates that the fee type is not used.

103 0 ChargeAmount

7

Indicates that the changing amount of the seventh

account has not been changed.

104 0 CurrentAcctA Indicates that the current amount of the seventh

Page 341: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

331

SN Value Field Name Description

mount7 account is 0.

105 0 AccountType8 Indicates that the account is not used.

106 0 FeeType8 Indicates that the fee type is not used.

107 0 ChargeAmount

8

Indicates that the changing amount of the eighth

account has not been changed.

108 0 CurrentAcctA

mount8

Indicates that the current amount of the eighth

account is 0.

109 0 AccountType9 Indicates that the account is not used.

110 0 FeeType9 Indicates that the fee type is not used.

111 0 ChargeAmount

9

Indicates that the changing amount of the ninth

account has not been changed.

112 0 CurrentAcctA

mount9

Indicates that the current amount of the ninth

account is 0.

113 0 AccountType1

0

Indicates that the account is not used.

114 0 FeeType10 Indicates that the fee type is not used.

115 0 ChargeAmount

10

Indicates that the changing amount of the tenth

account has not been changed.

116 0 CurrentAcctA

mount10

Indicates that the current amount of the tenth

account is 0.

117 - BonusValidity

1

Indicates that the validity period of the first

rewarded resource of the second party is null.

118 - BonusValidity

2

Indicates that the validity period of the second

rewarded resource of the second party is null.

119 - BonusValidity

3

Indicates that the validity period of the third

rewarded resource of the second party is null.

120 - BonusValidity

4

Indicates that the validity period of the fourth

rewarded resource of the second party is null.

121 - BonusValidity

5

Indicates that the validity period of the fifth

rewarded resource of the second party is null.

122 - BonusValidity

6

Indicates that the validity period of the sixth

rewarded resource of the second party is null.

123 - BonusValidity

7

Indicates that the validity period of the seventh

rewarded resource of the second party is null.

124 - BonusValidity

8

Indicates that the validity period of the eighth

rewarded resource of the second party is null.

125 - BonusValidity

9

Indicates that the validity period of the ninth

rewarded resource of the second party is null.

Page 342: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

332

SN Value Field Name Description

126 - BonusValidity

10

Indicates that the validity period of the tenth

rewarded resource of the second party is null.

127 - CallingVPNTo

pGroupNumbe

r

Indicates that the top group number of the second

calling party is null.

128 - CallingVPNGr

oupNumber

Indicates that the group number of the second

calling party is null.

129 - CallingVPNSh

ortNumber

Indicates that the short number of the second

calling party is null.

130 - CalledVPNTo

pGroupNumbe

r

Indicates that the top group number of the second

called party is null.

131 - CalledVPNGro

upNumber

Indicates that the group number of the second

called party is null.

132 - CalledVPNSho

rtNumber

Indicates that the short number of the second called

party is null.

133 - CallingNetwor

kType

Indicates that the type of the network accessed by

the second calling party is null.

134 - CalledNetwork

Type

Indicates that the type of the network accessed by

the second calling party is null.

135 - GroupCallTyp

e

Indicates that the call type when the second

charged subscriber is null.

136 - GroupPayFlag Indicates that the payment mode of the group users

of the second party is null.

137-1

41

Reversed

142 - AddtionalInfo Indicates that the additional information about the

service of the second party is null.

143 0 StartTimeOfBi

llCycle

Indicates that the start time of bill cycle of the

second party is 0.

144 - SecondChargin

gPartyNumber

Indicates that the mobile number of the other

charging party is null.

145 - SecondChargin

gPartyPayType

Indicates that the payment type of the other

charging party is null.

146 - SecondChargin

gPartyBillCycl

eID

Indicates that the bill cycle ID of the other

charging party is null.

147 0 ChargeOfItems

SecondAccoun

ts

Indicates that the free call times used from others is

null.

Page 343: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

333

SN Value Field Name Description

148 0 ChargeOfDura

tionSecondAcc

ounts

Indicates that the total call time charge using

reword resource from others is null.

149 0 ChargeOfFund

SecondAccoun

ts

Indicates that the total cost amount charging from

fund account of others is null.

150 12453 ChargeFromSe

condPrepaidAc

count

Indicates the charge amount from other account is

12453.

151 0 SecondPrepaid

AccountBalanc

e

Reserved

152 12456 ChargeFromSe

condPostpaidA

ccount

Indicates the charge amount from other account is

12456.

153 0 SecondPostpai

dAccountBala

nce

Indicates the charge amount from other postpaid

account, such as the parent card.

154 - SecondAccoun

tID

Indicates that the main account ID of the other

charging party that the system deducts fees from is

null.

155 21474836

23

SecondAccoun

tKey

Indicates the main account key of the other

charging party that the system deducts fees from is

2147483623.

156 0 SecondAccoun

tCurrencyCode

Indicates that the currency code of the second party

is null.

157 Reserved

158 0 SecondAccoun

tType1

Indicates that the account type of the first account

of the second party is 0.

159 0 SecondFeeTyp

e1

Indicates that the fee type of the first account of the

second party is 0.

160 0 SecondCharge

Amount1

Indicates that the changing amount of the first

account of the second party is 0.

161 0 SecondCurrent

AcctAmount1

Indicates that the current amount of the first

account of the second party is 0.

162 0 SecondAccoun

tType2

Indicates that the account type of the second

account of the second party is 0.

163 0 SecondFeeTyp

e2

Indicates that the fee type of the second account of

the second party is 0.

164 0 SecondCharge

Amount2

Indicates that the changing amount of the second

account of the second party is 0.

Page 344: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

334

SN Value Field Name Description

165 0 SecondCurrent

AcctAmount2

Indicates that the current amount of the second

account of the second party is 0.

166 0 SecondAccoun

tType3

Indicates that the account type of the third account

of the second party is 0.

167 0 SecondFeeTyp

e3

Indicates that the fee type of the third account of

the second party is 0.

168 0 SecondCharge

Amount3

Indicates that the changing amount of the third

account of the second party is 0.

169 0 SecondCurrent

AcctAmount3

Indicates that the current amount of the third

account of the second party is 0.

170 0 SecondAccoun

tType4

Indicates that the account type of the fourth

account of the second party is 0.

171 0 SecondFeeTyp

e4

Indicates that the fee type of the fourth account of

the second party is 0.

172 0 SecondCharge

Amount4

Indicates that the changing amount of the fourth

account of the second party is 0.

173 0 SecondCurrent

AcctAmount4

Indicates that the current amount of the fourth

account of the second party is 0.

174 0 SecondAccoun

tType5

Indicates that the account type of the fifth account

of the second party is 0.

175 0 SecondFeeTyp

e5

Indicates that the fee type of the fifth account of

the second party is 0.

176 0 SecondCharge

Amount5

Indicates that the changing amount of the fifth

account of the second party is 0.

177 0 SecondCurrent

AcctAmount5

Indicates that the current amount of the fifth

account of the second party is 0.

178 - SecondBonus

Validity1

Indicates that the validity period of the first

rewarded resource of the second party is null.

179 - SecondBonus

Validity2

Indicates that the validity period of the second

rewarded resource of the second party is null.

180 - SecondBonus

Validity3

Indicates that the validity period of the third

rewarded resource of the second party is null.

181 - SecondBonus

Validity4

Indicates that the validity period of the fourth

rewarded resource of the second party is null.

182 - SecondBonus

Validity5

Indicates that the validity period of the fifth

rewarded resource of the second party is null.

183 0 CallingCluster

Number

Indicates that the calling cluster number is 0.

184 0 CalledCluster Indicates that the called cluster number is 0.

Page 345: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

335

SN Value Field Name Description

Number

185 - OriginalCallin

gParty

Indicates that the called party is not forwarded.

186-1

87

Reserved

188 21234567

8

OppositeParty

Number

Indicates the number of the opposite party is

212345678.

189 0 SuperBuddyCa

llType

Indicates that the current call is not a super buddy

call.

190 - SponsorID Indicates that the sponsor service is not enabled.

191 1000 Sponsor

Discount

Indicates that the discount for sponsor service is

1000.

192 - DiameterSessi

onID

Indicates that the diameter session ID is null.

193 0 StartcountryGr

oup

Indicates the country group of a calling party is 0.

194 0 EndcountryGr

oup

Indicates the country group of a called party is 0.

195-2

03

Reserved

204 100 DiscountOfLas

tEffProduct

Indicates the discount percentage for the last rated

product that takes effect. For a product that does

not provide discounts, the value is 100.

205 0 subscriberkey Indicates the key of a subscriber is 0.

206 - accumulationc

hange

Indicates the change value of an accumulative item

is null.

207 1100 UsageServiceT

ype

Indicates the type of a real-time service is 1100.

208 0 SourceSerialN

o

For the CDRs that are generated not for re-rating,

the default value of this field is 0.

209 0 SourceSubSeq

uence

Indicates the sequence number when the bill is

split is 0.

210 - AcctBalChgLi

st

Indicates the change value of balance change.

211 0 SubscriberTyp

e Indicates the subscriber type.

212 0 OriginCdrFilen

ame

Indicates the name of a rated CDR.

Page 346: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

336

SN Value Field Name Description

213 0 CurCDRLineN

o

Indicates the number of the line where the original

CDR is located.

214 0 DDSDiscount

Off

Indicates discount of dynamic tariff.

215-2

18

Reserved

219 0 SecondSubscri

berKey

Indicates the key value of a parent card subscriber.

220 0 SecondProduct

ID

Reserved

221-2

23

Reserved

224 0 familyid Indicates the family ID of the Family Package that

meeting the preference rule.

225 0 accounttype1 Indicates the account type of the first fund account.

226 0 BalanceBefore

Charge1

Indicates the balance of the first account before the

system deducts the fee from.

227 0 BalanceAfterC

harge1

Indicates the balance of the first account after the

system deducts the fee from.

228 0 ChargeFee1 Indicates the cost amount charging from the first

account.

229 0 accounttype2 Indicates the account type of the second fund

account.

230 0 BalanceBefore

Charge2

Indicates the balance of the second account before

the system deducts the fee from.

231 0 BalanceAfterC

harge2

Indicates the balance of the second account after

the system deducts the fee from.

232 0 ChargeFee2 Indicates the cost amount charging from the second

account.

233 0 accounttype3 Indicates the account type of the third fund

account.

234 0 BalanceBefore

Charge3

Indicates the balance of the third account before

the system deducts the fee from.

235 0 BalanceAfterC

harge3

Indicates the balance of the third account after the

system deducts the fee from.

236 0 ChargeFee3 Indicates the cost amount charging from the third

account.

237 0 accounttype4 Indicates the account type of the forth fund

account.

Page 347: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

337

SN Value Field Name Description

238 0 BalanceBefore

Charge4

Indicates the balance of the forth account before

the system deducts the fee from.

239 0 BalanceAfterC

harge4

Indicates the balance of the forth account after the

system deducts the fee from.

240 0 ChargeFee4 Indicates the cost amount charging from the forth

account.

241 0 accounttype5 Indicates the account type of the fifth account.

242 0 BalanceBefore

Charge5

Indicates the balance of the fifth account before the

system deducts the fee from.

243 0 BalanceAfterC

harge5

Indicates the balance of the fifth account after the

system deducts the fee from.

244 0 ChargeFee5 Indicates the cost amount charging from the fifth

account.

245 0 accounttype6 Indicates the account type of the sixth account.

246 0 BalanceBefore

Charge6

Indicates the balance of the sixth account before

the system deducts the fee from.

247 0 BalanceAfterC

harge6

Indicates the balance of the sixth account after the

system deducts the fee from.

248 0 ChargeFee6 Indicates the cost amount charging from the sixth

account.

249 0 accounttype7 Indicates the account type of the seventh fund

account.

250 0 BalanceBefore

Charge7

Indicates the balance of the seventh account before

the system deducts the fee from.

251 0 BalanceAfterC

harge7

Indicates the balance of the seventh account after

the system deducts the fee from.

252 0 ChargeFee7 Indicates the cost amount charging from the

seventh account.

253 0 accounttype8 Indicates the account type of the eighth fund

account.

254 0 BalanceBefore

Charge8

Indicates the balance of the eighth account before

the system deducts the fee from.

255 0 BalanceAfterC

harge8

Indicates the balance of the eighth account after the

system deducts the fee from.

256 0 ChargeFee8 Indicates the cost amount charging from the eighth

account.

257 0 accounttype9 Indicates the account type of the ninth fund

account.

Page 348: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

338

SN Value Field Name Description

258 0 BalanceBefore

Charge9

Indicates the balance of the ninth account before

the system deducts the fee from.

259 0 BalanceAfterC

harge9

Indicates the balance of the ninth account after the

system deducts the fee from.

260 0 ChargeFee9 Indicates the cost amount charging from the ninth

account.

261 0 accounttype10 Indicates the account type of the tenth fund

account.

262 0 BalanceBefore

Charge10

Indicates the balance of the tenth account before

the system deducts the fee from.

263 0 BalanceAfterC

harge10

Indicates the balance of the tenth account after the

system deducts the fee from.

264 0 ChargeFee10 Indicates the cost amount charging from the tenth

account.

265 0 accounttype11 Indicates the account type of the eleventh fund

account.

266 0 BalanceBefore

Charge11

Indicates the balance of the eleventh account

before the system deducts the fee from.

267 0 BalanceAfterC

harge11

Indicates the balance of the eleventh account after

the system deducts the fee from.

268 0 ChargeFee11 Indicates the cost amount charging from the

eleventh account.

269 0 accounttype12 Indicates the account type of the twelfth fund

account.

270 0 BalanceBefore

Charge12

Indicates the balance of the twelfth account before

the system deducts the fee from.

271 0 BalanceAfterC

harge12

Indicates the balance of the twelfth account after

the system deducts the fee from.

272 0 ChargeFee12 Indicates the cost amount charging from the

twelfth account.

273 0 accounttype13 Indicates the account type of the thirteenth fund

account.

274 0 BalanceBefore

Charge13

Indicates the balance of the thirteenth account

before the system deducts the fee from.

275 0 BalanceAfterC

harge13

Indicates the balance of the thirteenth account after

the system deducts the fee from.

276 0 ChargeFee13 Indicates the cost amount charging from the

thirteenth account.

277 0 accounttype14 Indicates the account type of the fourteenth fund

Page 349: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

339

SN Value Field Name Description

account.

278 0 BalanceBefore

Charge14

Indicates the balance of the fourteenth account

before the system deducts the fee from.

279 0 BalanceAfterC

harge14

Indicates the balance of the fourteenth account

after the system deducts the fee from.

280 0 ChargeFee14 Indicates the cost amount charging from the

fourteenth account.

281 0 accounttype15 Indicates the account type of the fifteenth fund

account.

282 0 BalanceBefore

Charge15

Indicates the balance of the fifteenth account

before the system deducts the fee from.

283 0 BalanceAfterC

harge15

Indicates the balance of the fifteenth account after

the system deducts the fee from.

284 0 ChargeFee15 Indicates the cost amount charging from the

fifteenth account.

285 0 accounttype16 Indicates the account type of the sixteenth fund

account.

286 0 BalanceBefore

Charge16

Indicates the balance of the sixteenth account

before the system deducts the fee from.

287 0 BalanceAfterC

harge16

Indicates the balance of the sixteenth account after

the system deducts the fee from.

288 0 ChargeFee16 Indicates the cost amount charging from the

sixteenth account.

289 0 accounttype17 Indicates the account type of the seventeenth fund

account.

290 0 BalanceBefore

Charge17

Indicates the balance of the seventeenth account

before the system deducts the fee from.

291 0 BalanceAfterC

harge17

Indicates the balance of the seventeenth account

after the system deducts the fee from.

292 0 ChargeFee17 Indicates the cost amount charging from the

seventeenth account.

293 0 accounttype18 Indicates the account type of the eighteenth fund

account.

294 0 BalanceBefore

Charge18

Indicates the balance of the eighteenth account

before the system deducts the fee from.

295 0 BalanceAfterC

harge18

Indicates the balance of the eighteenth account

after the system deducts the fee from.

296 0 ChargeFee18 Indicates the cost amount charging from the

eighteenth account.

Page 350: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

340

SN Value Field Name Description

297 0 accounttype19 Indicates the account type of the nineteenth fund

account.

298 0 BalanceBefore

Charge19

Indicates the balance of the nineteenth account

before the system deducts the fee from.

299 0 BalanceAfterC

harge19

Indicates the balance of the nineteenth account

after the system deducts the fee from.

300 0 ChargeFee19 Indicates the cost amount charging from the

nineteenth account.

301 0 accounttype20 Indicates the account type of the twentieth fund

account.

302 0 BalanceBefore

Charge20

Indicates the balance of the twentieth account

before the system deducts the fee from.

303 0 BalanceAfterC

harge20

Indicates the balance of the twentieth account after

the system deducts the fee from.

304 0 ChargeFee20 Indicates the cost amount charging from the

twentieth account.

5.2 SCP-Generated CDR Instance-w_abr CDR

The section describes the w_abr CDR with an instance.

Service Application Scenario

Assume that John in country A calls Jack in the same country. The mobile phone number of

John is 8765432. The mobile phone number of Jack is 7654321. The country code of country

A is 92. The international number prefix of country A is 00. The number John calls is

00927654321. Jack answers the call at 2007-08-21-15: 00: 31. The call duration is 4 seconds.

CDR Details Original CDR record (CDR record for the calling party)

91|1|009261167556|00927654321|||150025|0|00927654321|00927654321|1|10|00675756||

009218765019||||0|17|||0|4605075601360|16776758464|009213900777|32|200708211500

31|4|0|4|-1|0|100||01|02|00|

CDR field description

Table 5-2 Format of w_abr CDR

SN Value Field Name Description

1 91 ServiceKey Indicates the service key.

The value is 91 in this CDR.

Page 351: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

341

SN Value Field Name Description

2 1 SubCosID Indicates the sub brand ID of a product.

3 00927112

34567

Calling-Party-

Address

Indicates the calling number.

Fixed-line telephone number with an area code,

mobile phone number without an area code

(international number form).

The country code of John is 92 and the mobile

phone number is 711234567. Thus, the calling

number is 0092711234567.

4 00927654

321

Called-Party-A

ddress

Indicates the called number.

The country code of Jack is 92 and the mobile

phone number is 7654321. Thus, the called

number is 00927654321.

5 - Calling-Party-

NP

Indicates the number portability prefix of the

calling party. It is the route prefix of the number

transfers from one network to another.

The value of this field is null.

6 - Called-Party-N

P

Indicates the number portability prefix of the

called party. It is the route prefix of the number

transfers from one network to another.

The value of this field is null.

7 150025 SSP-Time Indicates the time reported by the SSP.

8 0 MF-Indicator Indicates the call forwarding indicator.

9 00927654

321

Real-Called-N

umber

Indicates the actual called number.

The number John calls is 00927654321, which is

the actual called number.

10 00927654

321

Connect-Calle

d-Number

Indicates the called number for connection. It is

the same as the actual called number

00927654321.

11 1 Charge-Flow-

Type

Indicates the charge process type.

The options are as follows:

0: the calling process

1: the called process

3: the forwarding process

12 10 Calling-Partys-

Category

Indicates the calling party type indicating whether

the call is from a carrier, a public number, or an

ordinary subscriber.

The value of the field Calling-Partys-Category

depends on the value of the variable

CAP_InitialDP_ callingPartysCategory.

13 00675756 Calling-Vlr-N

umber

Indicates the VLR number of the visitor location

of the calling party.

Page 352: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

342

SN Value Field Name Description

If the number exists in the IDP message, enter that;

otherwise, the value is null.

14 - Calling-CellID Indicates the cell ID of the calling party.

15 00921876

5019

Called-Vlr-Nu

mber

Indicates the VLR number of the visitor location

of the called party.

16 - Called-CellID Indicates the cell ID of the called party.

17 - Original-Calle

d-Party-Id

Indicates the original called number.

In the charging process for calling party, the field

is set to null because the MSC does not report the

original called number.

18 - Additional-Cal

ling-Party-Nu

mber

Indicates the additional calling number. In the

calling process, the MSC does not report the

number. Thus, the value is null.

19 0 Bearer-Capabil

ity

Indicates the bear-capability of the device that a

subscriber connects to.

20 17 EventType-BC

SM

Indicates an event report.

21 - Redirecting-Pa

rty-Id

Indicates the ID of the redirecting party.

It is used in the forwarding process. Thus, the

value is null.

22 - Redirection-In

formation

Indicates the redirection information. It is used in

the forwarding process. Thus, the value is null.

23 0 Redirection-Re

ason

Indicates the forwarding reason.

The call is not redirected. Thus, the field is set to

0.

24 46050756

01360

UE-IMSI Indicates the IMSI of the calling party or called

party.

25 16776758

464

CallReference

Number

Indicates the reference number of a call. It is used

to uniquely identify a call.

26 00921390

0777

MSC-Address Indicates the MSC address.

27 32 Time-Zone Indicates the time zone where a subscriber is.

28 20070821

150031

CallBeginTim

e Indicates the start time of the calling beginning.

The call starts at 2007-08-21-15: 00: 31.

29 4 CallDuration Indicates the call duration.

The call lasts for 4 seconds.

30 0 SuccesssACD

uration

Indicates the duration of which the fee has been

deducted.

Page 353: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

343

SN Value Field Name Description

31 4 FailACDuratio

n

Indicates the AC duration during which an error

occurs.

The SCP and CBP interact abnormally when the

call lasts for 4 seconds.

32 -1 VPMNCallFla

g

Indicates the flag of calls in a VPN group.

33 0 CBEResultCo

de

Indicates the error code did not return by the CBE.

34 100 DDSDiscount Indicates the discount of the MTN zone is 100%.

35 - DiameterSessi

onID

Indicates that the diameter session ID is null.

36 01 NPPrefix Indicates the NP prefix of a called number is 01.

37 02 CalledHomeN

etWork

Indicates the home network code of a called

number after the NP is 02.

38 00 OpposeTenant

ID

Reserved.

5.3 BMP-Generated CDR Instance package CDR

The section describes the package CDR with an instance.

Service Application Scenario

Assume that Jack's mobile number is 8765432. Jack modified the main product through IVR,

before the operation the ID of the main product is 18, and after the operation the ID of the

main product is 64.

CDR Details Original CDR record

8765432|64|18|64|10|20101122101225

CDR field description

Table 5-3 Format of package CDR

SN Value Field Name Description

1 8765432 MSISDN Indicates the mobile phone number of

a subscriber is 8765432.

2 64 ServiceClass Indicates the class of a subscriber is

64.

Page 354: OCS Call Detail Record Reference (V100R002C02LG0237_26) (Pakistan, Ufone).pdf

OCS

Call Detail Record Reference 5 CDR Instances

Issue 26 (2014-03-31) Huawei Proprietary and Confidential

Copyright © Huawei Technologies Co., Ltd.

344

SN Value Field Name Description

3 18 OldServiceClass Indicates the charge class of a

subscriber before changing is 18.

4 64 NewServiceClass Indicates the charge class of a

subscriber after changing is 64.

5 10 OperType Indicates the operation type is

changing the class through IVR.

The options are as follows:

10: changing through IVR

166: changing through SMS

163: changing through USSD

6 20101122101225 OperTime Indicates the date and time of the

operation is 20101122101225.


Recommended