Xpreferences Xmlstatusfeedback; Xpreferences Itemnumber - TANDBERG Codec 3000 MXP Reference Manual

Guide for system integrators
Table of Contents

Advertisement

About the TANDBERG API
XACLI – Special Commands – xpreferences (II)
xpreferences xmlstatusfeedback <on/off>
If xmlstatusfeedback is set to on, all status feedback will be returned
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
<Status>
<Call item="1" status="Synced" type="Vtlph" protocol="H323" direction="Outgoing" logtag="78">
<Channels item="1" type="Incoming">
<Rate item="1">768</Rate>
<Audio item="1" status="Active">
<Protocol item="1">G722</Protocol>
<Rate item="1">64</Rate>
</Audio>
</Channels>
</Call>
</Status>
D 13887.08
MAY 2008

xpreferences xmlstatusfeedback

xpreferences itemnumber <on/off>
All Status and Configuration elements consist of an element name and an
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
always expect an item number to follow an element name.
Reading configurations of Serial Port 1 with xpreferences item-
EXAMPLE:
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
Reading configurations of Serial Port 1 with xpreferences item-
EXAMPLE:
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
60
TANDBERG 3000
REFERENCE GUIDE FOR SYSTEM INTEGRATORS

xpreferences itemnumber

"xpreferences itemnumber
on", the parser can
MXP
& 6000
MXP

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Codec 6000 mxp

Table of Contents