settings
Defines enabled or disabled features in the embedded agent interface.
Parameters
Name | Data type | Description | Notes |
embedWebRTCByDefault | Boolean | The integration embeds agent's WebRTC phone in the embedded agent interface (true) or pops the WebRTC Phone window (false). | Default: true. <br><br>The WebRTC Phone window establishes and maintains WebRTC phone connectivity. If your environment often refreshes, then set |
hideWebRTCPopUpOption | Boolean | The integration hides (true) or shows (false) the setting for the WebRTC Phone window. | Default: false. |
enableCallLogs | Boolean | The integration enables (true) or disables (false) interaction logging. | Default: true. |
hideCallLogSubject | Boolean | The integration hides (true) or shows (false) the interaction log subject field in the Interaction Log view in the embedded agent interface. | Default: false. |
hideCallLogContact | Boolean | The integration hides (true) or shows (false) the interaction log contact menu in the Interaction Log view in the embedded agent interface. | Default: false. |
hideCallLogRelation | Boolean | The integration hides (true) or shows (false) the interaction log relation menu in the Interaction Log view in the embedded agent interface. | Default: false. |
<a name="enableTransferContext">enableTransferContext</a> | Boolean | The integration enables (true) or disables (false) the sending of additional information when agents transfer interactions. | Default: false. <br><br>For more information, see addTransferContext. |
<a name="dedicatedLoginWindow">dedicatedLoginWindow</a> | Boolean | The integration opens (true) or does not open (false) a separate login window. | Default: false. <br><br>If set to true, add |
<a name="embeddedInteractionWindow">embeddedInteractionWindow</a> | Boolean | The integration embeds the Interactions window (true) or opens the Interactions window as a separate pop-up window (false). | Default: false. <br><br>If set to true, add a second iframe to your web app for the Interactions window. For more information, see step 5 under Development on the private deployment or public deployment pages. |
enableConfigurableCallerID | Boolean | Allows agents to update caller ID names and numbers in the client for outbound calls. | Default: false. <br><br>Telco support for |
<a name="enableServerSideLogging">enableServerSideLogging</a> | Boolean | The integration saves logs server-side (true) or does not save logs server-side (false). | Default: false.<br><br>If set to true, Customer Care can access these logs directly, eliminating the need for you to send the logs.<br><br>Warning: |
enableCallHistory | Boolean | Allows agents to view their call history in the client. | Default: false. |
<a name="defaultOutboundSMSCountryCode">defaultOutboundSMSCountryCode</a> | String | The country code that the integration prefixes to numbers for outbound SMS interactions. | Default: +1. <br><br>Use + followed by the appropriate country code. See also |
<a name="searchTargets">searchTargets</a> | Array | The contact types that the integration returns when users search for names or phone numbers before making calls or transferring interactions. | Values: people (from a Genesys Cloud organization), queues (from a Genesys Cloud organization), frameworkContacts (from an external CRM), externalContacts (from a Genesys Cloud organization). <br><br>To use frameworkContacts, specify what contacts the integration searches for and returns from the external CRM. For more information, see contactSearch. <br><br> If |
<a name="callControls">callControls</a> | Array | The call control elements to appear in the client and the order in which they appear. | Values: pickup, hold, mute, transfer, disconnect, record, securePause, dtmf, scheduleCallback, flag, requestAfterCallWork. <br><br>If you add items to the array but do not include "pickup" or "disconnect", the integration automatically adds "pickup" and "disconnect" to the end of the call controls.<br><br>If you use an empty array, the integration displays the default call controls. For more information, see Call controls (Genesys Cloud Resource Center). |
<a name="settingsTheme">theme</a> | Object | See theme object. | |
sso | Object | See sso object. | |
display | Object | See display object. |
Example
The following example returns a settings
object that affects the behavior of the integration.
config: {
...
settings: {
embedWebRTCByDefault: true,
hideWebRTCPopUpOption: false,
enableCallLogs: true,
hideCallLogSubject: false,
hideCallLogContact: false,
hideCallLogRelation: false,
enableTransferContext: true,
dedicatedLoginWindow: false,
embeddedInteractionWindow: true,
enableConfigurableCallerID: false,
enableServerSideLogging: false,
enableCallHistory: false,
defaultOutboundSMSCountryCode: "+1",
searchTargets: ["people", "queues", "frameworkContacts", "externalContacts"],
callControls: ["pickup", "transfer", "mute", "disconnect"],
theme: {
primary: "#62367A",
text: "#DAD5DD",
notification: {
success: {
primary: "#CCE5FF",
text: "#004085"
},
error: {
primary: "#f8D7DA",
text: "#721C24"
}
}
},
sso: {
provider: "",
orgName: ""
},
display: {
interactionDetails: {
call: [
"framework.DisplayAddress",
"call.Ani",
"call.ConversationId"
]
}
}
},
...
}