Configuration
Description
Callback and CallbackService share the configuration namespace '_genesys.widgets.callback'. Callback has UI options while CallbackService has connection options.
Example
window._genesys.widgets.callback = { apikey: 'n3eNkgXXXXXXXXOXXXXXXXXA', dataURL: 'http://fce-w0147.us.int.genesyslab.com:8010/genesys/1/service/callback/samples', userData: {}, countryCodes: true, immediateCallback: true, scheduledCallback: true, ewt: { display: true, queue: 'chat_ewt_test', threshold: 2000 } }, };
Options
Name | Type | Description | Default | Required |
---|---|---|---|---|
countryCodes | boolean | Enable/disable display of country codes for phone number. | true | n/a |
immediateCallback | boolean | Enable/disable the immediate (As Soon As Possible) callback option. | true | n/a |
scheduledCallback | boolean | Enable/disable the scheduling (Pick date & time) callback option. | true | n/a |
form | object | A JSON object containing a custom registration form definition. The JSON definition placed here becomes the default registration form layout for Callback. See Customizable Callback Registration Form | A basic registration form is defined internally by default | n/a |
ewt.display | boolean | To display Estimated Waiting Time details. | true | n/a |
ewt.queue | string | EWT service channel virtual queue. | none | always required if Estimated Waiting Time has to be displayed. |
ewt.threshold | number | If EWT is less than this threshold value (seconds), wait time will not be shown. | 30 | n/a |
ewt.refreshInterval | number | Wait time is updated for every time interval (seconds) defined here. | 10 | n/a |
Comments or questions about this documentation? Contact us for support!