Jump to: navigation, search
Line 3: Line 3:
 
==Methods==
 
==Methods==
 
The Voice namespace includes the following methods:
 
The Voice namespace includes the following methods:
* [[VoiceNamespace#|]]
+
* [[VoiceNamespace#dial|dial]]
* [[VoiceNamespace#|]]
+
* [[VoiceNamespace#pauseCallRecording|pauseCallRecording]]
 +
* [[VoiceNamespace#resumeCallRecording|resumeCallRecording]]
 +
* [[VoiceNamespace#startCallRecording|startCallRecording]]
 +
* [[VoiceNamespace#stopCallRecording|stopCallRecording]]
  
 
===dial===
 
===dial===

Revision as of 18:27, July 14, 2015

Voice Namespace

Methods

The Voice namespace includes the following methods:

dial

Signature <static> dial(destination, userData)
Description Calls the destination in the same way Workspace Web Edition calls the destination from Team Communicator. This methods supports caller ID and the routing-based intercommunication features.
Parameters
Name Type Description
destination string The call destination number.
userData object The attached user data key/value object that is updated with each interaction event.

pauseCallRecording

Signature <static> pauseCallRecording(interactionId)
Description Pauses the call recording.
Parameters
Name Type Description
interactionId string The unique identifier for the interaction.

resumeCallRecording

Signature <static> resumeCallRecording(interactionId)
Description Resumes the call recording.
Parameters
Name Type Description
interactionId string The unique identifier for the interaction.

startCallRecording

Signature <static> startCallRecording(interactionId)
Description Starts the call recording.
Parameters
Name Type Description
interactionId string The unique identifier for the interaction.

stopCallRecording

Signature <static> stopCallRecording(interactionId)
Description Stops the call recording.
Parameters
Name Type Description
interactionId string The unique identifier for the interaction.
Comments or questions about this documentation? Contact us for support!