Command
Syntax
callstate
callstate <register|unregister|get>
Where:
• register: Registers the system to
give notification of call activities.
• unregister: Disables the register
mode.
• get: Returns the selected call state
mode (register or unregister).
colorbar
colorbar <on|off>
Where:
• on: Turns on the color bar test
pattern.
• off: Turns off the color bar test
pattern.
© Polycom, Inc.
Description
Registers the API session to
receive notifications about call
state activities.
Turns the video diagnostics
color bars on or off.
User interface screen location:
System > Diagnostics > Video
Chapter 3 - System Commands
Example
callstate
register
returns
callstate
registered
Acknowledgment that
the session is now
registered to list call
state activities.
This is an example of
the callstate data that
may be returned after
registering.
cs: call[0]
chan[0]
dialstr[IP:192.16
8.1.103] state
[RINGING]
cs: call[0]
chan[0]
dialstr[IP:192.16
8.1.103] state
[RINGING]
cs: call[0]
chan[0]
dialstr[IP:192.16
8.1.103] state
[CONNECTED]
cs: call[0]
chan[0]
dialstr[IP:192.16
8.1.103] state
[COMPLETE]
active: call[0]
speed[128]
cleared: call[0]
line[0] bchan[0]
cause[16]
dialstr[IP:192.16
8.1.103]
ended: call[0]
colorbar on
3 - 45