2N NETSTAR – User Manual
8.
ACCOUNTING DATA
The 2N
NETSTAR PBX records all types of calls unless they are excluded from
accounting by software. A call is recorded whenever it is terminated and/or
successfully transferred to another extension. The outgoing call duration starts after
the last dialled digit and a programmable timeout is subtracted from it. Incoming calls
are billed the moment they are answered by the station.
8.1. Accounting Record Description
An accounting record (sentence) is a string of ASCII characters. Its length is
variable. The first four data have fixed positions only. The record parts are separated
with a ‘-‘.
If an item is not included, its position can be found by the " - " character, which is not
omitted when the item is absent.
Every accounting record starts with a $ to be distinguished from other records included
in one and the same file, e.g. log data.
$nnnnnnnnnn
[:cccccccccc]
-yymmdd-hhmmss-caller-CLIP-P-status-type-called-
CPN-R-t1-t2-T-LCR-Z-cause-
<-|+>pppppppppp[<-|+>qqqqqqqqqq]
8.1.1.
Meaning of Items
nnnnnnnnnn
- represents a unique number of the sentence record consisting of
10 digits (32 bits) and includes the REFERENCE item from the
accounting record. This item is used for record identification and the
pppppppppp item, which is described later, links a daughter sentence
(e.g. a record arisen after call transfer) with its parent sentence.
cccccccccc
- call reference, available from Version 1.30 up, used for linking of multiple
lines that are associated with one call. It is a unique number created
upon call establishing. For example, for a call to a group, N lines of calls
to the group extensions are created, all of them with one and the same
call reference.
V
1.1
29
Summary of Contents for Netstar
Page 1: ......