Xacli – status type – complete path formatting – TANDBERG 6000MXP User Manual
Page 53

53
D 13887.08
MAY 2008
TANDBERG 3000
MXP
&
6000
MXP
REFERENCE GUIDE FOR SYSTEM INTEGRATORS
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
*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):
*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
The following should be observed:
Complete Path formatting is recommended for easy
•
parsing
All lines are prefixed with
•
*s
(for status),
*e
(for event),
or
*l
(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: “
xprefer-
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.
XACLI – Status Type Commands – Complete Path Formatting
About the TANDBERG API
About Complete Path 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 Status Type Commands Formatting