This page was last edited on December 8, 2020, at 20:26.
Comments or questions about this documentation? Contact us for support!
(Automated save: adding PEC_Migrated template.) |
(Update with the copy of version: draft) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
=Voice namespace= | =Voice namespace= | ||
− | {{Template:PEC_Migrated}} | + | {{Template:PEC_Migrated|Target=[https://all.docs.genesys.com/PEC-Developer/Current/SCAPI/VoiceNamespace Voice namespace]}} |
The Voice namespace includes the following methods:
Signature | answer('interactionId') | ||||||||
---|---|---|---|---|---|---|---|---|---|
Description | Answers the incoming call. | ||||||||
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. |
Signature | hangUp('interactionId') | ||||||||
---|---|---|---|---|---|---|---|---|---|
Description | Releases the incoming call. | ||||||||
Parameters |
|
Signature | hold('interactionId') | ||||||||
---|---|---|---|---|---|---|---|---|---|
Description | Holds the incoming call. | ||||||||
Parameters |
|
Signature | resume('interactionId') | ||||||||
---|---|---|---|---|---|---|---|---|---|
Description | Resumes the held call. | ||||||||
Parameters |
|
Name | Type | Description |
---|---|---|
interactionId | string | The unique identifier for the interaction. |
Name | Type | Description |
---|---|---|
interactionId | string | The unique identifier for the interaction. |
Name | Type | Description |
---|---|---|
interactionId | string | The unique identifier for the interaction. |
Name | Type | Description |
---|---|---|
interactionId | string | The unique identifier for the interaction. |
Signature | isMicrophoneMute() |
---|---|
Description | Get the mute state of the microphone of the SIP Endpoint. |
Parameters | None. |
Signature | muteMicrophone() |
---|---|
Description | Mute the microphone of the SIP Endpoint. |
Parameters | None. |
Signature | unmuteMicrophone()) |
---|---|
Description | Unmute the microphone of the SIP Endpoint. |
Parameters | None. |
Signature | isSpeakerMute() |
---|---|
Description | Get the mute state of the speaker of the SIP Endpoint. |
Parameters | None. |
Signature | muteSpeaker() |
---|---|
Description | Mute the speaker of the SIP Endpoint. |
Parameters | None. |
Signature | unmuteSpeaker()) |
---|---|
Description | Unmute the speaker of the SIP Endpoint. |
Parameters | None. |