TANDBERG D13639 Manuel D’Utilisation

Page de 84
TANDBERG MPS API 
User Guide 
 
21 
2.2 The Status-type root commands 
– xstatus / xhistory 
 
 
The information accessible through these commands is the exact same information that is 
available in the corresponding XML documents. 
 
To get an overview of accessible top-level elements within a status-type root command, type ? 
or help after the status-type root command. 
 
 
Example 2.3               
 
xstatus ? 
 
 - Status - 
 
 Call [1..188]              MediaBoard [1..12] 
 Conference [1..40]         NTP 
 Ethernet                   Options 
 ExternalManager            SerialInterfaceCard [1..6] 
 Feedback [1..3]            SIP 
 GatewayCall [1..80]        SystemActivity 
 H323Gatekeeper             SystemClock 
 IP                         SystemLoad 
 ISDNInterfaceCard [1..6]   SystemUnit 
 
OK 
 
 
 
To access status-type data, simply type the status-type root command (xstatus or xhistory) and 
then an XPath address expression or a TANDBERG SimplePath expression: 
 
<status-type root command> <address expression> 
 
 
Example 2.4
    
 
         
  
xstatus call 1 remotenumber 
 
*s Call 1 (status=Synced, type=Vtlph, protocol=H323, 
direction=Outgoing): 
     RemoteNumber: "10.47.15.127" 
*s/end 
 
OK 
 
2.2.1 Format 
Status information is presented by a mark-up notation, similar to XML. 
Main differences: 
o
  all braces are removed in the XACLI format 
o
  XACLI is not using end-tags, except for a tag to mark end of top element