(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=== | ||
− | |||
{| | {| | ||
− | |||
− | |||
|- | |- | ||
− | ! | + | !|Signature |
− | | | + | || answer('interactionId') |
|- | |- | ||
− | ! Parameters | + | !|Description |
− | | | + | ||Answers the incoming call. |
+ | |- | ||
+ | !|Parameters | ||
+ | || | ||
{| | {| | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | interaction | + | !|Name |
− | | string | + | !|Type |
− | | | + | !|Argument |
− | | The interaction identifier | + | !|Description |
+ | |- | ||
+ | ||interaction | ||
+ | ||string | ||
+ | || | ||
+ | |||
+ | ||The interaction identifier | ||
|} | |} | ||
|} | |} | ||
− | |||
===dial=== | ===dial=== | ||
+ | {|! Signature| dial(''destination'', ''userData'')! Description| Calls the destination in the same way Workspace Web Edition calls the destination from Team Communicator.! Parameters| | ||
{| | {| | ||
− | |||
− | |||
|- | |- | ||
− | ! | + | !|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. |
− | | | ||
− | |||
− | | | ||
− | | The attached user data key/value object that is updated with each interaction event. | ||
− | |||
|} | |} | ||
+ | |||
===hangUp=== | ===hangUp=== | ||
− | |||
{| | {| | ||
− | |||
− | |||
|- | |- | ||
− | ! | + | !|Signature |
− | | | + | || hangUp('interactionId') |
|- | |- | ||
− | ! Parameters | + | !|Description |
− | | | + | ||Releases the incoming call. |
+ | |- | ||
+ | !|Parameters | ||
+ | || | ||
{| | {| | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | interaction | + | !|Name |
− | | string | + | !|Type |
− | | | + | !|Argument |
− | | The interaction identifier | + | !|Description |
+ | |- | ||
+ | ||interaction | ||
+ | ||string | ||
+ | || | ||
+ | |||
+ | ||The interaction identifier | ||
|} | |} | ||
|} | |} | ||
− | + | ||
===hold=== | ===hold=== | ||
− | |||
{| | {| | ||
− | |||
− | |||
|- | |- | ||
− | ! | + | !|Signature |
− | | | + | || hold('interactionId') |
|- | |- | ||
− | ! Parameters | + | !|Description |
− | | | + | ||Holds the incoming call. |
+ | |- | ||
+ | !|Parameters | ||
+ | || | ||
{| | {| | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | interaction | + | !|Name |
− | | string | + | !|Type |
− | | | + | !|Argument |
− | | The interaction identifier | + | !|Description |
+ | |- | ||
+ | ||interaction | ||
+ | ||string | ||
+ | || | ||
+ | |||
+ | ||The interaction identifier | ||
|} | |} | ||
|} | |} | ||
− | + | ||
===resume=== | ===resume=== | ||
− | |||
{| | {| | ||
− | |||
− | |||
|- | |- | ||
− | ! Description | + | !|Signature |
− | | Resumes the held call | + | || resume('interactionId') |
+ | |- | ||
+ | !|Description | ||
+ | ||Resumes the held call. | ||
|- | |- | ||
− | ! Parameters | + | !|Parameters |
− | | | + | || |
{| | {| | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | interaction | + | !|Name |
− | | string | + | !|Type |
− | | | + | !|Argument |
− | | The interaction identifier | + | !|Description |
+ | |- | ||
+ | ||interaction | ||
+ | ||string | ||
+ | || | ||
+ | |||
+ | ||The interaction identifier | ||
|} | |} | ||
|} | |} | ||
− | + | ||
===pauseCallRecording=== | ===pauseCallRecording=== | ||
+ | {|! Signature| pauseCallRecording(''interactionId'')! Description| Pauses the call recording.! Parameters| | ||
{| | {| | ||
− | |||
− | |||
|- | |- | ||
− | ! | + | !|Name |
− | | | + | !|Type |
+ | !|Description | ||
|- | |- | ||
− | ! Parameters | + | ||interactionId |
− | | | + | ||string |
+ | ||The unique identifier for the interaction. | ||
+ | |} | ||
+ | |||
+ | |||
+ | ===resumeCallRecording=== | ||
+ | {|! Signature| resumeCallRecording(''interactionId'')! Description| Resumes the call recording.! Parameters| | ||
{| | {| | ||
− | |||
− | |||
− | |||
|- | |- | ||
− | | 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. | ||
|} | |} | ||
− | === | + | |
+ | ===stopCallRecording=== | ||
+ | {|! Signature| stopCallRecording(''interactionId'')! Description| Stops the call recording.! Parameters| | ||
{| | {| | ||
− | |||
− | |||
|- | |- | ||
− | ! | + | !|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=== | ||
+ | |||
{| | {| | ||
− | |||
− | |||
|- | |- | ||
− | ! Description | + | !|Signature |
− | | | + | || unmuteMicrophone()) |
+ | |- | ||
+ | !|Description | ||
+ | ||Unmute the microphone of the SIP Endpoint. | ||
|- | |- | ||
− | ! Parameters | + | !|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. |
− | | | ||
− | |||
|} | |} | ||
[[Category:V:HTCC:8.5.2DRAFT]] | [[Category:V:HTCC:8.5.2DRAFT]] |
Latest revision as of 15:48, February 23, 2018
Voice Namespace
Contents
Methods
The Voice namespace includes the following methods:
- answer
- dial
- hangUp
- hold
- resume
- pauseCallRecording
- resumeCallRecording
- startCallRecording
- stopCallRecording
- isMicrophoneMute
- muteMicrophone
- unmuteMicrophone
- isSpeakerMute
- muteSpeaker
- unmuteSpeaker
answer
Signature | answer('interactionId') | ||||||||
---|---|---|---|---|---|---|---|---|---|
Description | Answers the incoming call. | ||||||||
Parameters |
|
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 |
|
hold
Signature | hold('interactionId') | ||||||||
---|---|---|---|---|---|---|---|---|---|
Description | Holds the incoming call. | ||||||||
Parameters |
|
resume
Signature | resume('interactionId') | ||||||||
---|---|---|---|---|---|---|---|---|---|
Description | Resumes the held call. | ||||||||
Parameters |
|
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!