Mobile-to-land telephone interconnect calls, Calculating the number of bytes in a cdr, Cdr field descriptions – Ericsson LBI-38965B User Manual
Page 40
LBI-38965
EDACS BILLING FORMAT
A-4
5.3. MOBILE-TO-LAND TELEPHONE INTERCONNECT CALLS
A CDR for a mobile-to-land telephone interconnect call will have an additional field beginning at byte offset 70. This
field contains the digits dialed by the caller. A mobile-to-land call never involves multiple sites, so the PSTN Telephone
Number field is never combined with the Additional Site fields described in the preceding section.
14. PSTN Telephone No.
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
..
101
Figure A.3 - Call Detail Record, PSTN Telephone Number Field
5.4. CALCULATING THE NUMBER OF BYTES IN A CDR
Note that the final linefeed character which terminates the record is not shown in these diagrams. The actual number
of bytes in a CDR is calculated by adding 2 to the offset of the final byte. For example, a group call involving 4 sites
contains 3 additional site fields, beginning at offset 70 and ending at offset 93 (from the formulae above). The actual length
of the record, including the linefeed character, is thus 95 bytes.
5.5. CDR FIELD DESCRIPTIONS
Table A.1 contains detailed descriptions of each of the CDR fields.
Table A.1 - Call Detail Record Field Descriptions
No.
Name
Size
Format
Range/Values
Description
1.
Record Type
2
Hex
00 - FF
Defines the type of record.
00 = Mobile to Mobile
01 = Mobile to Land Interconnect
02 = Illegal
03 = Land to Mobile Interconnect
04 = Data
05- FF = Reserved
2.
a.
b.
Node ID No.
System
Node
4
2
2
Hex
Hex
00 - FF
00 - FF
Unique identification number for the EDACS node where the call
activity in this CDR occurred. User configurable.
System ID Number (Multiple nodes)
Node ID Number (Multiple sites)
3.
Record ID No.
4
Radix-64
Unique identifier for the Call Detail Record.
4.
a.
b.
c.
Start Date
Year
Month
Day
8
4
2
2
Decimal
Decimal
Decimal
1970-2038
01 - 12
01 - 31
The date when the call was initiated.
5.
a.
b.
c.
Start Time
Hour
Minute
Second
6
2
2
2
Decimal
Decimal
Decimal
00 - 23
00 - 59
00 - 59
The time of day when the call was initiated. Hours are in military
format.
6.
Call Type
2
Hex
00 - FF (See
Table A.2)
The type of call as defined in Table A.2. Indicates whether call is
group or individual, whether to bill the caller or the callee, etc.
7.
Caller ID No.
10
Decimal
0000000000 -
9999999999
For Record Types 00 and 01, this field contains the Logical ID (LID)
of the caller. For Record Type 03, the field contains the
Interconnect Line number.
8.
Callee ID No.
10
Decimal
0000000000 -
9999999999
For Record Types 00 and 03, this field contains the Logical ID (LID)
of an individual callee, or the Group ID (GID) of a call group. (The
Call Type field indicates individual or group call.) For Record Type
01, the field contains the Interconnect Line number.
9.
Elapsed Time
4
Hex
0000 - FFFF
The duration of the call in seconds
10.
Accumulated Air
Time
5
Hex
00000 - FFFFF
The number of seconds of actual air time used on all sites on the
local node for this call. Does not include air time on site 32 which is
a remote node.
11.
No. of Channel
Assignments
5
Hex
00000 - FFFFF
The number of times a channel assignment occurred on a site within
the local node for this call.
12.
Number of Sites
2
Decimal
01 - 32
The number of sites on the local node which participated in this call.