Sei sulla pagina 1di 9

HUAWEI SMC2.

0
V600R006C00

CDR Reference

Issue 01
Date 2017-07-06

HUAWEI TECHNOLOGIES CO., LTD.


Copyright © Huawei Technologies Co., Ltd. 2017. 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://e.huawei.com

Issue 01 (2017-07-06) Huawei Proprietary and Confidential i


Copyright © Huawei Technologies Co., Ltd.
HUAWEI SMC2.0
CDR Reference Contents

Contents

1 CDR Overview............................................................................................................................... 1
1.1 Basic Concepts............................................................................................................................................................... 1
1.2 CDR Processing Mechanism.......................................................................................................................................... 1
1.3 CDR Classification......................................................................................................................................................... 2

2 General Description of CDR Format......................................................................................... 3


2.1 Format of a CDR File Name...........................................................................................................................................3
2.2 CDR Format Specifications............................................................................................................................................3
2.2.1 Time Format................................................................................................................................................................ 4

3 Detailed Description of the CDR Format................................................................................. 5


3.1 Multipoint CDRs............................................................................................................................................................ 5
3.2 Point-to-Point CDRs.......................................................................................................................................................6

Issue 01 (2017-07-06) Huawei Proprietary and Confidential ii


Copyright © Huawei Technologies Co., Ltd.
HUAWEI SMC2.0
CDR Reference 1 CDR Overview

1 CDR Overview

1.1 Basic Concepts


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

CDR
A CDR collects the information about a charging event in a certain format, including the start
time of the call, call duration, and transmitted data volume. The information is used for
charging and settlement.

For a party related to a charging event, the system generates an independent CDR for a partial
or full fee payment. Therefore, more than one CDR may be available for a charging event, for
example, in the case of long call duration or more than one charged party.

CDR Storage
CDRs are stored in the SMC2.0 database. The maximum storage duration is 1 year. CDRs
whose storage duration exceeds 1 year are deleted automatically.

1.2 CDR Processing Mechanism


This section describes the generation and transfer processes of CDRs.

Generating CDRs
The SMC2.0 does not generate CDR files automatically and only stores CDRs to the
corresponding tables in the database when a call is set up, so that the user can query CDRs
from the database.

Querying CDRs
After accessing the CDR page of the SMC2.0 user interface, the user can set the query criteria
(Start date, End date, or Participant label) and click Search. The system then searches the
database and displays CDRs that match the criteria.

Issue 01 (2017-07-06) Huawei Proprietary and Confidential 1


Copyright © Huawei Technologies Co., Ltd.
HUAWEI SMC2.0
CDR Reference 1 CDR Overview

Exporting CDRs
CDR record can export on the current page or all CDRs that meet query criteria and save them
in CSV format. user can perform subsequent operations on the CSV files.

1.3 CDR Classification


In the SMC2.0, CDRs are divided into multipoint CDRs and point-to-point CDRs. A
multipoint CDR is a CDR that is generated when a video terminal participates in a conference
using a Multipoint Control Unit (MCU). A point-to-point CDR is a CDR that is generated
when a call between two video terminals is set up using a gatekeeper (GK).

Issue 01 (2017-07-06) Huawei Proprietary and Confidential 2


Copyright © Huawei Technologies Co., Ltd.
HUAWEI SMC2.0
CDR Reference 2 General Description of CDR Format

2 General Description of CDR Format

2.1 Format of a CDR File Name


A typical CDR file name is as follows:

{CDR type}{YYYYMMDD}{number}{.csv}

Table 2-1 lists the meaning of each field in the CDR file name.

Table 2-1 Meaning of each field in the CDR file name

Field Description

CDR type pointsCdr: indicates a multipoint CDR.


ptpCdr: indicates a point-to-point CDR.

YYYYMMDD Indicates the date when the CDR file is


generated.

number Indicates a randomly generated number.

.csv Indicates the CDR file name extension.

For example, ptpCdr2012050319334932.csv refers to a point-to-point CDR file, which is


generated at 19:33 on May 3, 2012, with the random number 4932.

A comma-separated values (CSV) file is a common, relatively simple file format that is
widely supported by consumer, business, and scientific applications. It stores tabular data
(numbers and text) in plain-text form, consists of any number of records, separated by line
breaks of some kind; each record consists of fields, separated by some other character or
string, most commonly a literal comma or tab.

2.2 CDR Format Specifications

Issue 01 (2017-07-06) Huawei Proprietary and Confidential 3


Copyright © Huawei Technologies Co., Ltd.
HUAWEI SMC2.0
CDR Reference 2 General Description of CDR Format

2.2.1 Time Format


The SMC2.0 uses the time in the subscriber's time zone for CDRs. In the CDRs, time periods
when the daylight saving time is in effect are labeled with asterisks (*). Table 2-2 lists
specifications of the time format in a CDR.

Table 2-2 Specifications of the time format in a CDR


Time Format

Year YYYY (for example, 2006)

Month MM (for example, 04)

Day DD (for example, 25)

Hour hh (for example, 11)

Minute mm (for example, 42)

Second ss (for example, 23)

Issue 01 (2017-07-06) Huawei Proprietary and Confidential 4


Copyright © Huawei Technologies Co., Ltd.
HUAWEI SMC2.0
CDR Reference 3 Detailed Description of the CDR Format

3 Detailed Description of the CDR Format

3.1 Multipoint CDRs


File Name Format
pointsCdrYYYYMMddHHmmXXXX.csv

Generation Scenario
Multipoint CDRs are generated for participants that have joined multipoint conferences.

CDR Format
The following table lists the CDR format.

No. Field Description

1 Conference Name -

2 Participant Name -

3 Endpoint Details Participant's number or IP address

4 Device Type -

5 Endpoint Type (Optional)Indicates whether an endpoint is a


hard terminal or softterminal

6 Calling Participant Type H 323 or SIP

7 Call Rate Rate used by the participant to join the


conference

8 Call Start Time -

9 Call End Time -

10 Exit Reason Reason that a participant quits a conference


the last time

Issue 01 (2017-07-06) Huawei Proprietary and Confidential 5


Copyright © Huawei Technologies Co., Ltd.
HUAWEI SMC2.0
CDR Reference 3 Detailed Description of the CDR Format

No. Field Description

11 Billing Code Billing code used for the multipoint


conference

12 Conference ID -

13 Conference Scheduler -

3.2 Point-to-Point CDRs


CDR File Name Format
ptpCdrYYYYMMddHHmmXXXX.csv

Generation Scenario
When a call between endpoint A and endpoint B is set up, a point-to-point CDR will be
generated. When the call ends, the point-to-point CDR will be updated to the database.

CDR Format
The following table lists the CDR format.

No. Field Description

1 Caller Label Calling participant's number or IP address

2 Calling Protocol H323 or SIP

3 CallingEndpointType (Optional) Indicates whether the calling


participant is a hard terminal or soft
terminal

4 Called Label Called participant's number or IP address

5 Called Protocol H 323 or SIP

6 Called Endpoint Type (Optional) Indicates whether the called


participant is a hard terminal or soft
terminal

7 Call Bandwidth -

8 Call Start Time -

9 Call End Time -

10 Exit Reason Reason that a participant quits a


conference the last time

Issue 01 (2017-07-06) Huawei Proprietary and Confidential 6


Copyright © Huawei Technologies Co., Ltd.

Potrebbero piacerti anche