(Modified comment string {{Template:PEC_Migrated| with __NOINDEX__ {{Template:PEC_Migrated|) |
(Update with the copy of version: draft) |
||
Line 1: | Line 1: | ||
=Voice namespace= | =Voice namespace= | ||
− | + | {{Template:PEC_Migrated|Target=[https://all.docs.genesys.com/PEC-Developer/Current/SCAPI/VoiceNamespace Voice namespace]}} | |
− | |||
− | Target=https://all.docs.genesys.com/PEC-Developer/Current/SCAPI}} | ||
Latest revision as of 20:26, December 8, 2020
Voice namespace
Important
This content may not be the latest Genesys Engage cloud content. To find the latest content, go to 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 December 8, 2020, at 20:26.
Comments or questions about this documentation? Contact us for support!