About the TANDBERG API
XACLI – Status Type Commands – Complete Path Formatting
About Status Type Commands Formatting
XACLI supports three different formattings for status
information:
•
Default XACLI formatting, provides good human
readability, compact format. However, a custom parser
must be used
•
Complete Path formatting. Recommended when parsing
the information line by line.
•
XML formatting – to be used when using an XML-parser.
About Complete Path formatting
The following should be observed:
•
Complete Path formatting is recommended for easy
parsing
*s
•
All lines are prefixed with
(for status),
*l
or
(for historylog)
•
The complete path to an element is supplied on all lines
•
The parser can work line by line
•
Root-element end is designated by a *s/end (*e/end or
*l/end respectively).
NOTE!
Complete Path formatting is enabled by:
ences completepath
on", described later in this section of
the User Guide.
NOTE!
the xpreferences is a session specific command and
must be issued every time the control application connects
to the codec.
D 13887.08
MAY 2008
EXAMPLE
xpreferences completepath on
OK
xstatus call 1
*s Call 1 (status=Synced, type=Vtlph, protocol=H323, direction=Outgoing, logTag=2):
*s Call 1 CallRate: 768
*s Call 1 RemoteNumber: "558458"
*s Call 1 Mute: Off
*s Call 1 Microphone: Off
*s Call 1 Duration: 527
*s Call 1 MuteOutgoing: Off
*s Call 1 Channels 1 (type=Incoming):
*s Call 1 Channels 1 Rate: 768
*s Call 1 Channels 1 Restrict: Off
*s Call 1 Channels 1 Encryption (status=Off): /
*s Call 1 Channels 1 Audio (status=Active):
*s Call 1 Channels 1 Audio Protocol: G722
*s Call 1 Channels 1 Audio Rate: 64
*s Call 1 Channels 1 Video 1 (status=Active):
*s Call 1 Channels 1 Video 1 Protocol: H264
*s Call 1 Channels 1 Video 1 Resolution: CIF
*e
(for event),
*s Call 1 Channels 1 Video 1 Rate: 704
*s Call 1 Channels 1 Video 2 (status=Inactive): /
*s Call 1 Channels 1 Data (status=Inactive): /
*s Call 1 Channels 2 (type=Outgoing):
*s Call 1 Channels 2 Rate: 768
*s Call 1 Channels 2 Restrict: Off
*s Call 1 Channels 2 Encryption (status=Off): /
*s Call 1 Channels 2 Audio (status=Active):
"xprefer-
*s Call 1 Channels 2 Audio Protocol: G722
*s Call 1 Channels 2 Audio Rate: 64
*s Call 1 Channels 2 Video 1 (status=Active):
*s Call 1 Channels 2 Video 1 Protocol: H264
*s Call 1 Channels 2 Video 1 Resolution: CIF
*s Call 1 Channels 2 Video 1 Rate: 704
*s Call 1 Channels 2 Video 2 (status=Inactive): /
*s Call 1 Channels 2 Data (status=Inactive): /
*s/end
OK
53
TANDBERG 3000
MXP
& 6000
REFERENCE GUIDE FOR SYSTEM INTEGRATORS
MXP