85
3. RS-232 DATA FORM AND COMMAND
3.1 OUTPUT OF SIMPLE RUNNING ACCOUNT
3.1.1 Description of RS-232 form
Refer to K1 item 52 & 53 and K3 item 20, 25 & 74
0
1
2
3
4
5
6
7
0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789 0123456789
The printing form of simple running account:
$TO:10/08/01 20 21 01 88673740801
0000
08:15:33 00168 00000
Description of RS-232 form:
$ TO: 10/08/01
20 21 01 88673740801
0000
08:15:33
00168 00000
A B
C
E F
G H
I
J
K
D
L
M
A $
1 digit The header of simple running account
B TO/TI:
3 digits
1st digit: T: Trunk; P: PBX1; M: Manager password; B: PBX2
2
nd
digit: O: Outgoing call, I: Incoming call
C 10/08/01 8 digits Billing date YY/MM/DD
D
1 digit
If shows "A", 13
th
-16
th
digit are meant "Account Code". 18
th
-21th digit are meant
the station number of user.
E 20
4 digits Target station; if shows “?” then 14
th
-16
th
digits is physical location
F 21
4 digits Transferred station; if shows “?” then 14
th
-16
th
digits is physical location
G 01
2 digits The usage line number
H
26 digits Telephone number
I
0000
4 digits Account code
J
08:15:33 8 digits Beginning time of billing, format HH:MM:SS
K 000168
5 digits Call duration (count unit: second)
L 00000
5 digits
M
Ending command. 0DH, 0AH, 07H
Eg.: The status is the incoming call receiving data on RS-232 when K3 item 46 is "1"
(default)
1. NoAnser T06-05/25-11:38=73721153 3 Sec
NoAnser: No Answer
T06: the 6
th
trunk line
05/25: Date MM/DD
11:38: Time MM:SS
73721153: Incoming telephone number
3 Sec: ringing 3 seconds
2. L20Anser T06-11/01-08:51=73721153 3 Sec
L20Anser: Extension 20 answered the phone
T06: the 6
th
trunk line
11/01: Date MM/DD
11:38: Time MM:SS
73721153: Incoming telephone number
3 Sec: ringing 3 seconds