Справочник Пользователя для TANDBERG D13639

Скачать
Страница из 84
TANDBERG MPS API 
User Guide 
 
19 
2.1.4 Exposure options 
By adding an exposure option after the address (XPath or SimplePath) expression, the system 
can be instructed to return only parts of the information within an element structure. 
 
<root command> <address expression> <exposure option> 
 
Supported exposure options:  
•  “-“ hides all value elements 
•  “--" hides all sub-elements 
 
 
Example 2.2               
Request for Call 1 element with no exposure option 
 
xstatus call 1 
 
*s Call 1 (status=Synced, type=Vtlph, protocol=H323, 
direction=Outgoing): 
     CallRate: 768 
     RemoteNumber: "10.47.15.127" 
     Mute: Off 
     Microphone: Off 
     Duration: 10 
     Channels 1 (type=Incoming): 
       Rate: 768 
       Restrict: Off 
       Encryption (status=Off): / 
       Audio (status=Active): 
         Protocol: G722 
         Rate: 64 
       Video 1 (status=Active): 
         Protocol: H263 
         Resolution: CIF 
         Rate: 704 
       Video 2 (status=Inactive): / 
       Data (status=Inactive): / 
     Channels 2 (type=Outgoing): 
       Rate: 768 
       Restrict: Off 
       Encryption (status=Off): / 
       Audio (status=Active): 
         Protocol: G722 
         Rate: 64 
       Video 1 (status=Active): 
         Protocol: H263+ 
         Resolution: ICIF 
         Rate: 704 
       Video 2 (status=Inactive): / 
       Data (status=Inactive): / 
*s/end 
 
Request for Call 1 element with exposure option “-“: 
 
xstatus call 1 - 
 
*s Call 1 (status=Synced, type=Vtlph, protocol=H323, 
direction=Outgoing): 
     Channels 1 (type=Incoming): 
       Encryption (status=Off): /