Jump to: navigation, search
(dial)
(HTCC-29218)
Line 3: Line 3:
 
==Methods==
 
==Methods==
 
The Voice namespace includes the following methods:
 
The Voice namespace includes the following methods:
 +
* [[VoiceNamespace#answer|answer]]
 
* [[VoiceNamespace#dial|dial]]
 
* [[VoiceNamespace#dial|dial]]
 +
* [[VoiceNamespace#hangUp|hangUp]]
 +
* [[VoiceNamespace#hold|hold]]
 +
* [[VoiceNamespace#resume|resume]]
 
* [[VoiceNamespace#pauseCallRecording|pauseCallRecording]]
 
* [[VoiceNamespace#pauseCallRecording|pauseCallRecording]]
 
* [[VoiceNamespace#resumeCallRecording|resumeCallRecording]]
 
* [[VoiceNamespace#resumeCallRecording|resumeCallRecording]]
Line 9: Line 13:
 
* [[VoiceNamespace#stopCallRecording|stopCallRecording]]
 
* [[VoiceNamespace#stopCallRecording|stopCallRecording]]
  
 +
 +
===answer===
 +
 +
{{Chgbar_open}}
 +
{|
 +
! Signature
 +
| <static> answer('interactionId')
 +
|-
 +
! Description
 +
| Answers the incoming call. This methods supports caller ID and the [[Documentation:HTCC:IWWDep:Intercommunication|routing-based intercommunication features]].
 +
|-
 +
! Parameters
 +
|
 +
{|
 +
! Name
 +
! Type
 +
! Argument
 +
! Description
 +
|-
 +
| interaction
 +
| string
 +
|
 +
| The interaction identifier
 +
|}
 +
|}
 +
 +
{{Chgbar_close}}
 
===dial===
 
===dial===
 
{|
 
{|
Line 36: Line 67:
 
|}
 
|}
 
|}
 
|}
 +
===hangUp===
 +
 +
{{Chgbar_open}}
 +
{|
 +
! Signature
 +
| <static> hangUp('interactionId')
 +
|-
 +
! Description
 +
| Releases the incoming call. This methods supports caller ID and the [[Documentation:HTCC:IWWDep:Intercommunication|routing-based intercommunication features]].
 +
|-
 +
! Parameters
 +
|
 +
{|
 +
! Name
 +
! Type
 +
! Argument
 +
! Description
 +
|-
 +
| interaction
 +
| string
 +
|
 +
| The interaction identifier
 +
|}
 +
|}
 +
{{Chgbar_close}}
 +
 +
===hold===
 +
 +
{{Chgbar_open}}
 +
{|
 +
! Signature
 +
| <static> hold('interactionId')
 +
|-
 +
! Description
 +
| Holds the incoming call. This methods supports caller ID and the [[Documentation:HTCC:IWWDep:Intercommunication|routing-based intercommunication features]].
 +
|-
 +
! Parameters
 +
|
 +
{|
 +
! Name
 +
! Type
 +
! Argument
 +
! Description
 +
|-
 +
| interaction
 +
| string
 +
|
 +
| The interaction identifier
 +
|}
 +
|}
 +
{{Chgbar_close}}
 +
 +
===resume===
 +
 +
{{Chgbar_open}}
 +
{|
 +
! Signature
 +
| <static> resume('interactionId')
 +
|-
 +
! Description
 +
| Resumes the held call. This methods supports caller ID and the [[Documentation:HTCC:IWWDep:Intercommunication|routing-based intercommunication features]].
 +
|-
 +
! Parameters
 +
|
 +
{|
 +
! Name
 +
! Type
 +
! Argument
 +
! Description
 +
|-
 +
| interaction
 +
| string
 +
|
 +
| The interaction identifier
 +
|}
 +
|}
 +
{{Chgbar_close}}
 +
  
 
===pauseCallRecording===
 
===pauseCallRecording===

Revision as of 08:14, February 5, 2018

Voice Namespace

Methods

The Voice namespace includes the following methods:


answer

Signature <static> answer('interactionId')
Description Answers the incoming call. This methods supports caller ID and the routing-based intercommunication features.
Parameters
Name Type Argument Description
interaction string The interaction identifier

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 Argument Description
destination string The call destination number.
userData object <optional> The attached user data key/value object that is updated with each interaction event.

hangUp

Signature <static> hangUp('interactionId')
Description Releases the incoming call. This methods supports caller ID and the routing-based intercommunication features.
Parameters
Name Type Argument Description
interaction string The interaction identifier

hold

Signature <static> hold('interactionId')
Description Holds the incoming call. This methods supports caller ID and the routing-based intercommunication features.
Parameters
Name Type Argument Description
interaction string The interaction identifier

resume

Signature <static> resume('interactionId')
Description Resumes the held call. This methods supports caller ID and the routing-based intercommunication features.
Parameters
Name Type Argument Description
interaction string The interaction identifier


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!