Jump to: navigation, search
(HTCC-29218)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Voice Namespace=
+
 
 +
=Voice Namespace=
 
__TOC__
 
__TOC__
 
==Methods==
 
==Methods==
Line 12: Line 13:
 
* [[VoiceNamespace#startCallRecording|startCallRecording]]
 
* [[VoiceNamespace#startCallRecording|startCallRecording]]
 
* [[VoiceNamespace#stopCallRecording|stopCallRecording]]
 
* [[VoiceNamespace#stopCallRecording|stopCallRecording]]
 +
* [[VoiceNamespace#isMicrophoneMute|isMicrophoneMute]]
 +
* [[VoiceNamespace#muteMicrophone|muteMicrophone]]
 +
* [[VoiceNamespace#unmuteMicrophone|unmuteMicrophone]]
 +
* [[VoiceNamespace#isSpeakerMute|isSpeakerMute]]
 +
* [[VoiceNamespace#muteSpeaker|muteSpeaker]]
 +
* [[VoiceNamespace#unmuteSpeaker|unmuteSpeaker]]
  
  
 
===answer===
 
===answer===
  
{{Chgbar_open}}
 
 
{|
 
{|
! Signature
 
| <static> answer('interactionId')
 
 
|-
 
|-
! Description
+
!|Signature
| Answers the incoming call. This methods supports caller ID and the [[Documentation:HTCC:IWWDep:Intercommunication|routing-based intercommunication features]].
+
|| answer('interactionId')
 
|-
 
|-
! Parameters
+
!|Description
|
+
||Answers the incoming call.
 +
|-
 +
!|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. This methods supports caller ID and the [[Documentation:HTCC:IWWDep:Intercommunication|routing-based intercommunication features]].
+
!|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. This methods supports caller ID and the [[Documentation:HTCC:IWWDep:Intercommunication|routing-based intercommunication features]].
+
|| hangUp('interactionId')
 
|-
 
|-
! Parameters
+
!|Description
|
+
||Releases the incoming call.
 +
|-
 +
!|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. This methods supports caller ID and the [[Documentation:HTCC:IWWDep:Intercommunication|routing-based intercommunication features]].
+
|| 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. This methods supports caller ID and the [[Documentation:HTCC:IWWDep:Intercommunication|routing-based intercommunication features]].
+
|| 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
+
!|Name
| Pauses the call recording.
+
!|Type
 +
!|Description
 
|-
 
|-
! Parameters
+
||interactionId
|
+
||string
 +
||The unique identifier for the interaction.
 +
|}
 +
 
 +
 
 +
===resumeCallRecording===
 +
{|! Signature|  resumeCallRecording(''interactionId'')! Description| Resumes the call recording.! Parameters|
 
{|
 
{|
! Name
 
! Type
 
! Description
 
 
|-
 
|-
| interactionId
+
!|Name
| string
+
!|Type
| The unique identifier for the interaction.
+
!|Description
 +
|-
 +
||interactionId
 +
||string
 +
||The unique identifier for the interaction.
 
|}
 
|}
 +
 +
 +
===startCallRecording===
 +
{|! Signature|  startCallRecording(''interactionId'')! Description| Starts the call recording.! Parameters|
 +
{|
 +
|-
 +
!|Name
 +
!|Type
 +
!|Description
 +
|-
 +
||interactionId
 +
||string
 +
||The unique identifier for the interaction.
 
|}
 
|}
  
===resumeCallRecording===
+
 
 +
===stopCallRecording===
 +
{|! Signature|  stopCallRecording(''interactionId'')! Description| Stops the call recording.! Parameters|
 
{|
 
{|
! Signature
 
| <static> resumeCallRecording(''interactionId'')
 
 
|-
 
|-
! Description
+
!|Name
| Resumes the call recording.
+
!|Type
 +
!|Description
 
|-
 
|-
! Parameters
+
||interactionId
|
+
||string
 +
||The unique identifier for the interaction.
 +
|}
 +
 
 +
 
 +
===isMicrophoneMute===
 +
 
 
{|
 
{|
! Name
 
! Type
 
! Description
 
 
|-
 
|-
| interactionId
+
!|Signature
| string
+
|| isMicrophoneMute()
| The unique identifier for the interaction.
+
|-
 +
!|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.
 
|}
 
|}
  
===startCallRecording===
+
 
 +
===unmuteMicrophone===
 +
 
 
{|
 
{|
! Signature
 
| <static> startCallRecording(''interactionId'')
 
 
|-
 
|-
! Description
+
!|Signature
| Starts the call recording.
+
|| unmuteMicrophone())
 +
|-
 +
!|Description
 +
||Unmute the microphone of the SIP Endpoint.
 
|-
 
|-
! Parameters
+
!|Parameters
|
+
||None.
 +
|}
 +
 
 +
 
 +
===isSpeakerMute===
 +
 
 
{|
 
{|
! Name
 
! Type
 
! Description
 
 
|-
 
|-
| interactionId
+
!|Signature
| string
+
|| isSpeakerMute()
| The unique identifier for the interaction.
+
|-
 +
!|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.
 
|}
 
|}
  
===stopCallRecording===
+
 
 +
===unmuteSpeaker===
 +
 
 
{|
 
{|
! Signature
 
| <static> stopCallRecording(''interactionId'')
 
 
|-
 
|-
! Description
+
!|Signature
| Stops the call recording.
+
|| unmuteSpeaker())
 
|-
 
|-
! Parameters
+
!|Description
|
+
||Unmute the speaker of the SIP Endpoint.
{|
 
! Name
 
! Type
 
! Description
 
 
|-
 
|-
| interactionId
+
!|Parameters
| string
+
||None.
| The unique identifier for the interaction.
 
|}
 
 
|}
 
|}
  
  
 
[[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!