Cisco Cisco TelePresence MCU 4510 Developer's Guide

Page of 223
API reference
Cisco TelePresence MCU API 2.9
Page 26 of 223
Each event in the array contains parameters that are common to all CDR log events and also contains any
infomation that is specific to that type of event. See the
for details of the MCU
event types.
Parameter name
Type
Short description
startIndex
integer
Either the index provided, or if that is lower than the index
of the first record the device has, it will be the first record it
does know about. In this case, comparing the startIndex
with the index provided gives the number of dropped
records.
nextIndex
integer
Revision number of the data being provided, reusable in a
subsequent call to the API.
eventsRemaining
boolean
Whether there is data remaining after this. Provided to
avoid putting all data in a single call.
currentTime
dateTime.
iso8601
The system's current time (UTC).
events(CDR)
array
List of the new events; these are structures with some
common fields (time, type, index) and other fields specific to
the event type.
time (CDR log)
dateTime.
iso8601
The date and time when the event was logged, for
example 20110119T13:52:42.
type (event)
string
The name of the event type.
index (CDR log)
integer
The index of the CDR log message.
cdrlog.query
This call queries for statistics about the CDR log.
This call takes no parameters.
Returned data
Parameter name
Type
Short description
firstIndex
integer
The index of the oldest stored event.
deletableIndex
integer
The log index of the most recent event that was archived
into a log file. The delete command works on whole files, so
you can delete up to the last event that went into a file.
numEvents (CDR log)
integer
The difference between the index numbers of the most
recent record and the oldest record, irrespective of
whether or not the intervening records have been
permanently stored.
percentageCapacity
integer
The percentage of the total available capacity being used
by the log.