Professional Documents
Culture Documents
Document No.
Document Version
Security level
Total pages: 7
Revision Record
Date 2004/03/05 Document revision version V1.0 Created Description Author Wang Haiying
2004-03-05
Page 2 of 7
Table of Contents
1 Original bill file header......................................................................................................... 2 2 Original bill file body ............................................................................................................ 2
2004-03-05
Page 3 of 7
2004-03-05
Page 4 of 7
The Huawei bill use the file interface, the file including the header and body two parts.
1. 2. 3. 4. 5. 6. 7. 8. 9. 10.
Record Type File Sequence File Version Generate Date First Session Date First Session Time Last Session Date Last Session Time Bill Record Number New Line
CHAR (2) CHAR (4) CHAR (2) CHAR (8) CHAR (8) CHAR (6) CHAR (8) CHAR (6) CHAR (10) CHAR (1)
First Record = 01 Increase form 0001, return to 0001 after Max 00 YYYYMMDD YYYYMMDD HHMMSS YYYYMMDD HHMMSS Right alignment, fill 0 in left \r\n
1. 2. 3. 4. 5. 6. 7. 8.
Sequence Accounting Status Type MSID IP Address NAI Account Session ID Correlation ID Session Continue
CHAR (10) CHAR (10) CHAR (15) CHAR (15) CHAR (64) CHAR (8) CHAR (8) CHAR (10)
Increased only sequence 1=accounting start; 2=accounting stop; 3=interim update IMSI e.g.: 172.1.12.3 The user account ID for a session ID for a PPP Flag for if the current Accounting Stop is the end of a connection: 0=stop; 1=continue. Only exists in accounting stop bill IP for HA PDSN address for normal user or the VPN gateway address for VPN services. PCF IP address
Page 5 of 7
9. 10. 11.
2004-03-05
BSID User Zone Forward Mux Option Reverse Mux Option Service Option Forward Traffic Type Reverse Traffic Type Fundamental Frame Size Forward Fundamental RC Reverse Fundamental RC IP Technology
CHAR (12) CHAR (10) CHAR (10) CHAR (10) CHAR (10) CHAR (10)
SID+NID+BSC ID User Zone Forward multiplex option Reverse multiplex option 33 for CDMA 1X Service Forward traffic type There are two channels: 0=Primary, 1=Secondary Reverse traffic type There are two channels: 0=Primary, 1=Secondary Fundamental frame size 0=Unknown, 1=5, 2=20ms Forward fundamental resource class
18.
CHAR (10)
19. 20.
21.
CHAR (10)
22. 23.
CHAR (10)
Compulsory CHAR (10) Tunnel Indicator Release Indicator DCCH Frame Format Data Octet Count (Terminating) Data Octet Count (Originating) Bad PPP Frame Count, Event Time CHAR (10) CHAR (20) CHAR (10)
IP technology type 1=Simple IP, 2=Mobile IP Compulsory tunnel type 0=no tunnel; 1=unsafe tunnel; 2=safety tunnel The reason for sending Accounting stop DCCH frame format Count of data octets received by the user
27.
CHAR (10)
28. 29.
The frame dropped by PDSN. Start time for accounting start file, end time for accounting stop file, it is the second from Jan, 1st 1970 Session time (seconds) provided by PCF Times status transitions from domain status to active status during a PPP connection Count of Short Data Burst (SDB) octets received by the user Count of Short Data Burst (SDB) octets sent by the user
30. 31.
32.
33.
Active Time Number of Active Transitions SDB Octet Count (Terminating) SDB Octet Count (Originating)
CHAR (10)
CHAR (10)
2004-03-05
Page 6 of 7
34.
35.
36.
37.
38.
Number of SDBs (Terminating) Number of SDBs (Originating) Number of HDLC layer bytes received In-Bound Mobile IP Signaling Octet Count Outbound Mobile IP Signaling Octet Count IP Quality of Service (QOS) Airlink Quality of Service (QOS) Airlink Record Type R-P Session ID Airlink Sequence Number Mobile Originated / Mobile Terminated Indicator Roaming Flag Reserved Reserved Accounting Container New Line
CHAR (10)
Times of user receiving Short Data Burst (SDB) octets Times of user sending Short Data Burst (SDB) octets Count of HDLC layer bytes received by PDSN Mobile IP signaling traffic. Count of inbound mobile IP signaling octets received by the user Mobile IP signaling traffic. Count of inbound mobile IP signaling octets sent by the user IP Quality of Service (QoS). Default: BE (best effort) Airlink Quality of Service (QoS) 1=initial connection;2=activate;3=deactivate;4=SDB record R-P Session ID Airlink sequence number
CHAR (10)
CHAR (10)
CHAR (10)
CHAR (10)
42. 43.
44.
CHAR (10)
0=start; 1=stop
\n
2004-03-05
Page 7 of 7