Specifications

Table Of Contents
Integrator’s Reference Manual for Polycom HDX Systems
4–340 Polycom, Inc.
waitfor
This command is used within script files or control panel programs to wait for
a specific event before executing the next statement. It causes the API session
to wait until a call being placed either connects or fails, or until system is ready
to place a call (such as after a reboot waiting for the ISDN lines to come up).
Syntax
waitfor <callcomplete|systemready>
Feedback Examples
waitfor callcomplete
returns
waiting for call complete
and returns
call is complete
when the call either connects or fails
waitfor systemready
returns
waiting for system ready
and returns
system is ready
when the system is ready to make a call
Comments
This command can be used to synchronize a remote controller with the system.
The API session echoes the message
“call complete”
when the call connects
or is aborted.
Parameter Description
callcomplete
Causes the API session 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.