Polycom EX 用户指南

下载
页码 224
ViewStation EX, ViewStation FX, and VS4000 API Guide    
© Polycom, Inc. 2003
169
User Interface Screen Location
Press the Volume UP or DOWN key on the remote control to see the 
audio level slider appear on screen.
waitfor <callcomplete|systemready|
 
receivingcall>
Description
This command is useful within script files (see the run command on 
page 124) to wait for a specific event before executing the next 
statement. This command causes the API shell to wait until a call 
being placed either connects or fails. This command can be used to 
synchronize a remote controller with the system. The API shell 
echoes the message “call complete” when the call connects or is 
aborted. 
callcomplete
Causes the API shell to wait until a call being 
placed either connects or fails.
systemready
Causes the system to return the message “system 
is ready” when the system is ready to make a call.
receivingcall
Causes the API shell to wait until an incoming ring 
is detected and returns the message “waitfor 
receiving call.”
Example
waitfor callcomplete
waitfor