Xacli – special commands – xfeedback (i), Xacli – special commands – xfeedback, Xfeedback – TANDBERG 6000MXP User Manual
Page 57
![background image](/manuals/212695/57/background.png)
57
D 13887.08
MAY 2008
TANDBERG 3000
MXP
&
6000
MXP
REFERENCE GUIDE FOR SYSTEM INTEGRATORS
XACLI – Special Commands – xfeedback (I)
About the TANDBERG API
The special command
xfeedback
lets the user
register user defined XPath expressions (with pos-
sible exposure options) to monitor changes in the
XML/XACLI data. Whenever there is a change in
one or more elements addressed by a registered
XPath expression, the part of the element struc-
ture containing these changes will be returned.
The system supports a total of 20 registered
expressions, with a total of 15 expressions for one
RS 232/Telnet session.
The xfeedback is a session specific command,
i.e. different RS 232/Telnet session can define
feedback individually.
This also implies that the feedback expressions
must be set each time the control application
connects to the codec, i.e. the control application
should always set the necessary feedback expres-
sions when connecting to the system (or after
system reboot when using RS 232).
About the xfeedback Command
EXAMPLE
xfeedback ?
usage: xfeedback register
or: xfeedback deregister
or: xfeedback list
-
(note: deregistration with index=0 will deregister all registered expressions)
OK
EXAMPLE
User wants to monitor all changes to the Call sta-
tus elements, the Conference status element and
all Configurations:
xfeedback register status/call
OK
xfeedback register status/conference
OK
xfeedback register configuration
OK
EXAMPLE
To list the registered expression the sub-command list should
be used:
xfeedback list
Registered XPath feedback expressions:
*xf 1 status/call
*xf 2 status/conference
*xf 3 configuration
OK
EXAMPLE
User wants to deregister expression 2 in the left example:
xfeedback deregister 2
OK
xfeedback list
Registered XPath feedback expressions:
*xf 1 status/call
*xf 3 configuration
OK
EXAMPLE
User only wants to monitor call state changes. This can be done by adding the double hyphen exposure option (--), after the XPath
expression, status/call:
xfeedback register status/call--
OK
xcommand dial number:558458
*s Call 1 (status=EstablOut, type=Vtlph, protocol=H323, direction=Outgoing, logTag=6):
*s/end
*r Result (status=OK):
CallRef: 1
LogTag: 6
*r/end
OK
*s Call 1 (status=Syncing, type=Vtlph, protocol=H323, direction=Outgoing, logTag=6):
*s/end
CONNECT
*s Call 1 (status=Synced, type=Vtlph, protocol=H323, direction=Outgoing, logTag=6):
*s/end