Polycom EX Guía Del Software

Descargar
Página de 300
System Commands
© Polycom, Inc.
229
waitfor
Description
This command is used within script files to wait for a specific event before 
executing the next statement. (See the command 
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. 
Syntax
waitfor <callcomplete|systemready|receivingcall>
Example
waitfor callcomplete
Parameter
Definition
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 “wait for receiving 
call.”