Copyright © TANDBERG 2008 Reference Guide Version 3.0 rev 3.0 40
The calls structure contains the following members:
Field Type Comments
uniqueId Integer A unique identifier for this call.
participantOne Struct
participantTwo Struct
Participant identification structures, as defined
in common structures above.
startTime dateTime.iso8601 The start time of the call
endTime dateTime.iso8601 The end time of the call.
voiceCall Boolean True if this is a voice-only call, false for a video
call.
aggregationCall Boolean True if this is an aggregation call, false
otherwise.
encryption String Either all, some or none, depending on the
current encryption state of the media channels
(on the IP side of the call).
ISDN encryption String Either all, some or none, depending on the
current encryption state of the media channels
on the ISDN side of the call.
maxDuration Integer The maximum duration of this call in seconds. If
there is no maximum, this value is 0.
calledNumber String The number originally called, or unknown if this
number is unknown.
The calling and called party are as defined above.
6.4 isdn.ports.query
Returns the current status and the settings of an ISDN port. The device.query call gives the number of ports on
the ISDN gateway.
Parameter Type Comments
port Integer The port number to query. This is zero based,
so if there are four ports, they are numbered 0
to 3.
This function returns the following structure:
Response Type Comments
port Integer The port number.
type String The interface type. One of e1, j1, t1 or
unknown.
mode String The interface mode. One of terminal,
network or unknown.
layer1 Boolean True if layer 1 is up, false otherwise.
layer2 Boolean True if layer 2 is up, false otherwise.
enabled Boolean True if this port has been enabled.
bChannels array of struct Only present if layer2 is up. See below for
definition of the structure.
lowChannel Integer The index of the low channel.
highChannel Integer The index of the high channel.
searchHighLow Boolean True if the search order is high to low, false if