Jump to: navigation, search
 
Line 1: Line 1:
= Voice Namespace=
+
 
 +
=Voice Namespace=
 
__TOC__
 
__TOC__
 
==Methods==
 
==Methods==
Line 22: Line 23:
 
===answer===
 
===answer===
  
{{Chgbar_open}}
 
 
{|
 
{|
! Signature
 
| <static> answer('interactionId')
 
 
|-
 
|-
! Description
+
!|Signature
| Answers the incoming call.
+
|| answer('interactionId')
 +
|-
 +
!|Description
 +
||Answers the incoming call.
 
|-
 
|-
! Parameters
+
!|Parameters
|
+
||
 
{|
 
{|
! Name
 
! Type
 
! Argument
 
! Description
 
 
|-
 
|-
| interaction
+
!|Name
| string
+
!|Type
|
+
!|Argument
| The interaction identifier
+
!|Description
 +
|-
 +
||interaction
 +
||string
 +
|
 +
 
 +
||The interaction identifier
 
|}
 
|}
 
|}
 
|}
  
{{Chgbar_close}}
 
 
===dial===
 
===dial===
 +
{|! Signature|  dial(''destination'', ''userData'')! Description| Calls the destination in the same way Workspace Web Edition calls the destination from Team Communicator.! Parameters|
 
{|
 
{|
! Signature
 
| <static> dial(''destination'', ''userData'')
 
 
|-
 
|-
! Description
+
!|Name
| Calls the destination in the same way Workspace Web Edition calls the destination from Team Communicator.
+
!|Type
 +
!|Argument
 +
!|Description
 
|-
 
|-
! Parameters
+
||destination
|
+
||string
{|
+
|
! Name
+
 
! Type
+
||The call destination number.
! Argument
 
! Description
 
 
|-
 
|-
| destination
+
||userData
| string
+
||object
|
+
|| 
| The call destination number.
+
 
|-
+
||The attached user data key/value object that is updated with each interaction event.
| userData
 
| object
 
| <optional>
 
| The attached user data key/value object that is updated with each interaction event.
 
|}
 
 
|}
 
|}
 +
 
===hangUp===
 
===hangUp===
  
{{Chgbar_open}}
 
 
{|
 
{|
! Signature
 
| <static> hangUp('interactionId')
 
 
|-
 
|-
! Description
+
!|Signature
| Releases the incoming call.
+
|| hangUp('interactionId')
 +
|-
 +
!|Description
 +
||Releases the incoming call.
 
|-
 
|-
! Parameters
+
!|Parameters
|
+
||
 
{|
 
{|
! Name
 
! Type
 
! Argument
 
! Description
 
 
|-
 
|-
| interaction
+
!|Name
| string
+
!|Type
|
+
!|Argument
| The interaction identifier
+
!|Description
 +
|-
 +
||interaction
 +
||string
 +
|
 +
 
 +
||The interaction identifier
 
|}
 
|}
 
|}
 
|}
{{Chgbar_close}}
+
 
  
 
===hold===
 
===hold===
  
{{Chgbar_open}}
 
 
{|
 
{|
! Signature
 
| <static> hold('interactionId')
 
 
|-
 
|-
! Description
+
!|Signature
| Holds the incoming call.
+
|| hold('interactionId')
 
|-
 
|-
! Parameters
+
!|Description
|
+
||Holds the incoming call.
 +
|-
 +
!|Parameters
 +
||
 
{|
 
{|
! Name
 
! Type
 
! Argument
 
! Description
 
 
|-
 
|-
| interaction
+
!|Name
| string
+
!|Type
|
+
!|Argument
| The interaction identifier
+
!|Description
 +
|-
 +
||interaction
 +
||string
 +
|
 +
 
 +
||The interaction identifier
 
|}
 
|}
 
|}
 
|}
{{Chgbar_close}}
+
 
  
 
===resume===
 
===resume===
  
{{Chgbar_open}}
 
 
{|
 
{|
! Signature
 
| <static> resume('interactionId')
 
 
|-
 
|-
! Description
+
!|Signature
| Resumes the held call.  
+
|| resume('interactionId')
 +
|-
 +
!|Description
 +
||Resumes the held call.
 
|-
 
|-
! Parameters
+
!|Parameters
|
+
||
 
{|
 
{|
! Name
 
! Type
 
! Argument
 
! Description
 
 
|-
 
|-
| interaction
+
!|Name
| string
+
!|Type
|
+
!|Argument
| The interaction identifier
+
!|Description
 +
|-
 +
||interaction
 +
||string
 +
|
 +
 
 +
||The interaction identifier
 
|}
 
|}
 
|}
 
|}
{{Chgbar_close}}
+
 
  
  
 
===pauseCallRecording===
 
===pauseCallRecording===
 +
{|! Signature|  pauseCallRecording(''interactionId'')! Description| Pauses the call recording.! Parameters|
 
{|
 
{|
! Signature
 
| <static> pauseCallRecording(''interactionId'')
 
|-
 
! Description
 
| Pauses the call recording.
 
 
|-
 
|-
! Parameters
+
!|Name
|
+
!|Type
{|
+
!|Description
! Name
 
! Type
 
! Description
 
 
|-
 
|-
| interactionId
+
||interactionId
| string
+
||string
| The unique identifier for the interaction.
+
||The unique identifier for the interaction.
|}
 
 
|}
 
|}
 +
  
 
===resumeCallRecording===
 
===resumeCallRecording===
 +
{|! Signature|  resumeCallRecording(''interactionId'')! Description| Resumes the call recording.! Parameters|
 
{|
 
{|
! Signature
 
| <static> resumeCallRecording(''interactionId'')
 
|-
 
! Description
 
| Resumes the call recording.
 
 
|-
 
|-
! Parameters
+
!|Name
|
+
!|Type
{|
+
!|Description
! Name
 
! Type
 
! Description
 
 
|-
 
|-
| interactionId
+
||interactionId
| string
+
||string
| The unique identifier for the interaction.
+
||The unique identifier for the interaction.
|}
 
 
|}
 
|}
 +
  
 
===startCallRecording===
 
===startCallRecording===
 +
{|! Signature|  startCallRecording(''interactionId'')! Description| Starts the call recording.! Parameters|
 
{|
 
{|
! Signature
 
| <static> startCallRecording(''interactionId'')
 
 
|-
 
|-
! Description
+
!|Name
| Starts the call recording.
+
!|Type
 +
!|Description
 
|-
 
|-
! Parameters
+
||interactionId
|
+
||string
{|
+
||The unique identifier for the interaction.
! Name
 
! Type
 
! Description
 
|-
 
| interactionId
 
| string
 
| The unique identifier for the interaction.
 
|}
 
 
|}
 
|}
 +
  
 
===stopCallRecording===
 
===stopCallRecording===
 +
{|! Signature|  stopCallRecording(''interactionId'')! Description| Stops the call recording.! Parameters|
 
{|
 
{|
! Signature
 
| <static> stopCallRecording(''interactionId'')
 
|-
 
! Description
 
| Stops the call recording.
 
 
|-
 
|-
! Parameters
+
!|Name
|
+
!|Type
{|
+
!|Description
! Name
 
! Type
 
! Description
 
 
|-
 
|-
| interactionId
+
||interactionId
| string
+
||string
| The unique identifier for the interaction.
+
||The unique identifier for the interaction.
|}
 
 
|}
 
|}
 +
  
 
===isMicrophoneMute===
 
===isMicrophoneMute===
  
{{Chgbar_open}}
 
 
{|
 
{|
! Signature
 
| <static> isMicrophoneMute()
 
 
|-
 
|-
! Description
+
!|Signature
| Get the mute state of the microphone of the SIP Endpoint.
+
|| isMicrophoneMute()
 
|-
 
|-
! Parameters
+
!|Description
| None.
+
||Get the mute state of the microphone of the SIP Endpoint.
 +
|-
 +
!|Parameters
 +
||None.
 
|}
 
|}
{{Chgbar_close}}
+
 
  
 
===muteMicrophone===
 
===muteMicrophone===
  
{{Chgbar_open}}
 
 
{|
 
{|
! Signature
 
| <static> muteMicrophone()
 
 
|-
 
|-
! Description
+
!|Signature
| Mute the microphone of the SIP Endpoint.  
+
|| muteMicrophone()
 +
|-
 +
!|Description
 +
||Mute the microphone of the SIP Endpoint.
 
|-
 
|-
! Parameters
+
!|Parameters
| None.
+
||None.
 
|}
 
|}
{{Chgbar_close}}
+
 
  
 
===unmuteMicrophone===
 
===unmuteMicrophone===
  
{{Chgbar_open}}
 
 
{|
 
{|
! Signature
 
| <static> unmuteMicrophone())
 
 
|-
 
|-
! Description
+
!|Signature
| Unmute the microphone of the SIP Endpoint.
+
|| unmuteMicrophone())
 
|-
 
|-
! Parameters
+
!|Description
| None.
+
||Unmute the microphone of the SIP Endpoint.
 +
|-
 +
!|Parameters
 +
||None.
 
|}
 
|}
{{Chgbar_close}}
+
 
  
 
===isSpeakerMute===
 
===isSpeakerMute===
  
{{Chgbar_open}}
 
 
{|
 
{|
! Signature
 
| <static> isSpeakerMute()
 
 
|-
 
|-
! Description
+
!|Signature
| Get the mute state of the speaker of the SIP Endpoint.  
+
|| isSpeakerMute()
 +
|-
 +
!|Description
 +
||Get the mute state of the speaker of the SIP Endpoint.
 
|-
 
|-
! Parameters
+
!|Parameters
| None.
+
||None.
 
|}
 
|}
{{Chgbar_close}}
+
 
  
 
===muteSpeaker===
 
===muteSpeaker===
  
{{Chgbar_open}}
 
 
{|
 
{|
! Signature
 
| <static> muteSpeaker()
 
 
|-
 
|-
! Description
+
!|Signature
| Mute the speaker of the SIP Endpoint.  
+
|| muteSpeaker()
 +
|-
 +
!|Description
 +
||Mute the speaker of the SIP Endpoint.
 
|-
 
|-
! Parameters
+
!|Parameters
| None.
+
||None.
 
|}
 
|}
{{Chgbar_close}}
+
 
  
 
===unmuteSpeaker===
 
===unmuteSpeaker===
  
{{Chgbar_open}}
 
 
{|
 
{|
! Signature
 
| <static> unmuteSpeaker())
 
 
|-
 
|-
! Description
+
!|Signature
| Unmute the speaker of the SIP Endpoint.
+
|| unmuteSpeaker())
 
|-
 
|-
! Parameters
+
!|Description
| None.
+
||Unmute the speaker of the SIP Endpoint.
 +
|-
 +
!|Parameters
 +
||None.
 
|}
 
|}
{{Chgbar_close}}
+
 
  
 
[[Category:V:HTCC:8.5.2DRAFT]]
 
[[Category:V:HTCC:8.5.2DRAFT]]

Latest revision as of 15:48, February 23, 2018

Voice Namespace

Methods

The Voice namespace includes the following methods:


answer

Signature answer('interactionId')
Description Answers the incoming call.
Parameters
Name Type Argument Description
interaction string   The interaction identifier

dial

Name Type Argument Description
destination string   The call destination number.
userData object   The attached user data key/value object that is updated with each interaction event.

hangUp

Signature hangUp('interactionId')
Description Releases the incoming call.
Parameters
Name Type Argument Description
interaction string   The interaction identifier


hold

Signature hold('interactionId')
Description Holds the incoming call.
Parameters
Name Type Argument Description
interaction string   The interaction identifier


resume

Signature resume('interactionId')
Description Resumes the held call.
Parameters
Name Type Argument Description
interaction string   The interaction identifier


pauseCallRecording

Name Type Description
interactionId string The unique identifier for the interaction.


resumeCallRecording

Name Type Description
interactionId string The unique identifier for the interaction.


startCallRecording

Name Type Description
interactionId string The unique identifier for the interaction.


stopCallRecording

Name Type Description
interactionId string The unique identifier for the interaction.


isMicrophoneMute

Signature isMicrophoneMute()
Description Get the mute state of the microphone of the SIP Endpoint.
Parameters None.


muteMicrophone

Signature muteMicrophone()
Description Mute the microphone of the SIP Endpoint.
Parameters None.


unmuteMicrophone

Signature unmuteMicrophone())
Description Unmute the microphone of the SIP Endpoint.
Parameters None.


isSpeakerMute

Signature isSpeakerMute()
Description Get the mute state of the speaker of the SIP Endpoint.
Parameters None.


muteSpeaker

Signature muteSpeaker()
Description Mute the speaker of the SIP Endpoint.
Parameters None.


unmuteSpeaker

Signature unmuteSpeaker())
Description Unmute the speaker of the SIP Endpoint.
Parameters None.
This page was last edited on February 23, 2018, at 15:48.
Comments or questions about this documentation? Contact us for support!