12.07.2015 Views

Integrator's Reference Manual for Polycom HDX ... - 1 PC Network Inc

Integrator's Reference Manual for Polycom HDX ... - 1 PC Network Inc

Integrator's Reference Manual for Polycom HDX ... - 1 PC Network Inc

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Integrator’s <strong>Reference</strong> <strong>Manual</strong> <strong>for</strong> <strong>Polycom</strong> <strong>HDX</strong> SystemscallstateSets or gets the call state notification <strong>for</strong> call state events.Syntaxcallstate ParametergetregisterunregisterDescriptionReturns the current setting.Registers the system to give notification of callactivities.Disables the register mode.Feedback ExamplesKey off of “cs:”• callstate register• returnscallstate registeredacknowledging that the session is now registered to list call state activities.• callstate unregisterreturnscallstate unregisteredThe following is an example of callstate data returned after registering.cs: call[0] chan[0] dialstr[IP:192.168.1.103] state [RINGING]cs: call[0] chan[0] dialstr[IP:192.168.1.103] state [RINGING]cs: call[0] chan[0] dialstr[IP:192.168.1.103] state [CONNECTED]cs: call[0] chan[0] dialstr[IP:192.168.1.103] state [COMPLETE]active: call[0] speed[128]cleared: call[0] line[0] bchan[0] cause[16]dialstr[IP:192.168.1.103]ended: call[0]See Also<strong>Polycom</strong> recommends using the notify command on page 4-165 andnonotify command on page 4-164 instead of callstate register andcallstate unregister as those notifications are easy to parse.For more in<strong>for</strong>mation about call status messages, refer to Appendix C, StatusMessages.4 - 30

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!