Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 4

The CDR format of ZXJ10 billing system

Field name Field Size Offset Remark


type
Record type Byte 1 0 1: PSTN/IDD/DDD
2: DBO
3: IN
4: ISDN/CTX
5: TAX
Part record ID Byte 1 1 0: Single record;
1: first part of record;
2: middle part of record;
3: last part of record;
Nature address Byte 1 2 0: Subscriber;
of caller number 1: Idle;
2: valid domestic;
3: international;
Caller number Byte 20 3 BCD, left align, right padded with
0xFF
Nature address Byte 1 23 0: Subscriber;
of called number 1: Idle;
2: valid domestic;
3: international;
Called number Byte 20 24 BCD, left align, right padded with
0xFF
Start time Int 4 44 Unit : secord.
Start ticks Byte 1 48 Unit : 10ms
Service category Byte 1 49 0: CAT_VACANT
1: CAT_OFFICE
2: CAT_LOCAL
3: CAT_RURAL
4: CAT_REGION_IN_MANU
5: CAT_REGION_IN_AUTO
6: CAT_REGION_OUT_MANU
7: CAT_REGION_OUT_AUTO
8: CAT_INTERNATIONAL_MANU
9: CAT_INTERNATIONAL_AUTO
10: CAT_OFFICE_SPS_CHG
11: CAT_OFFICE_SPS_FREE
12: CAT_LOCAL_SPS_CHG
13: CAT_LOCAL_SPS_FREE
14: CAT_SUPPLEMENT
15: CAT_INNER_CTX
16: CAT_INTER_CTX
17: CAT_IN
End time Int 4 50 Unit : second
End ticks Byte 1 54 Unit : ms.
Release reason Byte 1 55 Reason of call termination
0: caller hang up;
1: called hang up;
2: abnormal disconnection;
3: no use;
Caller type Byte 1 56 0A: general subscriber
Record valid ID Bit 1/8(L) 57 0: valid;
1: invalid;
Clock ID Bit 1/8 57.125 0: clock changed during call;
1: clock unchanged during call;
Charge flag Bit 1/8 57.250 0: free;
1: charge;
Attempt call ID Bit 1/8 57.375 0: free attempt call;
1: charge attempt call;
Caller analyse Bit 1/8 57.500 0: take caller number as charge
ID caller number;
1: take called number as charge
caller number;
Called analyse Bit 1/8 57.625 0: take called number as charge
ID called number;
1: take link number as charge called
number;
Reserved Bit 1/4(H) 57.750
Incoming trunk Word 2 58
group
Outgoing trunk Word 2 60
group
Supplement Byte 7 62 7*8 bit field to indicate calling
servicee information of 56 supplement services
Charge party ID Byte 1 69 1: Caller number;
2: Called number;
3: Destination address number;
4: Specified billed number;
Nature address Byte 1 70 0: Subscriber;
of link number 1: Idle;
2: valid domestic;
3: international;
Link number Byte 20 71 BCD, left align, right padded with
0xFF
Fee Int 4 91
Bearer services Byte 1 95 0: Not applicable;
1: Circuit-mode, 64 kbit/s
unrestricted, 8 kHz structured bearer
service category
2: Circuit-mode, 64 kbit/s, 8kHz
structured bearer category for
speech;
3: Circuit-mode, 64 kbit/s, 8kHz
structured bearer category for 3.1
kHz audio;
4: Packet-mode, ISDN Virtual call and
permanent virtual circuit bearer
services provided by the B-Channel of
the user access;
5: User Signalling Bearer Service;
6: not used;
7: Circuit-mode, 2 * 64 kbit/s
unrestricted, 8 kHz structured bearer
service category;
8: Circuit-mode, 384 kbit/s
unrestricted, 8 kHz structured bearer
service category;
9: Circuit-mode, 1536 kbit/s
unrestricted, 8 kHz structured bearer
service category;
10: Circuit-mode, 1920 kbit/s
unrestricted, 8 kHz structured bearer
service category
Terminal Byte 1 96 0: not applicable;
services 1: PSTN service;
2: 2/3 category fax;
3: 4 category fax;
4: intelligent subscriber telegraph;
5: videotex;
6: videophone;
7: subscriber telegraph;
UUS1 Byte 1 97
UUS3 Byte 1 98
Caller special Byte 5 99 BCD, left align, right padded with
number 0xFF
Called special Byte 5 104 BCD, left align, right padded with
number 0xFF
Centrex group ID Word 2 109
Nature address Byte 1 111 0: Subscriber;
of billed number 1: Idle;
2: valid domestic;
3: international;
Billed number Byte 11 112 BCD, left align, right padded with
0xFF
123

You might also like