TANDBERG D13639 Benutzerhandbuch

Seite von 84
TANDBERG MPS API 
User Guide 
 
31 
 
Example 2.21     
       
Exposure options are also supported together with feedback. 
User only wants to monitor call setup progression. 
 
xfeedback register status/call-- 
 
OK 
 
xcom dial 10.47.15.127 
 
*s Call 1 (status=EstablOut, type=Vtlph, protocol=H323, 
direction=Outgoing): 
*s/end 
 
*r Result (status=OK): 
     CallRef: 1 
     LogTag: 3 
*r/end 
 
OK 
 
*s Call 1 (status=Alerting, type=Vtlph, protocol=H323, 
direction=Outgoing): 
*s/end 
CONNECT 
 
*s Call 1 (status=Syncing, type=Vtlph, protocol=H323, 
direction=Outgoing): 
*s/end 
 
*s Call 1 (status=Synced, type=Vtlph, protocol=H323, 
direction=Outgoing): 
*s/end 
 
 
Example 2.22     
       
User only wants to know when calls are connected and disconnected: 
xfeedback register status/call[@status="Synced"]-- 
 
OK 
 
xfeedback register status/call[@status="Disconnected"]-- 
 
OK 
 
xcom dial 10.47.15.127 
 
*r Result (status=OK): 
     CallRef: 1 
     LogTag: 4 
*r/end 
 
OK 
 
CONNECT 
 
*s Call 1 (status=Synced, type=Vtlph, protocol=H323, 
direction=Outgoing):