USER’S GUIDE
324 CyberSWITCH
Event Report Contents
A CDR event triggers a report which can consist of one or more records. Each record corresponds
to a line in the log file. This alleviates any constraints of having to fit a report in an 80 character
string. Reports are sent to some sort of log device; either a local log file or an offnode syslog server.
Each ISDN connection is assigned a connection Id to uniquely identify the connection on its system.
This connection Id is presented on CDR reports so that all the records of a CDR report have the
same connection Id and can be associated, thereby the Connect and Disconnect reports for a given
connection can be associated by their matching connection Id field.
When multiple systems are logging to a shared, central log server, the combination of NAS name,
Event and Connection Id allows all the records of a report to be processed without ambiguity. (It is
crucial, in this case, that each system Name be set to a unique value; otherwise, it will be impossible
to distinguish the NAS which originated a CDR report).
A multi-channel connection is reported as a set of discrete connections to the same device (that
happen to coincide).
The record format of all CDR reports is consistent, so that all reports have a first record with
identical fields, all reports which have a second record, have identical fields in this record, etc.
The record formats for the four types of records available for event reports are as follows:
Record 1
<NAS Name>< ConnectionId>< Event Type>< 1 OF n>< Remote Device Name>< PORT
s/l/b>
Record 2
<NAS Name><ConnectionId><Event Type>< 2 OF n>< Direction><phone number if
available>
Record 3
<NAS Name><ConnectionId><Event Type>< 3 OF n><Data Rate><Timestamp>
Record 4
<NAS Name><ConnectionId><Event Type><4 OF n><Duration>
The following fields are defined for the CDR Event Reports. The precise meaning of some fields,
timestamp for example, will vary depending upon which report the field is in. These variations are
defined further when the report contents are described.
C
ALLING
D
IRECTION
This indicates which side initiated the connection. Possible values are “IN FROM” and “OUT TO”.
C
ONNECT
T
IME
Refer to “Duration”.
C
ONNECTION
ID
This field is used to correlate all records involving a particular ISDN connection. The field is an
unsigned long hexadecimal integer. It begins at zero when the system is loaded and increments by
one to 0FFFFFFFF hex, at which point it wraps back to zero. This provides for somewhat over four
billion connections before a connection Id is re-used.