TANDBERG D13639 Benutzerhandbuch

Seite von 84
TANDBERG MPS API 
User Guide 
 
32 
*s/end 
 
xcom disc 
 
*r Result (status=OK): / 
*r/end 
 
OK 
 
NO CARRIER 
*s Call 1 (status=Disconnected, type=NA, protocol=NA, direction=NA): 
*s/end 
 
 
When conditional XPath expressions are used, the system will provide feedback on all elements 
within the address the first time the condition is true. 
 
 
Example 2.23     
      
User wants to monitor call changes only when the call is in Synced state. By registering the 
below expression, the system will not provide feedback on the call before it reaches the Synced 
state. When it first enters the Synced state it will provide status for the complete call. After this, 
the system will only give feedback on elements changing values (provided that the call is still in 
Synced state). 
 
xfeedback register status/call[@status="Synced"] 
 
OK 
 
xcom dial 10.47.15.127 
 
*r Result (status=OK): 
     CallRef: 1 
     LogTag: 5 
*r/end 
 
OK 
 
CONNECT 
*s Call 1 (status=Synced, type=Vtlph, protocol=H323, 
direction=Outgoing): 
     CallRate: 768 
     RemoteNumber: "10.47.15.127" 
     Mute: Off 
     Microphone: Off 
     Duration: 0 
     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):