(Modified comment string Category:V:PSAAS:Public with __NOINDEX__ Category:V:PSAAS:Public) |
(Modified comment string __NOINDEX__ Category:V:PSAAS:Public with Category:V:PSAAS:Public) |
||
Line 303: | Line 303: | ||
|} | |} | ||
− | |||
[[Category:V:PSAAS:Public]] | [[Category:V:PSAAS:Public]] |
Revision as of 12:23, October 2, 2020
Voice namespace
Important
This content may not be the latest Genesys Engage cloud content. To find the latest content, go to https://all.docs.genesys.com/PEC-Developer/Current/SCAPI.
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. |
Comments or questions about this documentation? Contact us for support!