Polycom 2457-23216-002 User Manual

Page of 280
Integrator’s Reference Manual for the Polycom RealPresence Group Series  
86
Polycom, Inc.
 
callstate
Sets or gets the call state notification for call state events.
Syntax
callstate <get|register|unregister>
Feedback Examples
callstate register
returns
callstate registered
callstate unregister
returns
callstate unregistered
callstate get
returns
callstate unregistered
After registering, the following callstate (cs:) data is returned when connecting 
an IP call:
cs: call[34] chan[0] dialstr[192.168.1.103] state[ALLOCATED]
cs: call[34] chan[0] dialstr[192.168.1.103] state[RINGING]
cs: call[34] chan[0] dialstr[192.168.1.103] state[COMPLETE]
active: call[34] speed [384]
After registering, the following response occurs when disconnecting an IP call:
cleared: call[34]
dialstr[IP:192.168.1.103 NAME:Polycom Group Series Demo]
ended: call[34]
See Also
You can also use the 
 and the 
 for notifications.
Parameter
Description
get
Returns the current setting.
register
Registers the system to give notification of call 
activities.
unregister
Disables the register mode.