Polycom VIEWSTATION EX User Manual

Page of 224
ViewStation EX, ViewStation FX, and VS4000 API Guide    
© Polycom, Inc. 2003
31
callstate <register|unregister|get>
Description
This command registers the Telnet or RS-232 session to receive 
notifications about call state activities. 
register
Registers the system to give notification of call 
activities.
unregister Disables the register mode.
get
Displays the selected call state mode (register or 
unregister).
Example
callstate register
Output to Example
callstate registered
Acknowledgment that the session is now registered to list call state 
activities.
Sample Output
cs: call[0] chan[0] dialstr[192.168.1.103] state 
[RINGING]
cs: call[0] chan[0] dialstr[192.168.1.103] state 
[RINGING]
cs: call[0] chan[0] dialstr[192.168.1.103] state 
[CONNECTED]
cs: call[0] chan[0] dialstr[192.168.1.103] state 
[COMPLETE]
active: call[0] speed[128]
cleared: call[0] line[0] bchan[0] cause[16]
dialstring[192.168.1.103]
ended: call[0]
callstate