Xpreferences itemnumber, Xpreferences xmlstatusfeedback, Xacli – special commands – xpreferences (ii) – TANDBERG 6000MXP User Manual
Page 60

60
D 13887.08
MAY 2008
TANDBERG 3000
MXP
&
6000
MXP
REFERENCE GUIDE FOR SYSTEM INTEGRATORS
XACLI – Special Commands – xpreferences (II)
About the TANDBERG API
xpreferences xmlstatusfeedback
in XML-format instead of the default XACLI status format (or complete path formatting).
EXAMPLE
XACLI-format:
*s Call 1 (status=Synced, type=Vtlph, protocol=H323, direction=Outgoing, logTag=78):
Channels 1 (type=Incoming):
Rate: 768
Audio (status=Active):
Protocol: G722
Rate: 64
*s/end
XML format
xpreferences xmlstatusfeedback
xpreferences itemnumber
element item number. However, XACLI hides the item number for an element
if there only exist one item of the given element.
If xpreferences itemnumber is set to on, XACLI will display item numbers for
all elements. This is to make it easier to parse the information sent from
the codec. By setting “
xpreferences itemnumber on
”, the parser can
always expect an item number to follow an element name.
EXAMPLE:
Reading configurations of Serial Port 1 with xpreferences item-
number is set to
OFF
:
xconfiguration serialport 1
*c xConfiguration SerialPort 1 BaudRate: 9600
*c xConfiguration SerialPort 1 Parity: None
*c xConfiguration SerialPort 1 DataBits: 8
*c xConfiguration SerialPort 1 StopBits: 1
*c xConfiguration SerialPort 1 Mode: Control
OK
EXAMPLE:
Reading configurations of Serial Port 1 with xpreferences item-
number is set to
ON
:
xpreferences itemnumber on
OK
xconfiguration serialport 1
*c xConfiguration SerialPort 1 BaudRate 1: 9600
*c xConfiguration SerialPort 1 Parity 1: None
*c xConfiguration SerialPort 1 DataBits 1: 8
*c xConfiguration SerialPort 1 StopBits 1: 1
*c xConfiguration SerialPort 1 Mode 1: Control
OK
xpreferences itemnumber