55
D 13887.08
MAY 2008
TANDBERG 3000
MXP
&
6000
MXP
REFERENCE GUIDE FOR SYSTEM INTEGRATORS
XACLI – Status Type Commands – Addressing Status Information
About the TANDBERG API
You address status information by supplying a status-type
command followed by an address-expression (XPath or
TANDBERG SimplePath):
<status-type command> <address expression>
See example 1 a) for an illustration.
If complete path is enabled for the RS 232/Telnet session
(
xpreferences completepath on
), it will look like
example 1 b).
As a second set of examples let us consider a situation
where the user wants to know Audio status for both incoming
and outgoing channels for Call 1. This is shown in examples
2 a) and 2 b).
EXAMPLE 1 a)
Addressing status information, user wants to know callrate of call 1:
xstatus call 1 callrate
*s Call 1 (status=Synced, type=Vtlph, protocol=H323, direction=Outgoing, logTag=3):
CallRate: 768
*s/end
OK
EXAMPLE 1 b)
xpreferences completepath set to on:
xstatus call 1 callrate
*s Call 1 (status=Synced, type=Vtlph, protocol=H323, direction=Outgoing, logTag=3):
*s Call 1 CallRate: 768
OK
EXAMPLE 2 a)
the user wants to know Audio status for both incoming and outgoing channels for Call 1.
xstatus call 1 channels audio
*s Call 1 (status=Synced, type=Vtlph, protocol=H323, direction=Outgoing, logTag=3):
Channels 1 (type=Incoming):
Audio (status=Active):
Protocol: G722
Rate: 64
Channels 2 (type=Outgoing):
Audio (status=Active):
Protocol: G722
Rate: 64
*s/end
OK
EXAMPLE 2 b)
xpreferences completepath set to on:
xstatus call 1 channels audio
*s Call 1 (status=Synced, type=Vtlph, protocol=H323, direction=Outgoing, logTag=3):
*s Call 1 Channels 1 (type=Incoming):
*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 2 (type=Outgoing):
*s Call 1 Channels 2 Audio (status=Active):
*s Call 1 Channels 2 Audio Protocol: G722
*s Call 1 Channels 2 Audio Rate: 64
OK
About Addressing Status Information